i40evf: Fix get_rss_aq
authorCatherine Sullivan <catherine.sullivan@intel.com>
Fri, 18 Mar 2016 19:18:12 +0000 (12:18 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Apr 2016 03:33:38 +0000 (20:33 -0700)
We were passing in the seed where we should just be passing false
because we want the VSI table not the pf table.

Change-ID: I9b633ab06eb59468087f0c0af8539857e99f9495
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c

index 6561a33d84aa7b42590cd5e5b8f273d1b9a2e8ff..2d1fe560cf7d74b90f0bc95c1c93cb5934891a7d 100644 (file)
@@ -1341,7 +1341,7 @@ static int i40evf_get_rss_aq(struct i40e_vsi *vsi, const u8 *seed,
        }
 
        if (lut) {
-               ret = i40evf_aq_get_rss_lut(hw, vsi->id, seed, lut, lut_size);
+               ret = i40evf_aq_get_rss_lut(hw, vsi->id, false, lut, lut_size);
                if (ret) {
                        dev_err(&adapter->pdev->dev,
                                "Cannot get RSS lut, err %s aq_err %s\n",