mbox series

pull-request: bpf-next 2025-02-20

Message ID 20250221022104.386462-1-martin.lau@linux.dev (mailing list archive)
State Accepted
Commit e87700965abeddcdb84c9540107c69ce08b87431
Headers show
Series pull-request: bpf-next 2025-02-20 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev

Checks

Context Check Description
netdev/tree_selection success Pull request for net-next, async
netdev/build_32bit success Errors and warnings before: 194 this patch: 194
netdev/build_tools success Errors and warnings before: 26 (+1) this patch: 26 (+1)
netdev/build_clang success Errors and warnings before: 228 this patch: 228
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn fail Errors and warnings before: 7057 this patch: 7058
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 198 this patch: 198

Message

Martin KaFai Lau Feb. 21, 2025, 2:21 a.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 22, 2025, 12:30 a.m. UTC | #1
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!