Skip to content

Commit 4e1f068

Browse files
xry111KexyBiscuit
authored andcommitted
AOSCOS: net/phytmac: Replace xdp_do_flush_map() with xdp_do_flush()
Per 7f04bd1 ("net: Tree wide: Replace xdp_do_flush_map() with xdp_do_flush()."): xdp_do_flush_map() is deprecated and new code should use xdp_do_flush() instead. Replace xdp_do_flush_map() with xdp_do_flush(). Signed-off-by: Xi Ruoyao <[email protected]>
1 parent a4a3b32 commit 4e1f068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/phytium/phytmac_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ static int phytmac_rx(struct phytmac_queue *queue, struct napi_struct *napi,
12471247
}
12481248

12491249
if (xdp_xmit & PHYTMAC_XDP_REDIR)
1250-
xdp_do_flush_map();
1250+
xdp_do_flush();
12511251

12521252
phytmac_rx_clean(queue);
12531253

0 commit comments

Comments
 (0)