From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from s1-ba86.socketlabs.email-od.com (s1-ba86.socketlabs.email-od.com [142.0.186.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6AE30257458 for ; Thu, 9 Oct 2025 19:29:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=142.0.186.134 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760038143; cv=none; b=I9IRRx1LVMBWDpD08HxHKC6SqEh3hzeSwmjwHT/BbFHAedTYcojFFSUhvMWhmCnE1Q0z7KA9n3LY4gOmH6CDqs3/sHGCxPG//8nFSqGwhcKzBU0VSOEnNgVYsSS+BGe+I6cv39QCICo/R5+xQyTTVJ+9Xvgj1wrQ+CYf+L+eSO8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760038143; c=relaxed/simple; bh=BqmL8qSCaK+MZ1CoMJtzzo3fv2sANfeQJJcqeOfYyUI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jGZRlei9+AwCYauGlPQKdq0ea5IVkYDxZQvGW31aoYEItV9YYXbzUUmfERpp4/zX5CmPe27cmJwZNDjQnyipwtOPBo3AU9bLikDae5mIbXQUpXVmaeMnXMvcHxH1h4K/ShoUgt7ESBURTaTrdzygYaBuoBE6vJetHb88ff3QnHA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nalramli.com; spf=pass smtp.mailfrom=email-od.com; dkim=pass (1024-bit key) header.d=email-od.com header.i=@email-od.com header.b=Qw5mGtVZ; arc=none smtp.client-ip=142.0.186.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nalramli.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=email-od.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=email-od.com header.i=@email-od.com header.b="Qw5mGtVZ" DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1760038142; x=1762630142; h=content-transfer-encoding:mime-version:message-id:date:subject:cc:to:from:x-thread-info:subject:to:from:cc:reply-to; bh=fNeFEOfUOZVVJm8zrFxKc3lRrfCO7pVZbIyZXfxTnGs=; b=Qw5mGtVZ0WcU/HtPl9DdputZxvu5k6zn6jbB1ZHqNFckEGN+N8tBS7iOsBov8BE1DI7PdeCB/Nt5gXrVpeB/Zc+mbaFlSUP3DjsIxxEtLyGrw+P0jJmxhI7wAwB+cF5ILCjgUxi3YzRa5OFCbAcNU2/YnPfrifrqJhnf6ekM7Ug= X-Thread-Info: NDUwNC4xMi5hNjBiZjAwMDBhZmJhZDEubGludXgta2VybmVsPXZnZXIua2VybmVsLm9yZw== x-xsSpam: eyJTY29yZSI6MCwiRGV0YWlscyI6bnVsbH0= Received: from nalramli-fst-tp.. (d4-50-191-215.clv.wideopenwest.com [50.4.215.191]) by nalramli.com (Postfix) with ESMTPSA id E79E42CE000D; Thu, 9 Oct 2025 15:28:40 -0400 (EDT) From: "Nabil S. Alramli" To: anthony.l.nguyen@intel.com, przemyslaw.kitszel@intel.com Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, lishujin@kuaishou.com, xingwanli@kuaishou.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, team-kernel@fastly.com, khubert@fastly.com, nalramli@fastly.com, dev@nalramli.com Subject: [RFC ixgbe 0/2] ixgbe: Implement support for ndo_xdp_xmit in skb mode and fix CPU to ring assignment Date: Thu, 9 Oct 2025 15:28:29 -0400 Message-ID: <20251009192831.3333763-1-dev@nalramli.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hello Kyle, Please take a look at this patch that I plan to submit upstream, let me know if you agree. Hello ixgbe maintainers, This patch is a RFC to add the ability to transmit packets using BPF_F_TEST_XDP_LIVE_FRAMES in skb mode to the ixgbe driver. Today this functionality does not exist because the ndo_xdp_xmit operation handler, ixgbe_xdp_xmit, expects a native XDP program in adapter->xdp_prog. This results in a no-op essentially. To add this support, I use the tx_ring instead of the xdp_ring and allocate a skb based on the xdpf, and then us= e dev_direct_xmit to queue the xdp for tansmission. May I get feedback on the idea and the approach in this patch? Thank you. Nabil S. Alramli (2): ixgbe: Implement support for ndo_xdp_xmit in skb mode ixgbe: Fix CPU to ring assignment drivers/net/ethernet/intel/ixgbe/ixgbe.h | 16 +++---- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 43 +++++++++++++++++-- 2 files changed, 47 insertions(+), 12 deletions(-) --=20 2.43.0