> -Original Message-
> From: Zhang, AlvinX
> Sent: Monday, April 19, 2021 15:15
> To: Wang, Haiyue ; Guo, Jia
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: RE: [PATCH] net/igc: fix Rx packet size error
>
> Hi Haiyue,
>
> Thanks for your review.
>
> > -Original Message-
> > Fro
Hi Haiyue,
Thanks for your review.
> -Original Message-
> From: Wang, Haiyue
> Sent: Friday, April 16, 2021 9:57 AM
> To: Zhang, AlvinX ; Guo, Jia
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: RE: [PATCH] net/igc: fix Rx packet size error
>
> > -Original Message-
> > From: Zha
> -Original Message-
> From: Zhang, AlvinX
> Sent: Friday, April 16, 2021 09:14
> To: Wang, Haiyue ; Guo, Jia
> Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org
> Subject: [PATCH] net/igc: fix Rx packet size error
>
> When DEV_RX_OFFLOAD_KEEP_CRC is enabled, the PMD will minus 4 bytes
>
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
4 matches
Mail list logo