diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-02-12 19:18:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-12 22:18:49 -0500 |
commit | a79a5276aa2f844bd368c1d3d5a625e1fbefd989 (patch) | |
tree | a8db414709298ea3018f2a121a9bf8c201d0882b /drivers | |
parent | cb4d1d6261453677feb54e7a09c23fc7648dd6bc (diff) |
bnxt_en: Fix ethtool -l pre-set max combined channel.
With commit d1e7925e6d80 ("bnxt_en: Centralize logic to reserve rings."),
ring allocation for combined rings has become stricter. A combined
ring must now have an rx-tx ring pair. The pre-set max. for combined
rings should now be min(rx, tx).
Fixes: d1e7925e6d80 ("bnxt_en: Centralize logic to reserve rings.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')