]> 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)
commit6dc3a6722864e8999cab2c6c910e5ab6584cb704
treeda276b017d217fb2cbc259ee8b8ba1a593663c4e
parent1b115afbd2d731c25822b0a087981ade9b7c8199
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