On 3/9/2018 8:42 AM, Ravi Kumar wrote:
> Signed-off-by: Ravi Kumar <ravi1.ku...@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.

<...>

Reply via email to