]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Refactor tx completion path.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 6 Feb 2017 21:55:41 +0000 (16:55 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 21:35:35 +0000 (13:35 -0800)
commit6941e39b64e29c91ef9f6ae3a7044f6e2c51d55b
treef15520021955150603bc91f12ddfa2969722f6fc
parentf492dd75788f1288341df550e53cce8002514c0c
bnxt_en: Refactor tx completion path.

Orabug: 25645429

XDP_TX requires a different function to handle completion.  Add a
function pointer to handle tx completion logic.  Regular TX rings
will be assigned the current bnxt_tx_int() for the ->tx_int()
function pointer.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit fa3e93e86cc3d1809fba67cb138883ed4bb74a5f)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h