Thread (26 messages) read the whole thread 26 messages, 5 authors, 2023-08-09

Re: [PATCH V3 net-next] net: fec: add XDP_TX feature support

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-08-01 21:57:37
Also in: bpf, lkml

On Mon, 31 Jul 2023 14:00:25 +0800 Wei Fang wrote:
 	case XDP_TX:
+		err = fec_enet_xdp_tx_xmit(fep->netdev, xdp);
+		if (err) {
+			ret = FEC_ENET_XDP_CONSUMED;
+			page = virt_to_head_page(xdp->data);
+			page_pool_put_page(rxq->page_pool, page, sync, true);
The error path should call trace_xdp_exception().
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help