MAC binding aging is currently broken in terms that the entries
are never refreshed and always expire even with the active traffic.
And there is another situation where ovn-controller skips an update
and then misses the threshold.  This also affects FDB entries.

These issues result in high latency spikes and packet drops on CoPP.

Tests are also half-broken and unable to catch these issues.
Fixing the code and the tests.

Ilya Maximets (5):
  tests: Fix incorrect invocations of send_garp.
  tests: Fix use of bash arrays in MAC binding tests.
  mac-cache: Fix MAC binding entry lookup for timestamp refresh.
  mac-cache: Fix expiration of active MAC binding due to skipped update.
  mac-cache: Fix expiration of active FDB entry due to skipped update.

 controller/mac-cache.c      | 191 +++++++++++++++++++++++-------
 controller/mac-cache.h      |  10 +-
 controller/ovn-controller.c |   2 +-
 controller/pinctrl.c        |   9 +-
 tests/ovn-macros.at         |   3 +-
 tests/ovn.at                | 227 +++++++++++++++++++++++++++++++-----
 6 files changed, 363 insertions(+), 79 deletions(-)

-- 
2.47.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to