[dpdk-dev] [PATCH v2 2/2] ethdev: add new offload flag to keep CRC

Thomas Monjalon thomas at monjalon.net
Wed Mar 21 22:05:53 CET 2018


21/03/2018 20:47, Ferruh Yigit:
> DEV_RX_OFFLOAD_KEEP_CRC offload flag added.
> 
> DEV_RX_OFFLOAD_CRC_STRIP flag will remain one more release but default
> behavior in PMDs is to strip the CRC independent from this flag.
> 
> Until DEV_RX_OFFLOAD_CRC_STRIP flag is removed:
> - Setting both KEEP_CRC & CRC_STRIP is INVALID
> - Setting only CRC_STRIP PMD should strip the CRC
> - Setting only KEEP_CRC PMD should keep the CRC
> - Not setting both PMD should strip the CRC

It is the same as saying that DEV_RX_OFFLOAD_CRC_STRIP has no effect :)





More information about the dev mailing list