Thanks, that matches what I see. I tested your suggestion on our
deployment (Caracal, OVN 24.03.9, BlueField-3 with OVS-DOCA 3.6.0038 /
DOCA 3.6.0084, distributed floating IPs, router gateway on a DPU
chassis).

With NB_Global options:use_common_zone=true and options:gateway_mtu_bypass=tcp 
on the router gateway port (gateway_mtu=8942 kept):
- Routed TCP between two remote-managed ports: SNAT 198.4 Gbit/s, FIP/DNAT 
197.8 Gbit/s (defaults: 109.7 / 95.8). All busy datapath flows are offloaded 
(dp:doca), no check_pkt_len on them, and the DPU's software threads are idle. 
Same as the same-network baseline.
- Non-TCP is still MTU-checked: a DF ping of 8950 bytes from the provider 
network returns "frag needed" with mtu=8942.
- Octavia OVN load balancer (TCP listener, 2 members, floating IP on the VIP): 
all 5 client types worked with both the default and use_common_zone=true. Those 
were a client on the same network, an external client to the VIP's floating IP, 
a member to its own VIP (hairpin), and a client with no floating IP leaving 
through the router SNAT, calling the VIP's floating IP and the VIP directly.

So I couldn't reproduce the distributed gateway port + load balancer +
SNAT breakage. Which exact traffic pattern breaks (health monitors,
lb_force_snat_ip, the LB attached to the router, IPv6...)?


I am also open to test a patch which auto enable use_common_zone and 
gateway_mtu_bypass when offloading is in use.

Thanks

-- 
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