[dpdk-dev] [PATCH 0/2] app/testpmd: add new commands to test new Tx/Rx offload API

Wei Dai wei.dai at intel.com
Mon Mar 12 09:15:41 CET 2018


Existed testpmd commands can't support per queue offload configuration.
And there are different commands to enable or disable different offloading.
This patch set add following commands to support new Tx/Rx offloading API test.

To get Rx offload capability of a port, please run:
testpmd > rx_offload get capability <port_id>

To get current Rx offload per queue and per port configuration of a port, run:
tesstpmd > rx_offload get configuration <port_id>

To enable or disable a Rx per port offloading, please run:
testpmd > rx_offload enable|disable per_port vlan_strip|ipv4_cksum|... <port_id>

To enable or disable a Tx per port offloading, please run:
testpmd > rx_offload enable|disable per_queue vlan_strip|ipv4_cksum|... <port_id> <queue_id>

Same commands like "tx_offload ..." are also added to support new Tx offload API test.

Wei Dai (2):
  app/testpmd: add commands to test new Rx offload API
  app/testpmd: add commands to test new Tx offload API

 app/test-pmd/cmdline.c | 930 +++++++++++++++++++++++++++++++++++++++++++++++++
 app/test-pmd/testpmd.c |  28 +-
 app/test-pmd/testpmd.h |   2 +
 3 files changed, 956 insertions(+), 4 deletions(-)

-- 
2.7.5



More information about the dev mailing list