318d7da312
- 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:
|
||
---|---|---|
.. | ||
base | ||
Makefile | ||
meson.build | ||
qede_ethdev.c | ||
qede_ethdev.h | ||
qede_filter.c | ||
qede_if.h | ||
qede_logs.h | ||
qede_main.c | ||
qede_rxtx.c | ||
qede_rxtx.h | ||
rte_pmd_qede_version.map |