mirror of
https://github.com/openvswitch/ovs
synced 2025-10-13 14:07:02 +00:00
dpif-netdev: Set MAX_RECIRC_DEPTH to 6.
In an ovn gateway node with DPDK, the RECIRC_DEPTH may be greater than 5. Scenes: VM ping self floating IP, or VM ping Floating IP of VMs with the same network. It need process UNDNAT SNAT in LRouter egress and UNSNAT DNAT in LRouter ingress, and output to geneve tunnel also need recirc. This has an WARN: dpif_netdev(pmd36)|WARN|Packet dropped. Max recirculation depth exceeded. Signed-off-by: Guoshuai Li <ligs@dtdream.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -82,7 +82,7 @@ VLOG_DEFINE_THIS_MODULE(dpif_netdev);
|
||||
|
||||
#define FLOW_DUMP_MAX_BATCH 50
|
||||
/* Use per thread recirc_depth to prevent recirculation loop. */
|
||||
#define MAX_RECIRC_DEPTH 5
|
||||
#define MAX_RECIRC_DEPTH 6
|
||||
DEFINE_STATIC_PER_THREAD_DATA(uint32_t, recirc_depth, 0)
|
||||
|
||||
/* Configuration parameters. */
|
||||
|
Reference in New Issue
Block a user