By default northd gives a router two conntrack zones and commits each
connection in one while looking it up in both. That second lookup is the
part hardware offload cannot serve. The use_common_zone option folds
SNAT and DNAT into a single zone, which is exactly what it exists for:
it is the hardware offload escape hatch, and it defaults to off because
a common zone breaks distributed gateway port plus load balancer plus
SNAT together, so the default can not simply flip.

gateway_mtu is the same story. It programs check_pkt_larger, which is
not offloadable, and gateway_mtu_bypass exists for that class of
traffic.

However I will look into creating a patch to auto enable
"use_common_zone" and "gateway_mtu_bypass" when offloading is in use.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175605

Title:
   Routed (SNAT/FIP) traffic between two hardware-offloaded ports is not
  offloaded on BlueField-3: router NAT is split over two conntrack zones

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ovn/+bug/2175605/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to