net/sfc: fix Rx queue offloads reporting in queue info
authorAndrew Rybchenko <arybchenko@solarflare.com>
Sun, 15 Jul 2018 09:56:14 +0000 (10:56 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 23 Jul 2018 21:55:26 +0000 (23:55 +0200)
commitb7294d8808fd0591a29edc33c70794acd378db84
treef5d3c0dfd120f86f8707049a18307050c85368d0
parenteacbad76325e592f9f6a7601d35b176887777044
net/sfc: fix Rx queue offloads reporting in queue info

CRC_STRIP offload is always enabled, but lost here.

It is more robust to use device level offloads directly to
compose returned value.

Fixes: ff6a1197c3b1 ("net/sfc: convert to new Rx offload API")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
drivers/net/sfc/sfc_ethdev.c