qlcnic: Fix tunnel offload for 82xx adapters
authorChopra, Manish <Manish.Chopra@cavium.com>
Fri, 2 Jun 2017 13:52:54 +0000 (06:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 18:30:58 +0000 (14:30 -0400)
commit4bd7ef0b033721b659b9357057e76d1ced95c1da
tree84f7a8dd1e4ef414cbff268e2e155f0236c2a4ad
parenta53cb29b0af346af44e4abf13d7e59f807fba690
qlcnic: Fix tunnel offload for 82xx adapters

Qlogic's 82xx series adapter doesn't support
tunnel offloads, driver incorrectly assumes that it is
supported and causes firmware hang while running tunnel IO.

This patch fixes this by not advertising tunnel offloads
for 82xx adapters.

Signed-off-by: Manish Chopra <manish.chopra@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c