Skip to content

Commit

Permalink
linux/ena: Replace xdp_do_flush_map with xdp_do_flush
Browse files Browse the repository at this point in the history
Commit [1] backported the removal of xdp_do_flush_map()
function.
This patch deprecates the second call in the code,
that was missed in commit [1].

[1]: commit d7c3540 ("linux/ena: Backport xdp_do_flush_map deprecation")

Signed-off-by: David Arinzon <darinzon@amazon.com>
  • Loading branch information
davidarinzon committed Nov 19, 2023
1 parent 9a6440e commit 051cbcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/linux/ena/ena_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ static int ena_clean_rx_irq(struct ena_ring *rx_ring, struct napi_struct *napi,

#ifdef ENA_XDP_SUPPORT
if (xdp_flags & ENA_XDP_REDIRECT)
xdp_do_flush_map();
xdp_do_flush();
if (xdp_flags & ENA_XDP_TX)
ena_ring_tx_doorbell(rx_ring->xdp_ring);
#endif
Expand Down

0 comments on commit 051cbcc

Please sign in to comment.