Start testpmd with 2 ports in interactive mode
./build/app/dpdk-testpmd --legacy-mem --socket-mem 1024,1024 -- \
-i --nb-cores=2 --total-num-mbufs=4096 \
--nb-ports=2 --rxq=4 --txq=4 \
--auto-start --forward-mode=rxonly
Make sure to set the RSS key to be same for both ports else, it would pick different queue on each port for same input
port config 0 rss-hash-key ipv4 D82A6C5ADD3B9D1E14CE2F3786B269F044317EA207A50A9949C6A4FE0C4F5902D444E24ADBE1058230717D7A8D4298D32E301EA3
port config 1 rss-hash-key ipv4 D82A6C5ADD3B9D1E14CE2F3786B269F044317EA207A50A9949C6A4FE0C4F5902D444E24ADBE1058230717D7A8D4298D32E301EA3
Port 0 gets Uplink N3 traffic which has UE IP as the inner src
flow create 0 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / end actions rss types ipv4 l3-src-only end key_len 0 queues end / end
Port 1 gets Downlink N9 traffic which has UE IP as the inner dst
flow create 1 ingress pattern eth / ipv4 / udp / gtpu / ipv4 / end actions rss types ipv4 l3-dst-only end key_len 0 queues end / end
Port 1 also gets Downlink N6 has UE IP as dst
flow create 1 ingress pattern eth / ipv4 / end actions rss types ipv4 l3-dst-only end key_len 0 queues end / end
Clear and check per queue stats
clear fwd stats all
show fwd stats all