]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Apr 2017 13:24:26 +0000 (06:24 -0700)
commitf41116e23fc8ebf81af0cb95116504eb6ba0e34f
tree78b4c3fce896a3031908a169be6903032d432a46
parente84af39b2c7e5627072f57b3712c8e43fa38b808
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>
drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c