[PATCH] net/mlx5: increase number of supported DV sub-flows

Raslan Darawsheh rasland at nvidia.com
Mon Oct 28 14:15:26 CET 2024


Hi,

From: Gregory Etelson <getelson at nvidia.com>
Sent: Sunday, October 27, 2024 3:25 PM
To: dev at dpdk.org
Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; Dariusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad
Subject: [PATCH] net/mlx5: increase number of supported DV sub-flows

Testpmd example that could not work with existing number of DV
sub-flows:

dpdk-testpmd  -a PCI,dv_xmeta_en=1,l3_vxlan_en=1,dv_flow_en=1 -- \
              -i  --nb-cores=4  --rxq=5 --txq=5

set sample_actions 1 mark id 43704 / \
 rss queues 3 0 1 1 end types ipv4 ipv4-other udp tcp ipv4-udp end / \
 end

flow create 0 priority 15 group 271 ingress \
 pattern mark id spec 16777184 id mask 0xffffff / end \
 actions sample ratio 1 index 1 / queue index 0 / end

Increase number of supported DV sub-flows to 64

Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Patcha applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list