]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Use short TX BDs for the XDP TX ring.
authorMichael Chan <michael.chan@broadcom.com>
Tue, 4 Apr 2017 22:14:16 +0000 (18:14 -0400)
committerBrian Maly <brian.maly@oracle.com>
Mon, 8 Oct 2018 16:20:48 +0000 (12:20 -0400)
commit09ebc1261a398ed16f7597b5ce9062f9be90788e
tree468e6ff2f59f67fa0f1eaf615c18df7386f5158d
parent1855e0b9a3fd61bcddff0d6a0c7a911c511c57dc
bnxt_en: Use short TX BDs for the XDP TX ring.

No offload is performed on the XDP_TX ring so we can use the short TX
BDs.  This has the effect of doubling the size of the XDP TX ring so
that it now matches the size of the rx ring by default.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 932dbf83ba18bdb871e0c03a4ffdd9785f7a9c07)
Orabug: 27988326

Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c