Skip to content

lighten uapi/bpf.h rebuilds

Jakub Kicinski bpf linux-arm-kernel linux-hyperv linux-omap netdev 2 versions – Applied

Status from this message: Applied. Thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2net: add includes masked by netdevice.h including uapi/bpf.hdrivers/net/ethernet/amazon/ena/ena_netdev.h drivers/net/ethernet/cavium/thunder/nicvf_queues.c drivers/net/ethernet/microsoft/mana/mana_en.c +4 more+9 -01 reply
2/2bpf: invert the dependency between bpf-netns.h and netns/bpf.hinclude/linux/bpf-netns.h include/net/netns/bpf.h+9 -80 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchWei Liu
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/2] lighten uapi/bpf.h rebuilds

Last change in the bpf headers - disentangling BPF uapi from netdevice.h. Both linux/bpf.h and uapi/bpf.h changes should now rebuild ~1k objects down from the original ~18k. There's probably more that can be done but it's diminishing returns.

Split into two patches for ease of review.

Jakub Kicinski (2):
net: add includes masked by netdevice.h including uapi/bpf.h
bpf: invert the dependency between bpf-netns.h and netns/bpf.h

 drivers/net/ethernet/amazon/ena/ena_netdev.h       | 1 +
 drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 +
 drivers/net/ethernet/microsoft/mana/mana_en.c      | 2 ++
 drivers/net/ethernet/stmicro/stmmac/stmmac.h       | 1 +
 drivers/net/ethernet/ti/cpsw_priv.h                | 2 ++
 include/linux/bpf-netns.h                          | 8 +-------
 include/net/ip6_fib.h                              | 1 +
 include/net/netns/bpf.h                            | 9 ++++++++-
 kernel/bpf/net_namespace.c                         | 1 +
 9 files changed, 18 insertions(+), 8 deletions(-)
Signature · 1 line
2.31.1