Go to file
Huisong Li b8a67b10ee net/hns3: validate requested maximum Rx frame length
When jumbo frame is enabled, the MTU size needs to be modified
based on 'max_rx_pkt_len'. Driver needs to check the validity
of 'max_rx_pkt_len'. And it should be in the range of
HNS3_DEFAULT_FRAME_LEN and HNS3_MAX_FRAME_LEN. Otherwise, it may
cause that the MTU size is inconsistent with jumbo frame offload.

Fixes: 19a3ca4c99 ("net/hns3: add start/stop and configure operations")
Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
2021-02-04 18:19:37 +01:00
.ci ci: enable header includes check 2021-01-29 20:59:37 +01:00
.github/workflows ci: ignore APT update failure in GitHub Actions 2021-02-02 09:24:49 +01:00
app app/testpmd: add PF and VF targets to sample flow action 2021-02-03 00:48:11 +01:00
buildtools build: add header includes check 2021-01-29 20:59:37 +01:00
config config/arm: replace native machine args 2021-02-02 10:26:14 +01:00
devtools devtools: fix examples build test 2021-02-02 23:58:22 +01:00
doc doc: fix supported feature table in mlx5 guide 2021-02-04 18:19:37 +01:00
drivers net/hns3: validate requested maximum Rx frame length 2021-02-04 18:19:37 +01:00
examples examples/vhost: add error propagation in ioat ops 2021-02-04 18:19:36 +01:00
kernel kni: fix build on RHEL 8.3 2020-11-27 01:39:54 +01:00
lib vhost: fix vid allocation race 2021-02-04 18:19:36 +01:00
license license: add licenses for exception cases 2020-12-11 12:22:19 +01:00
usertools usertools: remove dpdk-setup.sh 2020-11-27 17:25:24 +01:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml ci: add aarch64 clang cross-compilation Travis builds 2021-01-26 12:43:04 +01:00
ABI_VERSION version: 21.02-rc0 2020-11-30 10:55:22 +01:00
MAINTAINERS maintainers: update for nfp 2021-02-03 10:53:35 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt build: add header includes check 2021-01-29 20:59:37 +01:00
meson.build build: add header includes check 2021-01-29 20:59:37 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 21.02-rc2 2021-01-30 01:35:54 +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