]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix the return value for unsupported VF offload
authorShannon Nelson <shannon.nelson@oracle.com>
Wed, 22 Aug 2018 23:47:15 +0000 (16:47 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 28 Aug 2018 21:33:38 +0000 (14:33 -0700)
commit6dbcc6a17d7ed0978c5a0207829defe9e04c2e75
tree719f945f490f187f7ad838f3154b6f5eafae8144
parent47fb348f69c95b7c2ffb276802940d445ecfb573
ixgbe: fix the return value for unsupported VF offload

When failing the request because we can't support that offload,
reporting EOPNOTSUPP makes much more sense than ENXIO.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c