* pull-request: bpf-next 2025-02-20
@ 2025-02-21 2:21 Martin KaFai Lau
2025-02-22 0:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Martin KaFai Lau @ 2025-02-21 2:21 UTC (permalink / raw)
To: David Miller, Jakub Kicinski, Eric Dumazet, Paolo Abeni
Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
Martin KaFai Lau, netdev, bpf
Hi David, hi Jakub, hi Paolo, hi Eric,
The following pull-request contains BPF updates for your *net-next* tree.
We've added 19 non-merge commits during the last 8 day(s) which contain
a total of 35 files changed, 1126 insertions(+), 53 deletions(-).
The main changes are:
1) Add TCP_RTO_MAX_MS support to bpf_set/getsockopt, from Jason Xing
2) Add network TX timestamping support to BPF sock_ops, from Jason Xing
3) Add TX metadata Launch Time support, from Song Yoong Siang
Please consider pulling these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev
Thanks a lot!
Also thanks to reporters, reviewers and testers of commits in this pull-request:
Choong Yong Liang, Faizal Rahim, Jakub Kicinski, Kuniyuki Iwashima,
Maciej Fijalkowski, Stanislav Fomichev, Willem de Bruijn
----------------------------------------------------------------
The following changes since commit 7a7e0197133d18cfd9931e7d3a842d0f5730223f:
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2025-02-13 12:43:30 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev
for you to fetch changes up to 494a04413cb194f869b4b3133b07dfbc607165aa:
Merge branch 'xsk-tx-metadata-launch-time-support' (2025-02-20 15:13:46 -0800)
----------------------------------------------------------------
bpf-next-for-netdev
----------------------------------------------------------------
Jason Xing (14):
bpf: Support TCP_RTO_MAX_MS for bpf_setsockopt
selftests/bpf: Add rto max for bpf_setsockopt test
bpf: Add networking timestamping support to bpf_get/setsockopt()
bpf: Prepare the sock_ops ctx and call bpf prog for TX timestamping
bpf: Prevent unsafe access to the sock fields in the BPF timestamping callback
bpf: Disable unsafe helpers in TX timestamping callbacks
net-timestamp: Prepare for isolating two modes of SO_TIMESTAMPING
bpf: Add BPF_SOCK_OPS_TSTAMP_SCHED_CB callback
bpf: Add BPF_SOCK_OPS_TSTAMP_SND_SW_CB callback
bpf: Add BPF_SOCK_OPS_TSTAMP_SND_HW_CB callback
bpf: Add BPF_SOCK_OPS_TSTAMP_ACK_CB callback
bpf: Add BPF_SOCK_OPS_TSTAMP_SENDMSG_CB callback
bpf: Support selective sampling for bpf timestamping
selftests/bpf: Add simple bpf tests in the tx path for timestamping feature
Martin KaFai Lau (3):
Merge branch 'bpf-support-setting-max-rto-for-bpf_setsockopt'
Merge branch 'net-timestamp-bpf-extension-to-equip-applications-transparently'
Merge branch 'xsk-tx-metadata-launch-time-support'
Song Yoong Siang (5):
xsk: Add launch time hardware offload support to XDP Tx metadata
selftests/bpf: Add launch time request to xdp_hw_metadata
net: stmmac: Add launch time support to XDP ZC
igc: Refactor empty frame insertion for launch time support
igc: Add launch time support to XDP ZC
Documentation/netlink/specs/netdev.yaml | 4 +
Documentation/networking/xsk-tx-metadata.rst | 62 ++++++
drivers/net/ethernet/intel/igc/igc.h | 1 +
drivers/net/ethernet/intel/igc/igc_main.c | 143 +++++++++---
drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 13 ++
include/linux/filter.h | 1 +
include/linux/skbuff.h | 12 +-
include/net/sock.h | 10 +
include/net/tcp.h | 7 +-
include/net/xdp_sock.h | 10 +
include/net/xdp_sock_drv.h | 1 +
include/uapi/linux/bpf.h | 30 +++
include/uapi/linux/if_xdp.h | 10 +
include/uapi/linux/netdev.h | 3 +
kernel/bpf/btf.c | 1 +
net/core/dev.c | 3 +-
net/core/filter.c | 80 ++++++-
net/core/netdev-genl.c | 2 +
net/core/skbuff.c | 53 +++++
net/core/sock.c | 14 ++
net/dsa/user.c | 2 +-
net/ipv4/tcp.c | 6 +-
net/ipv4/tcp_input.c | 2 +
net/ipv4/tcp_output.c | 2 +
net/socket.c | 2 +-
net/xdp/xsk.c | 3 +
tools/include/uapi/linux/bpf.h | 30 +++
tools/include/uapi/linux/if_xdp.h | 10 +
tools/include/uapi/linux/netdev.h | 3 +
.../selftests/bpf/prog_tests/net_timestamping.c | 239 ++++++++++++++++++++
.../testing/selftests/bpf/progs/bpf_tracing_net.h | 1 +
.../testing/selftests/bpf/progs/net_timestamping.c | 248 +++++++++++++++++++++
tools/testing/selftests/bpf/progs/setget_sockopt.c | 1 +
tools/testing/selftests/bpf/xdp_hw_metadata.c | 168 +++++++++++++-
35 files changed, 1126 insertions(+), 53 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/net_timestamping.c
create mode 100644 tools/testing/selftests/bpf/progs/net_timestamping.c
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pull-request: bpf-next 2025-02-20
2025-02-21 2:21 pull-request: bpf-next 2025-02-20 Martin KaFai Lau
@ 2025-02-22 0:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-02-22 0:30 UTC (permalink / raw)
To: Martin KaFai Lau
Cc: davem, kuba, edumazet, pabeni, ast, andrii, daniel, martin.lau,
netdev, bpf
Hello:
This pull request was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 20 Feb 2025 18:21:04 -0800 you wrote:
> Hi David, hi Jakub, hi Paolo, hi Eric,
>
> The following pull-request contains BPF updates for your *net-next* tree.
>
> We've added 19 non-merge commits during the last 8 day(s) which contain
> a total of 35 files changed, 1126 insertions(+), 53 deletions(-).
>
> [...]
Here is the summary with links:
- pull-request: bpf-next 2025-02-20
https://git.kernel.org/netdev/net-next/c/e87700965abe
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-22 0:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-21 2:21 pull-request: bpf-next 2025-02-20 Martin KaFai Lau
2025-02-22 0:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox