Go to file
Shahed Shaikh 318d7da312 net/qede: fix Rx buffer size calculation
- HW does not include CRC in received frame when passed to host,
   so no need to consider CRC length while calculating Rx buffer size.
 - In scattered Rx mode, driver may allocate Rx buffer larger than
   the size of mbuf because it tries to adjust the buffer size to cache
   line size by ceiling it. Fix this by flooring the size instead of
   ceiling.
 - Consider the rule imposed by HW regarding the minimum size of Rx buffer
   in scattered Rx mode -
   (MTU + Maximum L2 Header Size + 2) / ETH_RX_MAX_BUFF_PER_PKT

Fixes: f6033f2497 ("net/qede: fix minimum buffer size and scatter Rx check")
CC: stable@dpdk.org

Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
2018-09-28 01:41:01 +02:00
app app/testpmd: optimize mbuf pool allocation 2018-09-19 15:21:36 +02:00
buildtools build: create relative symlinks for PMDs in libdir 2018-09-17 13:36:52 +02:00
config config: remove unused parameter 2018-09-19 15:55:26 +02:00
devtools devtools: use shared libs to save space in build test 2018-09-18 15:11:46 +02:00
doc net/i40e: add option to use latest vector path 2018-09-28 01:41:01 +02:00
drivers net/qede: fix Rx buffer size calculation 2018-09-28 01:41:01 +02:00
examples examples/ipsec-secgw: support 3DES-CBC 2018-08-30 05:10:50 +02:00
kernel igb_uio: install module when building with meson 2018-09-17 12:18:30 +02:00
lib eal/bsd: fix build 2018-09-20 14:51:52 +02:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: use templated doxygen config 2018-09-18 15:49:48 +02:00
pkg version: 18.08.0 2018-08-09 23:11:26 +02:00
test ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
usertools usertools: add octeontx zip device for binding 2018-07-25 13:36:26 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS common/mvep: add common code for Marvell drivers 2018-08-28 15:27:39 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt net/mlx5: support meson build 2018-09-28 01:41:01 +02:00
meson.build build: generate API documentation with meson 2018-09-18 15:50:54 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +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