$ sudo /tmp/dpdk-testpmd -c 0xffff -- -i --enable-hw-vlan --enable-hw-vlan-strip --enable-hw-vlan-extend --enable-hw-qinq-strip --rxq=8 --txq=8 testpmd> set verbose 3 testpmd> show port info 0 ********************* Infos for port 0 ********************* MAC address: 3C:FD:FE:CC:AE:68 Device name: 0000:d8:00.0 Driver name: net_i40e Firmware-version: 8.15 0x80009621 1.2829.0 Connect to socket: 1 memory allocation on the socket: 1 Link status: up Link speed: 40 Gbps Link duplex: full-duplex Autoneg status: On MTU: 1500 Promiscuous mode: enabled Allmulticast mode: disabled Maximum number of MAC addresses: 64 Maximum number of MAC addresses of hash filtering: 0 VLAN offload: strip on, filter on, extend on, qinq strip on Hash key size in bytes: 52 Redirection table size: 512 Supported RSS offload flow types: ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2-payload Minimum size of RX buffer: 1024 Maximum configurable length of RX packet: 9728 Maximum configurable size of LRO aggregated packet: 0 Maximum number of VMDq pools: 64 Current number of RX queues: 8 Max possible RX queues: 320 Max possible number of RXDs per queue: 4096 Min possible number of RXDs per queue: 64 RXDs number alignment: 32 Current number of TX queues: 8 Max possible TX queues: 320 Max possible number of TXDs per queue: 4096 Min possible number of TXDs per queue: 64 TXDs number alignment: 32 Max segment number per packet: 255 Max segment number per MTU/TSO: 8 Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP ) Device error handling mode: none testpmd> show port 0 rx_offload configuration Rx Offloading Configuration of port 0 : Port : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 0] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 1] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 2] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 3] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 4] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 5] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 6] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 7] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH testpmd> start # switch configured with ports as a trunk # scapy.all.Ether(dst="FF:FF:FF:FF:FF:FF") / Dot1Q(vlan=400) / Dot1Q(vlan=500) / IP(src="192.168.127.3", dst="1.1.1.1") / TCP(sport=12721, dport=8443) port 0/queue 0: received 1 packets src=E4:43:4B:52:A9:C0 - dst=FF:FF:FF:FF:FF:FF - pool=mb_pool_1 - type=0x0800 - length=60 - nb_segs=1 - QinQ VLAN tci=0x1f4, VLAN tci outer=0x190 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0 # with flow rules from above added # # flow create 0 ingress pattern end actions rss types end queues 0 1 2 3 4 5 6 7 end / end # flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues end func symmetric_toeplitz / end # testpmd> show port 0 rx_offload configuration Rx Offloading Configuration of port 0 : Port : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 0] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 1] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 2] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 3] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 4] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 5] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 6] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH Queue[ 7] : VLAN_STRIP QINQ_STRIP VLAN_FILTER VLAN_EXTEND RSS_HASH testpmd> flow list 0 ID Group Prio Attr Rule 0 0 0 i-- => RSS 1 0 0 i-- ETH IPV4 TCP => RSS # switch configured with ports as a trunk # scapy.all.Ether(dst="FF:FF:FF:FF:FF:FF") / Dot1Q(vlan=400) / Dot1Q(vlan=500) / IP(src="192.168.127.3", dst="1.1.1.1") / TCP(sport=12721, dport=8443) testpmd> port 0/queue 5: received 1 packets src=E4:43:4B:52:A9:C0 - dst=FF:FF:FF:FF:FF:FF - pool=mb_pool_1 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0x6676590d - RSS queue=0x5 - QinQ VLAN tci=0x1f4, VLAN tci outer=0x190 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x5 ol_flags: RTE_MBUF_F_RX_VLAN RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_VLAN_STRIPPED RTE_MBUF_F_RX_QINQ_STRIPPED RTE_MBUF_F_RX_QINQ RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN