numam-dpdk/drivers/net/igc
Alvin Zhang be1fb9fe3c net/igc: fix Rx packet size
When DEV_RX_OFFLOAD_KEEP_CRC is enabled, the PMD will minus 4 bytes
of CRC from the size of a packet, but the NIC will strip the CRC
because the CRC strip bit in DVMOLR register is not cleared. This
will cause the size of a packet to be 4 bytes less.

This patch updates the CRC strip bit according to whether
DEV_RX_OFFLOAD_KEEP_CRC is enabled.

Fixes: a5aeb2b9e2 ("net/igc: support Rx and Tx")
Cc: stable@dpdk.org

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
2021-04-20 04:54:28 +02:00
..
base drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
igc_ethdev.c net/igc: fix Rx error counter for bad length 2021-04-01 09:47:35 +02:00
igc_ethdev.h drivers: add missing includes 2021-04-14 11:23:13 +02:00
igc_filter.c ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
igc_filter.h ethdev: replace callback getting filter operations 2021-03-26 18:37:13 +01:00
igc_flow.c net/igc: remove use of uint type 2021-03-23 08:41:05 +01:00
igc_flow.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_logs.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
igc_logs.h net/igc: refine debug build option 2021-04-01 16:10:20 +02:00
igc_txrx.c net/igc: fix Rx packet size 2021-04-20 04:54:28 +02:00
igc_txrx.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00