net/bnxt: fix LRO disable
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 28 Feb 2018 22:12:36 +0000 (14:12 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commite331b9626f42c7b2bcfd7d51db4d98f80090ae96
treedb6c4a61aa9ae2e80ec1cdf7b17bfdf5ca3c7ce4
parent11c5d3411f94c3284564ea4e56a7c9fa6858aa1c
net/bnxt: fix LRO disable

When the vnic_tpa_cfg HWRM command is sent to the FW,
we are not passing the VNIC ID in case of disable.
This can cause the FW to return an error.
Correct VNIC ID needs to be passed for both enable and disable.

Fixes: 0958d8b6435d ("net/bnxt: support LRO")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c