lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <PH0PR11MB5830FE1DAF09BDBAD59A1A9AD881A@PH0PR11MB5830.namprd11.prod.outlook.com> Date: Fri, 1 Dec 2023 00:02:13 +0000 From: "Song, Yoong Siang" <yoong.siang.song@...el.com> To: Willem de Bruijn <willemdebruijn.kernel@...il.com>, "David S . Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Jonathan Corbet <corbet@....net>, Bjorn Topel <bjorn@...nel.org>, "Karlsson, Magnus" <magnus.karlsson@...el.com>, "Fijalkowski, Maciej" <maciej.fijalkowski@...el.com>, Jonathan Lemon <jonathan.lemon@...il.com>, Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>, Jesper Dangaard Brouer <hawk@...nel.org>, John Fastabend <john.fastabend@...il.com>, Stanislav Fomichev <sdf@...gle.com>, "Lorenzo Bianconi" <lorenzo@...nel.org>, Tariq Toukan <tariqt@...dia.com>, "Willem de Bruijn" <willemb@...gle.com>, Maxime Coquelin <mcoquelin.stm32@...il.com>, Andrii Nakryiko <andrii@...nel.org>, Mykola Lysenko <mykolal@...com>, "Martin KaFai Lau" <martin.lau@...ux.dev>, Song Liu <song@...nel.org>, Yonghong Song <yonghong.song@...ux.dev>, KP Singh <kpsingh@...nel.org>, Hao Luo <haoluo@...gle.com>, Jiri Olsa <jolsa@...nel.org>, Shuah Khan <shuah@...nel.org>, Alexandre Torgue <alexandre.torgue@...s.st.com>, "Jose Abreu" <joabreu@...opsys.com> CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>, "bpf@...r.kernel.org" <bpf@...r.kernel.org>, "xdp-hints@...-project.net" <xdp-hints@...-project.net>, "linux-stm32@...md-mailman.stormreply.com" <linux-stm32@...md-mailman.stormreply.com>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, "linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org> Subject: RE: [PATCH bpf-next 1/3] xsk: add launch time support to XDP Tx metadata On Friday, December 1, 2023 4:29 AM, Willem de Bruijn wrote: >Song Yoong Siang wrote: >> This patch extends the XDP Tx metadata framework to include Time-Based >> Scheduling (TBS) support where the NIC will schedule a packet for >> transmission at a pre-determined time called launch time. The value of >> launch time is communicated from user space to Ethernet driver via >> launch_time field of struct xsk_tx_metadata. >> >> Suggested-by: Stanislav Fomichev <sdf@...gle.com> >> Signed-off-by: Song Yoong Siang <yoong.siang.song@...el.com> >> --- >> Documentation/netlink/specs/netdev.yaml | 4 ++++ >> Documentation/networking/xsk-tx-metadata.rst | 5 +++++ >> 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 + >> 11 files changed, 50 insertions(+) >> >> diff --git a/Documentation/netlink/specs/netdev.yaml >b/Documentation/netlink/specs/netdev.yaml >> index 00439bcbd2e3..a602776bbfb4 100644 >> --- a/Documentation/netlink/specs/netdev.yaml >> +++ b/Documentation/netlink/specs/netdev.yaml >> @@ -66,6 +66,10 @@ definitions: >> name: tx-checksum >> doc: >> L3 checksum HW offload is supported by the driver. >> + - >> + name: launch-time >> + doc: >> + HW Time-Based Scheduling (TBS) is supported by the driver. > >Can we avoid introducing another term? We already have too many: >launchtime, earliest delivery time (EDT), SO_TXTIME, >pacing offload, earliest txtime first (ETF). > Sure. I will change TBS to ETF in my V2 so that it is aligned with etf command in tc application.
Powered by blists - more mailing lists