[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230801145723.7ddc2dba@kernel.org>
Date: Tue, 1 Aug 2023 14:57:23 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Wei Fang <wei.fang@....com>
Cc: davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
shenwei.wang@....com, xiaoning.wang@....com, ast@...nel.org,
daniel@...earbox.net, hawk@...nel.org, john.fastabend@...il.com,
netdev@...r.kernel.org, linux-imx@....com, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH V3 net-next] net: fec: add XDP_TX feature support
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
Powered by blists - more mailing lists