diff options
author | Edwin Peer <edwin.peer@broadcom.com> | 2021-12-27 09:00:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-27 13:00:28 +0100 |
commit | b976969bed83e90fffb9e750e1d1562956500cd9 (patch) | |
tree | 5d86f8691ce486b322c0cf2c9cc71341209357cd /drivers/net/ethernet/broadcom | |
parent | bnxt_en: Support CQE coalescing mode in ethtool (diff) | |
download | linux-b976969bed83e90fffb9e750e1d1562956500cd9.tar.xz linux-b976969bed83e90fffb9e750e1d1562956500cd9.zip |
bnxt_en: convert to xdp_do_flush
The xdp_do_flush_map function has been replaced with the more general
xdp_do_flush().
Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index 48e61355ca00..ea5b072ba292 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -2429,7 +2429,7 @@ static int __bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, } if (event & BNXT_REDIRECT_EVENT) - xdp_do_flush_map(); + xdp_do_flush(); if (event & BNXT_TX_EVENT) { struct bnxt_tx_ring_info *txr = bnapi->tx_ring; |