numam-dpdk/drivers
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
..
baseband baseband/null: add in meson build 2018-09-18 22:53:35 +02:00
bus drivers/bus: fill driver reference after NXP probing 2018-09-27 14:43:47 +02:00
common compress/qat: use compression specific driver name 2018-08-30 05:10:50 +02:00
compress compress/qat: use compression specific driver name 2018-08-30 05:10:50 +02:00
crypto drivers/crypto: remove double assignment of driver 2018-09-28 18:02:58 +02:00
event event/opdl: add in meson build 2018-09-18 22:53:35 +02:00
mempool bus/fslmc: fix undefined reference of memsegs 2018-08-27 14:14:27 +02:00
net net/qede: fix Rx buffer size calculation 2018-09-28 01:41:01 +02:00
raw raw/ifpga: use -Wno-error=format-security for meson 2018-09-17 12:17:24 +02:00
Makefile crypto/qat: move common qat files to common dir 2018-07-11 00:55:30 +02:00
meson.build baseband/null: add in meson build 2018-09-18 22:53:35 +02:00