aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/interval_tree_test_main.c
diff options
context:
space:
mode:
authorTim Hostetler <thostet@google.com>2025-11-14 13:11:46 -0800
committerPaolo Abeni <pabeni@redhat.com>2025-11-18 15:52:43 +0100
commit1b42e07af1ee65d10ee72f90d6fbd02a9b53208c (patch)
treecd5f768f547c9feb310e91adf1ac9b21246dd65b /lib/interval_tree_test_main.c
parentgve: Prepare bpf_xdp_metadata_rx_timestamp support (diff)
downloadwireguard-linux-1b42e07af1ee65d10ee72f90d6fbd02a9b53208c.tar.xz
wireguard-linux-1b42e07af1ee65d10ee72f90d6fbd02a9b53208c.zip
gve: Add Rx HWTS metadata to AF_XDP ZC mode
By overlaying the struct gve_xdp_buff on top of the struct xdp_buff_xsk that AF_XDP utilizes, the driver records the 32 bit timestamp via the completion descriptor and the cached 64 bit NIC timestamp via gve_priv. The driver's implementation of xmo_rx_timestamp extends the timestamp to the full and up to date 64 bit timestamp and returns it to the user. gve_rx_xsk_dqo is modified to accept a pointer to the completion descriptor and no longer takes a buf_len explicitly as it can be pulled out of the descriptor. With this patch gve now supports bpf_xdp_metadata_rx_timestamp. Signed-off-by: Tim Hostetler <thostet@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com> Signed-off-by: Joshua Washington <joshwash@google.com> Link: https://patch.msgid.link/20251114211146.292068-5-joshwash@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions