OSDN Git Service

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)
commit5ed4e9e990eea130b9881da3655c56cfc5646da7
tree719f945f490f187f7ad838f3154b6f5eafae8144
parent47b6f50077e68bcd544f657526dad4bfdce7e87d
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