c09eb93529
The maximum packet length (max_pkt_len) from the firmware does not
include CRC, so do not subtract 4 when deriving the max MTU. This
change effectively increases the max MTU by 4B. Apps often assume max
MTU = max_rx_pkt_len - 14 (ethernet header), and attempt to set the
MTU to that value (i.e. set MTU to max HW value). This change
incidentally allows such apps to change MTU to max value successfully.
Fixes:
|
||
---|---|---|
.. | ||
base | ||
enic_clsf.c | ||
enic_compat.h | ||
enic_ethdev.c | ||
enic_flow.c | ||
enic_main.c | ||
enic_res.c | ||
enic_res.h | ||
enic_rxtx_common.h | ||
enic_rxtx_vec_avx2.c | ||
enic_rxtx.c | ||
enic.h | ||
Makefile | ||
meson.build | ||
rte_pmd_enic_version.map |