[PATCH bpf-next v11 5/5] igc: Add launch time support to XDP ZC

2025-02-15 Thread Song Yoong Siang
Enable Launch Time Control (LTC) support for XDP zero copy via XDP Tx metadata framework. This patch has been tested with tools/testing/selftests/bpf/xdp_hw_metadata on Intel I225-LM Ethernet controller. Below are the test steps and result. Test 1: Send a single packet with the launch time set to

[PATCH bpf-next v11 4/5] igc: Refactor empty frame insertion for launch time support

2025-02-15 Thread Song Yoong Siang
Refactor the code for inserting an empty frame into a new function igc_insert_empty_frame(). This change extracts the logic for inserting an empty packet from igc_xmit_frame_ring() into a separate function, allowing it to be reused in future implementations, such as the XDP zero copy transmit funct

[PATCH bpf-next v11 3/5] net: stmmac: Add launch time support to XDP ZC

2025-02-15 Thread Song Yoong Siang
Enable launch time (Time-Based Scheduling) support for XDP zero copy via the XDP Tx metadata framework. This patch has been tested with tools/testing/selftests/bpf/xdp_hw_metadata on Intel Tiger Lake platform. Below are the test steps and result. Test 1: Send a single packet with the launch time

[PATCH bpf-next v11 2/5] selftests/bpf: Add launch time request to xdp_hw_metadata

2025-02-15 Thread Song Yoong Siang
Add launch time hardware offload request to xdp_hw_metadata. Users can configure the delta of launch time relative to HW RX-time using the "-l" argument. By default, the delta is set to 0 ns, which means the launch time is disabled. By setting the delta to a non-zero value, the launch time hardware

[PATCH bpf-next v11 1/5] xsk: Add launch time hardware offload support to XDP Tx metadata

2025-02-15 Thread Song Yoong Siang
Extend the XDP Tx metadata framework so that user can requests launch time hardware offload, where the Ethernet device will schedule the 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 f

[PATCH bpf-next v11 0/5] xsk: TX metadata Launch Time support

2025-02-15 Thread Song Yoong Siang
This series expands the XDP TX metadata framework to allow user applications to pass per packet 64-bit launch time directly to the kernel driver, requesting launch time hardware offload support. The XDP TX metadata framework will not perform any clock conversion or packet reordering. Please note t

RE: [PATCH bpf-next v10 1/5] xsk: Add launch time hardware offload support to XDP Tx metadata

2025-02-15 Thread Song, Yoong Siang
On Sunday, February 16, 2025 3:04 AM, Jakub Kicinski wrote: >On Sat, 15 Feb 2025 11:01:59 -0800 Jakub Kicinski wrote: >> On Fri, 7 Feb 2025 10:19:39 +0800 Song Yoong Siang wrote: >> > Extend the XDP Tx metadata framework so that user can requests launch time >> > hardware offload, where the Ether

Re: [PATCH bpf-next v10 1/5] xsk: Add launch time hardware offload support to XDP Tx metadata

2025-02-15 Thread Jakub Kicinski
On Sat, 15 Feb 2025 11:01:59 -0800 Jakub Kicinski wrote: > On Fri, 7 Feb 2025 10:19:39 +0800 Song Yoong Siang wrote: > > Extend the XDP Tx metadata framework so that user can requests launch time > > hardware offload, where the Ethernet device will schedule the packet for > > transmission at a pre

Re: [PATCH bpf-next v10 1/5] xsk: Add launch time hardware offload support to XDP Tx metadata

2025-02-15 Thread Jakub Kicinski
On Fri, 7 Feb 2025 10:19:39 +0800 Song Yoong Siang wrote: > Extend the XDP Tx metadata framework so that user can requests launch time > hardware offload, where the Ethernet device will schedule the packet for > transmission at a pre-determined time called launch time. The value of > launch time i