aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorSatish Baddipadige <[email protected]>2016-05-15 07:04:43 +0000
committerDavid S. Miller <[email protected]>2016-05-15 17:35:47 +0000
commit18d6e4e2d800cbd44a7d7d215a49f99c6508e4a5 (patch)
treed57b0f3a48a5380427b984d9cad551d3b7ae01c3 /drivers/net/xen-netback/interface.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadkernel-18d6e4e2d800cbd44a7d7d215a49f99c6508e4a5.tar.gz
kernel-18d6e4e2d800cbd44a7d7d215a49f99c6508e4a5.zip
bnxt_en: Fix invalid max channel parameter in ethtool -l.
When there is only 1 MSI-X vector or in INTA mode, tx and rx pre-set max channel parameters are shown incorrectly in ethtool -l. With only 1 vector, bnxt_get_max_rings() will return -ENOMEM. bnxt_get_channels should check this return value, and set max_rx/max_tx to 0 if it is non-zero. Signed-off-by: Satish Baddipadige <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions