[dpdk-dev] [PATCH v3 08/18] net/axgbe: add transmit and receive queue setup apis

Ferruh Yigit ferruh.yigit at intel.com
Fri Mar 16 18:44:34 CET 2018


On 3/9/2018 8:42 AM, Ravi Kumar wrote:
> Signed-off-by: Ravi Kumar <Ravi1.kumar at amd.com>

<...>

> +
> +	rxq->crc_len = (uint8_t)((dev->data->dev_conf.rxmode.hw_strip_crc) ? 0 :
> +				 ETHER_CRC_LEN);

This is also changed recently, new ethdev offloading API introduced which PMDs
target to switch this release.

According new offloading API, instead of using
dev->data->dev_conf.rxmode.hw_strip_crc, (dev->data->dev_conf.rxmode.offloads &
DEV_RX_OFFLOAD_CRC_STRIP) should be checked.

<...>


More information about the dev mailing list