]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Return error on failure to enable VLAN
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 21 Aug 2012 00:15:13 +0000 (00:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 24 Sep 2012 08:50:45 +0000 (01:50 -0700)
commit6f3af7f68b5120c14182d19d91ea557734990678
treeeb64e408e2b78e4c38c9503e490ed5dda3d5915f
parent2b5812e1c404b5774a7fc6a80217f8566668dfa2
ixgbevf: Return error on failure to enable VLAN

With recent kernel changes we can now return errors on a failure to setup a
VLAN filter.  This patch takes advantage of that opportunity so that we can
return either an EIO error in the case of a mailbox failure, or an EACCESS
error in the case of being denied access to the VLAN filter table by the
PF.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Robert Garrett <robertx.e.garrett@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/vf.c