numam-dpdk/app/test-pmd
Yuan Wang 52e2e7edcf app/testpmd: add protocol-based buffer split
Add command line parameter:
--rxhdrs=eth[,ipv4]

Set the protocol_hdr of segments to scatter packets on receiving if
split feature is engaged. And the queues with BUFFER_SPLIT flag.

Add interactive mode command:
testpmd>set rxhdrs eth,ipv4,ipv4-udp
(protocol sequence should be valid)

The protocol split feature is off by default. To enable protocol split,
you need:
1. Start testpmd with multiple mempools. E.g. --mbuf-size=2048,2048
2. Configure Rx queue with rx_offload buffer split on.
3. Set the protocol type of buffer split. E.g. set rxhdrs eth,eth-ipv4
        (default protocols of testpmd : eth|ipv4|ipv6|ipv4-tcp|ipv6-tcp|
         ipv4-udp|ipv6-udp|ipv4-sctp|ipv6-sctp|grenat|inner-eth|
         inner-ipv4|inner-ipv6|inner-ipv4-tcp|inner-ipv6-tcp|
         inner-ipv4-udp|inner-ipv6-udp|inner-ipv4-sctp|inner-ipv6-sctp)
Above protocols can be configured in testpmd. But the configuration can
only be applied when it is supported by specific pmd.

Signed-off-by: Yuan Wang <yuanx.wang@intel.com>
Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Signed-off-by: Wenxuan Wu <wenxuanx.wu@intel.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2022-10-09 16:41:31 +02:00
..
5tswap.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
bpf_cmd.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
bpf_cmd.h
cmd_flex_item.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
cmdline_flow.c ethdev: add send to kernel action 2022-10-04 09:47:31 +02:00
cmdline_mtr.c ethdev: add protocol parameter to color table update 2022-10-03 13:43:53 +02:00
cmdline_mtr.h app/testpmd: support different input color method 2022-06-24 14:42:16 +02:00
cmdline_tm.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
cmdline_tm.h
cmdline.c app/testpmd: add protocol-based buffer split 2022-10-09 16:41:31 +02:00
config.c app/testpmd: add protocol-based buffer split 2022-10-09 16:41:31 +02:00
csumonly.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
flowgen.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
icmpecho.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
ieee1588fwd.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
iofwd.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macfwd.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macswap_common.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
macswap_neon.h
macswap_sse.h
macswap.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macswap.h net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
meson.build net/ixgbe: move bypass init in a testpmd command 2022-08-25 13:37:56 +02:00
noisy_vnf.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
parameters.c app/testpmd: add protocol-based buffer split 2022-10-09 16:41:31 +02:00
rxonly.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
shared_rxq_fwd.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
testpmd.c app/testpmd: add protocol-based buffer split 2022-10-09 16:41:31 +02:00
testpmd.h app/testpmd: add protocol-based buffer split 2022-10-09 16:41:31 +02:00
txonly.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
util.c app/testpmd: fix flow transfer proxy port handling 2021-11-17 11:26:27 +01:00