]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Fix .ndo_setup_tc() to include XDP rings.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 23 Aug 2017 23:34:03 +0000 (19:34 -0400)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 9 Mar 2018 04:47:56 +0000 (20:47 -0800)
commit705a54497175a392e1bf12f6d9fd6b437e8edd2e
tree1f026e6e3c6f32992b25cfbe67c2b9b675df5e8d
parent761406b5e4373cc9448d390308f448053ff1aaa3
bnxt_en: Fix .ndo_setup_tc() to include XDP rings.

Orabug: 2764835527648339

When the number of TX rings is changed in bnxt_setup_tc(), we need to
include the XDP rings in the total TX ring count.

Fixes: 38413406277f ("bnxt_en: Add support for XDP_TX action.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 87e9b3778c94694c9e098c91a0cc05725f0e017f)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c