Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp431260rdb; Thu, 30 Nov 2023 08:22:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMbExSwnLWTnDOn5kcdWiEFjO1OEf7Py1lqYTnQf5qmYRNnnfh10WK4lCccS+WildCfQpd X-Received: by 2002:a05:6e02:1524:b0:35d:462a:afea with SMTP id i4-20020a056e02152400b0035d462aafeamr1154613ilu.21.1701361323836; Thu, 30 Nov 2023 08:22:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701361323; cv=none; d=google.com; s=arc-20160816; b=sDVJZrGTH5mVWtAW4V3aDzmpkdJhFUUr2i5UvRf6jD1lKjLqDXXqvLDHShrFp2Wyjd JSXZTVMVKvplLUjF50JSgujDF/XFMknSDzJd1Q8Mlgx4DlZFR0IQIJEAvIDjQrih88Jx 0xZPIOQlboD8baY0BUqE2tmYI5Bh9yawBo9511J7x0739IGqgWQUGoq8CtCX++NZE+SP 3ZCxK5+arZZRkS1FLabPGl7UQgWWHYfuu5sEeWwWLcRXyPwgQjlrxsYmsO5f+xsOWkd6 YEJrWHX3PVVezNCv/5kvvip6Zm73hBp1chepsiDIURlAZWhcJMkmDjsRLdJKyP/Yvo0+ iKsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4Y2761B2ZGTY+IFYV8dgR7rM4eALNPtUsLbpkziRxHE=; fh=YTkuaskr0lgfdZdN3raKefSjBLb6uuCywA/U9wJpjjU=; b=rS7JBSrp/AwnOssBhhARTyxiR66jr+mBhG29cUXFmhKf212UNp3R5JMN7fYW/zITKN IQoUQ2Txq+rIvCBubEB06O+wa0d0CvTrbdXynEYEM8HeWvlOlABA9Kg5GRBT64ee0jdk 13EXUIyYFTUCEkesCID0lbdmK796eZ2ytixooxktX45PgFwrwH4T9LpfxXN7fYqdOFkm f2i/vHvmaaFz4klC6JN9uVgtydHPjeKkE0+e9T4Se0bKG5Kc+69vJ7LMOgT/ZMcLgzFT Wrk3xbarRjSE5jmpfp3EkSNpKcpxo85WHhUZwxzPmabHeEiSYQ+RG5D6CKiUmDnGr8ik bvlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mFzfS9av; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id a21-20020a656415000000b005be007363a9si1653041pgv.730.2023.11.30.08.22.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:22:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mFzfS9av; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7138480966F7; Thu, 30 Nov 2023 08:22:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232095AbjK3QVq (ORCPT + 99 others); Thu, 30 Nov 2023 11:21:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235270AbjK3QV2 (ORCPT ); Thu, 30 Nov 2023 11:21:28 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E2D1170B; Thu, 30 Nov 2023 08:20:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701361250; x=1732897250; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Jmp58BhNqYVS6hDCJmPrbUZy8u/nlUohDAInUqFsi9A=; b=mFzfS9avtitnCyffQHB9EyviOXf0yDOqiuomP1f2R47HuV6++ZtfRP7X zGJ6RFq7QUQiZ8rl40qAXPJ6wG6tWkt0D1iyvJTBV3EyxU8CNd+TOMzR3 z/VZCmEkhKel84axCSOWs3YCjxHCfKOzX6NBXvk/fivEP9pZhkQGMfSl/ C4OeEks7WfpJmJbX6lU75mmtHLPTy274omq8fQ+mQLSwCmLPK01l2yBDL PsJXcI+jcA/XIaYTWnB+MYI59yjjSMbv/ABnb40b55PbLNdd2vQicasSK Q+OISi5n0xbrmH7BlOnCSg79c1ypGEJ7lGRZTOkT5EMXNUzF8Im8s9K5V Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10910"; a="383744345" X-IronPort-AV: E=Sophos;i="6.04,239,1695711600"; d="scan'208";a="383744345" 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:22:01 -0800 (PST) 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(-) -- 2.34.1