app/testpmd: remove duplicated Rx offload commands
authorFlavia Musatescu <flavia.musatescu@intel.com>
Tue, 27 Aug 2019 16:43:15 +0000 (17:43 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 28 Aug 2019 09:28:36 +0000 (11:28 +0200)
commite5db17a1e54e419419751f83bb804ef34eb15bff
tree6a252d90157528e20ebb5645b70a2828648159cb
parent7c3bcc7b6dc14623bd17960fa3236e6fa9e2711b
app/testpmd: remove duplicated Rx offload commands

The testpmd application provides two sets of commands for RX offload
flags configuration. The purpose of this patch is to eliminate this
duplication by removing the old set of commands:
“port config all crc-strip|scatter|rx-cksum|rx-timestamp|hw-vlan|
hw-vlan-filter|hw-vlan-strip|hw-vlan-extend on|off”

The other commands set that can be used instead in order to enable
or disable the same RX offloading flags on all RX queues of a port is:
"port config <port_id> rx_offload crc_strip|scatter|ipv4_cksum|
udp_cksum|tcp_cksum|timestamp|vlan_strip|vlan_filter|vlan_extend on|off"

This patch also fixes the "drop-en" command, which enables packets
dropping on all RX queues of all ports when no receive buffers available
“port config all drop-en on|off”

Fixes: 384161e00627 ("app/testpmd: adjust on the fly VLAN configuration")
Cc: stable@dpdk.org
Signed-off-by: Flavia Musatescu <flavia.musatescu@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c
doc/guides/rel_notes/release_19_11.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst