From patchwork Thu Nov 30 16:20:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Song, Yoong Siang" X-Patchwork-Id: 13474713 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6E47FC4167B for ; Thu, 30 Nov 2023 16:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vPafm1CY9prpFwmohc5tTI/ubew3h5znXCeJrP47FHo=; b=YMkz4Z+igCbs1t IzVg23QuFb/YNIUnBDOrktLVJENGroE3HQ0jaF3+l9tUM5pxO0jikFOz9XtVLFOwUNb2hR3/3lcJb dK1f3Qq+t9lzSyPmMmgJpQkK9535QpM6nwjLPEPte/h3HQY+nhoYy0cQTuhEkgraumkrxjG1aKw0i tk+8lYaxioBeN69jpnlUg5F4mS8ZePmuA2OIa6/TsISV4pNVcn/vg7KXRVodn+pPuU9XFvpwPGh3w ESxaXynFJCDg97Dnk5rXw9MBAmDa6UeNzgic2GOsrQR81PmbIwsu8xNOnXWoZ+MkLaN7zyeHZpoAC ohD62wJxzYknnskMZBog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8jma-00BK4p-2y; Thu, 30 Nov 2023 16:20:56 +0000 Received: from mgamail.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8jmX-00BK2Q-1E for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2023 16:20:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701361253; x=1732897253; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Jmp58BhNqYVS6hDCJmPrbUZy8u/nlUohDAInUqFsi9A=; b=a5LrgEJK0uGHEdsQgIfNfXNh3f06QOewZKDajsLmSukAdF9cgVin0V9H wZQjJfgwRJ26esX0EManQ2FzxnlKJUVCx/qwp33GsntDb0ZXpTqw5Xsek MTWB/7dj2EfKmo0Z44/oOF0W++8DbDmSsFpaLvAIIi7CEqMA+p9S2vFgm mTQ74EOlEnszwSEjCLRu20D2/rhE1wHoH83ZAiuRWThe6foJTUnnhrVk5 Q81CFBDW/3Tei9JQPZoXrG4LRDjBRFbIKE3l+6RBFCJH/iJ5W6rKxZGR+ gCpZMT1p1UNZuyGB1OcP8eOuA0U4QDbNzPb8NssfKguPJChYaws9UcLcW Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10910"; a="383744352" X-IronPort-AV: E=Sophos;i="6.04,239,1695711600"; d="scan'208";a="383744352" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2023 08:20:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10910"; a="803757991" X-IronPort-AV: E=Sophos;i="6.04,239,1695711600"; d="scan'208";a="803757991" Received: from p12ill20yoongsia.png.intel.com ([10.88.227.28]) by orsmga001.jf.intel.com with ESMTP; 30 Nov 2023 08:20:40 -0800 From: Song Yoong Siang To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Bjorn Topel , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Stanislav Fomichev , Lorenzo Bianconi , Tariq Toukan , Willem de Bruijn , Maxime Coquelin , Andrii Nakryiko , Mykola Lysenko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Hao Luo , Jiri Olsa , Shuah Khan , Alexandre Torgue , Jose Abreu Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, bpf@vger.kernel.org, xdp-hints@xdp-project.net, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Song Yoong Siang Subject: [PATCH bpf-next 0/3] xsk: TX metadata launch time support Date: Fri, 1 Dec 2023 00:20:25 +0800 Message-Id: <20231130162028.852006-1-yoong.siang.song@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231130_082053_506391_9BB3FCD3 X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series expands XDP TX metadata framework to include HW launch time offload. Song Yoong Siang (3): xsk: add launch time support to XDP Tx metadata net: stmmac: Add launch time support to XDP ZC selftests/bpf: Add launch time to xdp_hw_metadata Documentation/netlink/specs/netdev.yaml | 4 ++++ Documentation/networking/xsk-tx-metadata.rst | 5 +++++ drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 ++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 13 +++++++++++++ include/net/xdp_sock.h | 10 ++++++++++ include/net/xdp_sock_drv.h | 1 + include/uapi/linux/if_xdp.h | 9 +++++++++ include/uapi/linux/netdev.h | 3 +++ net/core/netdev-genl.c | 2 ++ net/xdp/xsk.c | 3 +++ tools/include/uapi/linux/if_xdp.h | 9 +++++++++ tools/include/uapi/linux/netdev.h | 3 +++ tools/net/ynl/generated/netdev-user.c | 1 + tools/testing/selftests/bpf/xdp_hw_metadata.c | 18 +++++++++++++++++- 14 files changed, 82 insertions(+), 1 deletion(-)