]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Fix ethtool -l pre-set max combined channel.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 13 Feb 2017 00:18:12 +0000 (19:18 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 21:35:37 +0000 (13:35 -0800)
commit349cc3de0a283af94b1b53994be0c0361e0f0fe5
tree73f73ec573bceffdcab94eb981b45f57050938b3
parent03bae0ad78d546ad0313812e81828a338fbcd8cb
bnxt_en: Fix ethtool -l pre-set max combined channel.

Orabug: 25645429

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