]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ixgbe: Fix bogus error message
authorGreg Rose <gregory.v.rose@intel.com>
Sat, 21 Apr 2012 00:54:28 +0000 (00:54 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 10 May 2012 05:40:29 +0000 (22:40 -0700)
commit44b82dded19be8f09d0fee373f395935cef79c41
treed9e2f00819917b035cda3a68513a8069182340b7
parent3ebe8fdeb043e8c630cac6dc90d483e729e17017
ixgbe: Fix bogus error message

If the VF sends a MACVLAN request with index of zero then it is not
actually trying to add a filter.  Check the index value and only
indicate that operation is not allowed when the VF is actually trying
to add a filter.

Signed-off-by: Greg Rose <gregory.v.rose@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