]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 17:57:22 +0000 (12:57 -0500)
commit2528dfee694679e7759801df17a9291b72e1c351
treee02add5738cbe6165861335fab75ff8637ff37ae
parentd397882cb1711a71a278195fa8126388e1d33ae0
bnxt_en: VF/NPAR should return -EOPNOTSUPP for unsupported ethtool ops.

Orabug: 24567991

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>
(cherry picked from commit 75362a3fd4e37ff8af1ef5e3d9f2d9d5ccf2f3ab)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c