From: Srikar Tati <[email protected]> OVN ECMP groups for learned routes and for multi-homed EVPN FDB entries always use selection_method=dp_hash. dp_hash needs a recirculation, which the tc datapath cannot offload, so on NICs with hardware offload this traffic stays in software. Static routes already avoid this with the "selection_fields" column, which switches the group to selection_method=hash. This series brings the same choice to learned routes and EVPN FDB groups.
v2: - Addressed Numan's review comments (details in each patch). - Added Numan's Acked-by to all three patches. - Rebased on main. Srikar Tati (3): lib: Add a helper for ECMP selection fields. northd: Add ECMP selection fields for learned routes. controller: Add ECMP selection fields for EVPN FDB groups. NEWS | 8 ++ controller/evpn-fdb.c | 34 +++++++++ controller/evpn-fdb.h | 3 + controller/ovn-controller.c | 46 +++++++++++ controller/physical.c | 7 +- lib/ovn-util.c | 81 ++++++++++++++++++++ lib/ovn-util.h | 7 ++ northd/en-datapath-logical-switch.c | 19 +++++ northd/en-learned-route-sync.c | 23 +++++- northd/northd.c | 17 +---- ovn-nb.xml | 47 ++++++++++++ tests/ovn-inc-proc-graph-dump.at | 2 + tests/ovn-northd.at | 113 ++++++++++++++++++++++++++++ tests/system-ovn.at | 29 +++++++ 14 files changed, 417 insertions(+), 19 deletions(-) -- 2.54.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
