diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-07-11 20:05:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-11 20:32:11 +0300 |
commit | 3b6b34df342553a7522561e34288f5bb803aa9aa (patch) | |
tree | b4f5d946005dd413f7e2bc35fa4db83c922d98d1 /net/rxrpc/af_rxrpc.c | |
parent | f9b76ebd49f97458857568918c305a17fa7c6567 (diff) | |
download | linux-3b6b34df342553a7522561e34288f5bb803aa9aa.tar.xz |
bnxt_en: Fix bug in ethtool -L.
When changing channels from combined to rx/tx or vice versa, the code
uses the wrong "sh" parameter to determine if we are reserving rings
for shared or non-shared mode. It should be using the ethtool requested
"sh" parameter instead of the current "sh" parameter.
Fix it by passing the "sh" parameter to bnxt_reserve_rings(). For
ethtool, we will pass in the requested "sh" parameter.
Fixes: 391be5c27364 ("bnxt_en: Implement new scheme to reserve tx rings.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/af_rxrpc.c')
0 files changed, 0 insertions, 0 deletions