summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorEdwin Peer <edwin.peer@broadcom.com>2021-12-27 09:00:31 +0100
committerDavid S. Miller <davem@davemloft.net>2021-12-27 13:00:28 +0100
commitb976969bed83e90fffb9e750e1d1562956500cd9 (patch)
tree5d86f8691ce486b322c0cf2c9cc71341209357cd /drivers/net/ethernet/broadcom
parentbnxt_en: Support CQE coalescing mode in ethtool (diff)
downloadlinux-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.c2
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;