ixgbe: Return success or failure on VF MAC filter set
commit3970c3234bbaac962a6c9213536dfcabc421d0d0
authorGreg Rose <gregory.v.rose@intel.com>
Tue, 25 Sep 2012 02:25:30 +0000 (25 02:25 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 30 Oct 2012 05:32:07 +0000 (29 22:32 -0700)
tree1f7ef755b91291612e5c2d3867a88cae1fd6506c
parentec74a4715549ed4823df7ad4ecc81a8416b7f6bd
ixgbe: Return success or failure on VF MAC filter set

When setting a MAC filter for the VF the function should return a success
or failure code, not the index of the new filter.  It causes spurious NACK
returns to the VF driver.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c