]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix return value from macvlan filter function
authorGreg Rose <gregory.v.rose@intel.com>
Tue, 30 Oct 2012 00:40:02 +0000 (00:40 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 30 Oct 2012 05:16:44 +0000 (22:16 -0700)
commit0205206bb9e12c2a55227add057c4f466ca621c8
tree2cfdb7d6c9f786975d6232f944049277ee84be55
parent5b6c15267cc26e3928eb0badedb13f10bcf7948e
ixgbe: Fix return value from macvlan filter function

The function to set the macvlan filter should return success or failure
instead of the index of the filter.  The message processing function was
misinterpreting the index as a non-zero return code indicating failure and
NACKing MAC filter set messages that actually succeeded.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c