Go to file
Wei Hu (Xavier) 150c9ac2df app/testpmd: update Rx offload after setting MTU
Currently, Rx offload capabilities and max_rx_pkt_len in the struct
variable named rte_port are not updated after setting mtu successfully
in port_mtu_set function by 'port config mtu <port_id> <value>' command.
This may lead to reconfig mtu to the initial value in the driver when
recalling rte_eth_dev_configure API interface.

This patch updates Rx offload capabilities and max_rx_pkt_len after
setting mtu successfully when configuring mtu.

Fixes: ae03d0d18a ("app/testpmd: command to configure MTU")
Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-02-14 12:42:13 +01:00
.ci devtools: add ABI checks 2020-02-05 15:14:46 +01:00
app app/testpmd: update Rx offload after setting MTU 2020-02-14 12:42:13 +01:00
buildtools net/mlx: workaround static linkage with meson 2020-02-14 12:42:13 +01:00
config config: deduplicate options 2020-02-12 11:32:15 +01:00
devtools fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00
doc doc: fix release notes for virtio 2020-02-14 12:42:13 +01:00
drivers net/vhost: remove an unused member 2020-02-14 12:42:13 +01:00
examples examples/vhost_blk: fix check of device path 2020-02-14 12:42:13 +01:00
kernel kni: fix build with Linux 5.6 2020-02-13 18:27:41 +01:00
lib vhost: protect log address translation in IOTLB update 2020-02-14 12:42:13 +01:00
license license: add exceptions for Windows 2020-02-12 22:50:29 +01:00
mk mk: ignore missing field initializers warning 2020-02-06 09:09:37 +01:00
usertools usertools: fix typo in SPDX tag of telemetry script 2019-11-28 03:12:55 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add vDPA features table 2020-01-14 00:09:33 +01:00
.travis.yml devtools: add ABI checks 2020-02-05 15:14:46 +01:00
ABI_VERSION build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt net/mlx: add static ibverbs linkage with meson 2020-02-14 12:42:13 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.02-rc2 2020-02-06 19:53:24 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org