Re: [PATCH net] octeontx2-pf: fix XDP frames freed as skbs on interface down

From: Nicolai Buchwitz

Date: Mon Nov 02 2026 - 06:50:08 EST


On 2.11.2026 12:30, Daniel Machon wrote:

[...]

@@ -1348,6 +1349,10 @@ void otx2_cleanup_tx_cqes(struct otx2_nic *pfvf, struct otx2_cq_queue *cq)

if (!cqe)
continue;
+ if (cq->cq_type == CQ_XDP) {
+ otx2_xdp_snd_pkt_handler(pfvf, sq, cqe, &xsk_frames);

Any reason xsk_frames is never handed to xsk_tx_completed()?

No, just missed that, thanks. I'll send a v2 with this fixed, after waiting for
potential feedback from clashiko later today.

[...]

Regards,
Nicolai