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

2018-06-28 Thread Thomas Monjalon
21/06/2018 15:14, Ferruh Yigit: > --- a/lib/librte_ethdev/rte_ethdev.h > +++ b/lib/librte_ethdev/rte_ethdev.h > @@ -939,6 +939,11 @@ struct rte_eth_conf { > #define DEV_RX_OFFLOAD_SCATTER 0x2000 > #define DEV_RX_OFFLOAD_TIMESTAMP 0x4000 > #define DEV_RX_OFFLOAD_SECURITY

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

2018-06-21 Thread Ferruh Yigit
DEV_RX_OFFLOAD_KEEP_CRC offload flag is added. PMDs that support keeping CRC should advertise this offload capability. DEV_RX_OFFLOAD_CRC_STRIP flag will remain one more release default behavior in PMDs are to keep the CRC until this flag removed Until DEV_RX_OFFLOAD_CRC_STRIP flag is removed: -