Article View: linux.kernel.netdev
Article #9605Re: [PATCH net] octeontx2-pf: fix XDP frames freed as skbs on interface down
From: Nicolai Buchwitz
Date: Mon, 02 Nov 2026 11:44
Date: Mon, 02 Nov 2026 11:44
23 lines
9437 bytes
9437 bytes
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
Technical Details
Message-ID:
<06c7ea9008cf1d143a44750a36798610@tipi-net.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354637-linux-kernel-netdev=dewy.ruReferences:
<20261030-nb-otx2-xdp-cqe-cleanup-net-v1-1-710635c0f504@tipi-net.de> <20261102113011.h4gv6z6y3ktab2cq@DEN-DL-M70577>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354637-linux-kernel-netdev=dewy.ru From: nb@tipi-net.de (Nicolai Buchwitz) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] octeontx2-pf: fix XDP frames freed as skbs on interface down Date: Mon, 02 Nov 2026 12:44:03 +0100 Organization: Usenet Network Message-ID: <06c7ea9008cf1d143a44750a36798610@tipi-net.de> References: <20261030-nb-otx2-xdp-cqe-cleanup-net-v1-1-710635c0f504@tipi-net.de> <20261102113011.h4gv6z6y3ktab2cq@DEN-DL-M70577> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="2913911"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:d/RiWchYfg30r8j2BMXgZZlw4dM= sha256:I0qXME3vqWbkCm+lT0xtnvwD8KwHIB+QUiw+qhe8zj8= sha1:aq8NXoaxDf9Ainyfa8N11itb4Bo= sha256:+KUDUheuY56GbYOV+qpU1HXWRXLoD1bD0It9qyvPT5o= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 2B0D31124DC; Mon, 2 Nov 2026 14:51:37 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=tipi-net.de X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26JQ3apsVtfY; Mon, 2 Nov 2026 14:51:34 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-354637-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=tipi-net.de X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 6CCD7112494; Mon, 2 Nov 2026 14:51:25 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 236973432C; Mon, 2 Nov 2026 11:44:21 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793619858; b=MwoWV2la/IUf89GoEh886vULQvJX7Uc0usNmvas03O8LA/sC+dxfwVczn7EedJqxhw2q v1gq23XE8ZZlYKm6TXJBNUDiCewQ00LWqNX6US0RpUwpTHJSjPMs54gbohWbpIvUAZQpn 8VSMgjBrJ9jdtCLVZbdGKnopATH7d47+qDgqjcEPW358Em6Pd4Hb0eHbUxhsCdXUZHZNs BrITJgxjqM1Sg4uDndKvMCQ7mtBhoBWzRbYzNYIVtk3VsMoezuYwGRqQ2QFXjf+381cYS tMTYkWfpNK4ZtlXz3S1y2RDYi7RsfKzPv9zLmEZ0RdvJWA+j/5fzMhSYHo2bh0y63oQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793619858; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=CEbYZciebtL2aKgroSydecBjkvTVNl1Hbb78SlOoaRg=; b=1AaCiy6UuHcay6qvGXOsicr6qG7gv1vQn5qyPmKuzoyHeUDw4c0o0ImoaN8lQwrw7/xN O59YMeLindqpUv/KhmB+HVQu4y/Ko6Fgh/duPVfhXJUqek3ZruxJCk6+xL87k9K1pSCl0 B3tvW8FyAP/Z93f2xQJs1Cr2SwOth55uWK6LURst3jpCD9in2E/dierD3ucfd8M7V2fRj /1U8mY44a/no5r5h2aoqglu0bTfV3r2wmRCHX5YPY2jzgR75BpqnK2SvKpWDnjMrvGMTV zW5jfF1h4UFntLR74vVZVIaaU+o93fwElTZrrRQQ9pVckqM7R1BcbMKBQ5o/XDI500Q== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=h2z0Hw3P; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 255A4606A331; Mon, 2 Nov 2026 11:44:18 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=h2z0Hw3P X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793619852; b=pj3a2VLp5eMAyKYYbNBdL5ZmQZtmPanOQJuZ6OCBQYd+jeZXS+8uYpYNisVwXvB/RMw8 wKAkt4Snq878g2gMhcuFt3/yg9qnjVecsNd4t0p+0ml4flNLNuBPV/yZzBzfzipimIdcU elcIw10LPsWDWQIFFBdLayfY+zE6AbN5fzTD7ayjfEZn6m7GYOIe37uhEJl7iFLdo4Nxf AfG8dySilCI7s31F11hm8fF42ZJFMjI6Saoe7iXRBM/9EdcL8WhVop+3aEg0kNbLrnZse mcyeFOr9plXnKsuxxA1pMS9dVQ9jDdURb6zWZcAIUVlgKYLjge0rfkR5HsG/nVUapFg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793619852; h=DMARC-Filter:Received:DKIM-Signature:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=CEbYZciebtL2aKgroSydecBjkvTVNl1Hbb78SlOoaRg=; b=xxAM4ZjFCstepIsCSl4gaf3cfL73bXB2PuBoPj/fnUoN4w11jnWnjMFeJe+anDYkxBkq j7MWMilr2V62WSod9Pc8mY2dFiZjamXQMHQgAomnk+C1IDmDD7p66tMeaV2Dvk5ZE20Cs 2OweAr6D9Vr1U84ha/5nCsdMwG/6zbylJJqFN3F+HiCeaUaIudQxJ+lIw+LI8Ml7oBAEI das3gMHWEvP16jdVRW0oZdPg4n+5Vcib6DIe33ucz4TrdPN0cHJjoujZ9/qi8VdJdRid7 3nE6Kq4IOb4MuaRJ03EaEr8vrL8RUZs/PhsV+slilS7g8RJBw/PFNLw0au8J400fRqw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=h2z0Hw3P; arc=none smtp.remote-ip=194.13.80.246 X-Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E30F2606A324; Mon, 2 Nov 2026 11:44:09 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E30F2606A324 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 913ABA12EB; Mon, 02 Nov 2026 12:44:03 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1793619847; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=CEbYZciebtL2aKgroSydecBjkvTVNl1Hbb78SlOoaRg=; b=h2z0Hw3PffeZ/4+TKe9RVKbucreoqLTN1ZOL0D9ChB3xIeCc3ev7ePBgeccDdJABxNxMqr K/drIP0DOa/HmZjo3jongZTLKsMdmkwXlZgYEz+fqwgLm3HfhuvAy+wN74YV5Ad/EdAQ8x 46urajdusq1F3txkNgHenrBSYGUw5CJ5150j6J9ExpKemKYz3i2B7k/PUJ74OdX5iibVXc 2flYJ7PIx0QDTUzbf+5Ewifwmc7GFN4J9CSI3VCsw8SK/k2sO5Vmcp50MbDkxUoLdU1Ipt yXbTTrEhAW7vAarAlm0cvvWqHys8tmooKGf4DunV6+JUr3LMxRKDW9cHOXFs7Q== X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-Cc: Sunil Goutham <sgoutham@marvell.com>, Geetha sowjanya <gakula@marvell.com>, Ratheesh Kannoth <rkannoth@marvell.com>, Subbaraya Sundeep <sbhatta@marvell.com>, Bharat Bhushan <bbhushan2@marvell.com>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, Jesper Dangaard Brouer <hawk@kernel.org>, John Fastabend <john.fastabend@gmail.com>, Stanislav Fomichev <sdf@fomichev.me>, Suman Ghosh <sumang@marvell.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org X-In-Reply-To: <20261102113011.h4gv6z6y3ktab2cq@DEN-DL-M70577> X-Sender: nb@tipi-net.de X-Last-TLS-Session-Version: TLSv1.3