Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp829043rdb; Thu, 30 Nov 2023 22:24:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfSM2Pigywya0X1BAi756Saxfu9Ss27HgS5rVeirzM2vk97ugcQDJrpwV6Lp8d1/qy1aLP X-Received: by 2002:a17:903:112:b0:1cf:ee3a:3b9 with SMTP id y18-20020a170903011200b001cfee3a03b9mr14802543plc.20.1701411896974; Thu, 30 Nov 2023 22:24:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701411896; cv=none; d=google.com; s=arc-20160816; b=WHWLRCP3o4Ng0oG+iIL+l2drOreHAGhr1R7dwWdG+Iep3CWvTWmA1bCnwXS20iUZTU Ljq6d9zBa/RBouECrFg3g9ZIUGy+zX0pmjqbXB6D09gQBDD4K7HORYM5CnHeAAZbTlNN d5fAhDQXqBpgumIvpYgw90vED+Kn4JnE8s+3frT5IUAYHdJie2wRuEkU8+Pl/qQ+suqB uhTotjXYDbMpe45PVNhDgpZ8RShxg3Uuniv8JzdyUmAGEl25ThKdJiYCbZ1rae/EEys4 OI3f+izbPnHKXvQXNEgAqkPZ+qB4C1+Wkn1mGUwy8mjGtWgtocuTFYJ3dE15V5HnZddo nxvg== 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=GzazURHK/ywqMW6teLEqg7mvgPspy6AY7vIzipy1KOI=; fh=YTkuaskr0lgfdZdN3raKefSjBLb6uuCywA/U9wJpjjU=; b=gQHs/2I0SKA9bHI00LB9bUGnfQBF+BeiFJDR4OJC+r5+mo8T1qgmm2SlngVFxmQVYK KcoO/BHYYFZH74OUpUN/6ZkraCfaZPzMSvtkZm+cmUscfZS6QXSMXupN/wpHmUJT3Ni9 Vmn/zoPtUYZQ/8CrWBHnWZejt/h+YMEtn4EOEMjKdWCWSc/ImA5X5UFb4xf0YD3weP3p HHa4UALvH7OPhxNMscS/0PI5M4K2au5uXJMNyVmiv5IhZh40OGxWvAPooOzkUWnmoCNz kwPW1kyJG1KvWoUpwwuQ02NL7fRPzY3ZwEkpRo2m4fC200t8t7NS3BXwlt6OGEhtooxm 7XDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Zag7mclo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id k190-20020a6384c7000000b005c25a1d3916si2824071pgd.651.2023.11.30.22.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 22:24:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Zag7mclo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 5B2AD80CD719; Thu, 30 Nov 2023 22:24:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229520AbjLAGYi (ORCPT + 99 others); Fri, 1 Dec 2023 01:24:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjLAGYh (ORCPT ); Fri, 1 Dec 2023 01:24:37 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 774FA1718; Thu, 30 Nov 2023 22:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701411883; x=1732947883; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OrXONeV7YlBRhiTW3LB5rHkzQDQL8wPC8aPc0x4910w=; b=Zag7mclosS6/OwdbIaP6Xff5DAUvlz5TUY5nFCBZrpRXDa1a/PhvjlYt WSvVaAgfw1HJLiCrKcMyfTSYiztdJCuGxC6ga2XEseuX84lZy/yRxOHqS dSjTlB/ZyvLRwd1St35D5gg7sdUCn+CO0wlgvYnd041kb84oGWQ2qpn/b azFFCGJj0EPeVESlFvHQf/Ey2rhZRarQdwiVvmC6ebjRO34E9fpDKKyVM d+aX3lpBp7sg/bLoaDCkiPQy2uKKZ4rnbC2jIe6xg2vLQpijy+sSJVDDo tINh/0AgBbzRfn6o9UrENXwWM7JCO9LGn2pclK/H/OXyyQNuOvQd/8Yd+ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10910"; a="6722778" X-IronPort-AV: E=Sophos;i="6.04,241,1695711600"; d="scan'208";a="6722778" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2023 22:24:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10910"; a="803945044" X-IronPort-AV: E=Sophos;i="6.04,241,1695711600"; d="scan'208";a="803945044" Received: from p12ill20yoongsia.png.intel.com ([10.88.227.28]) by orsmga001.jf.intel.com with ESMTP; 30 Nov 2023 22:24:31 -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 v2 0/3] xsk: TX metadata txtime support Date: Fri, 1 Dec 2023 14:24:18 +0800 Message-Id: <20231201062421.1074768-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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 30 Nov 2023 22:24:52 -0800 (PST) This series expands XDP TX metadata framework to include ETF HW offload. Changes since v1: - rename Time-Based Scheduling (TBS) to Earliest TxTime First (ETF) - rename launch-time to txtime v1: https://patchwork.kernel.org/project/netdevbpf/cover/20231130162028.852006-1-yoong.siang.song@intel.com/ Song Yoong Siang (3): xsk: add ETF support to XDP Tx metadata net: stmmac: Add txtime support to XDP ZC selftests/bpf: Add txtime 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 | 9 +++++++++ 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, 81 insertions(+), 1 deletion(-) -- 2.34.1