bnxt_en: Refactor tx completion path.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 6 Feb 2017 21:55:41 +0000 (16:55 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 18:30:59 +0000 (13:30 -0500)
commitfa3e93e86cc3d1809fba67cb138883ed4bb74a5f
tree9d9309cf9489fda8e458d9e263323965c274e123
parent5f4492493e75dafc5cbb96eabe0f146c2ffb1e3d
bnxt_en: Refactor tx completion path.

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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h