net/sfc: move Rx checksum offload check to device level
authorAndrew Rybchenko <arybchenko@solarflare.com>
Sun, 15 Jul 2018 09:56:13 +0000 (10:56 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 23 Jul 2018 21:55:26 +0000 (23:55 +0200)
commiteacbad76325e592f9f6a7601d35b176887777044
treec29cea3d187d3aaf59145c08f5fa2a3a312cfbf6
parent920aae3f5c19ee3c3663b87ff38251990a8d396a
net/sfc: move Rx checksum offload check to device level

Rx checksum offloads are on device level and should be checked and
enforced on device level.

Avoid logging of Rx checksum offloads enforced for each Rx queue.

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_rx.c