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

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
...@@ -2429,7 +2429,7 @@ static int __bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, ...@@ -2429,7 +2429,7 @@ static int __bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr,
} }
if (event & BNXT_REDIRECT_EVENT) if (event & BNXT_REDIRECT_EVENT)
xdp_do_flush_map(); xdp_do_flush();
if (event & BNXT_TX_EVENT) { if (event & BNXT_TX_EVENT) {
struct bnxt_tx_ring_info *txr = bnapi->tx_ring; struct bnxt_tx_ring_info *txr = bnapi->tx_ring;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment