# Intro Other failed testcases on mixed tcp/udp load https://doc.dpdk.org/dts/test_plans/rss_to_rte_flow_test_plan.html # Testcase B FAILED ./t-rex-64 -f /home/dpdk/pcaps/trex_profiles/mixed_udp_tcp.yaml -c 8 -m 24 sudo ./dpdk-testpmd -n 4 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1 -a 0000:4b:00.1,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa --rss-udp -i -a drop detected # Testcase D failed Create ca 100 gbps traffic (mixed UDP and TCP) via: ./t-rex-64 -f mixed.yaml sudo ./dpdk-testpmd -n 4 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1 -a 0000:4b:00.1,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa --rss-udp -i -a flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end # Testcase E - drop of ca 15 Gbps Create ca 100 gbps traffic (mixed UDP and TCP) via: ./t-rex-64 -f /home/dpdk/pcaps/trex_profiles/mixed_udp_tcp.yaml -c 8 -m 24 sudo ./dpdk-testpmd -n 4 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0 -a 0000:4b:00.1 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=4 --numa -i -a flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end # Testcase F ??? Create ca 100 gbps traffic (mixed UDP and TCP) via: ./t-rex-64 -f /home/dpdk/pcaps/trex_profiles/mixed_udp_tcp.yaml -c 8 -m 24 sudo ./dpdk-testpmd -n 4 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1 -a 0000:4b:00.1,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa -i -a flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 1 3 5 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 1 3 5 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 1 3 5 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 1 3 5 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end # TESTCASE G - FAILED, drops 80 Gbps sudo ./dpdk-testpmd -n 4 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1,dv_flow_en=0 -a 0000:4b:00.1,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1,dv_flow_en=0 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa -i -a --disable-rss flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end # TESTCASE H - ok - tcp only sudo ./dpdk-testpmd -n 8 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1,dv_flow_en=0,rxq_cqe_comp_en=4 -a 0000:4b:00.1,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mpw=128,rxq_pkt_pad_en=1,dv_flow_en=0,rxq_cqe_comp_en=4 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa -i -a --disable-rss flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end ### debug flow testpmd> flow list 0 ID Group Prio Attr Rule 0 0 0 i-- ETH IPV4 TCP => RSS 1 0 0 i-- ETH IPV4 UDP => RSS testpmd> flow list 1 ID Group Prio Attr Rule 0 0 0 i-- ETH IPV4 TCP => RSS 1 0 0 i-- ETH IPV4 UDP => RSS # TESTCASE I - 20gbps drop sudo ./dpdk-testpmd -n 8 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0 -a 0000:4b:00.1 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa -i -a --disable-rss ./t-rex-64 -f /home/dpdk/pcaps/trex_profiles/mixed_udp_tcp_tcponly.yaml -c 8 -m 38 flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end flow create 1 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp end queues 0 1 2 3 4 5 6 7 end key 6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A6D5A / end ## all 3 below return only 26.21 gbps on 70gbps load sudo ./dpdk-testpmd -n 8 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0,rxq_cqe_comp_en=4,txq_inline_mpw=128 -a 0000:4b:00.1,rxq_cqe_comp_en=4,txq_inline_mpw=128 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa -i --disable-rss sudo ./dpdk-testpmd -n 8 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0 -a 0000:4b:00.1 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa -i --disable-rss sudo ./dpdk-testpmd -n 8 -l 4,6,8,10,12,14,16,18,20 -a 0000:4b:00.0,rxq_cqe_comp_en=4 -a 0000:4b:00.1,rxq_cqe_comp_en=4 -- --forward-mode=mac --rxq=8 --txq=8 --nb-cores=8 --numa -i --disable-rss