]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: VF/NPAR should return -EOPNOTSUPP for unsupported ethtool ops.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 1 Jul 2016 22:46:19 +0000 (18:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2016 18:52:35 +0000 (14:52 -0400)
commita18bff1be5a062c6da673c5ef81e7306af174cb7
treeda276b017d217fb2cbc259ee8b8ba1a593663c4e
parentad98251d8ef2ba555cfd0e1ffb155b989f35a924
bnxt_en: VF/NPAR should return -EOPNOTSUPP for unsupported ethtool ops.

Returning 0 for doing nothing is confusing to the user.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c