Commit b976969b authored by Edwin Peer's avatar Edwin Peer Committed by David S. Miller
Browse files

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: default avatarEdwin Peer <edwin.peer@broadcom.com>
Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3fcbdbd5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;