From: Jakub Kicinski <kuba@kernel.org>
To: ast@kernel.org, daniel@iogearbox.net
Cc: bpf@vger.kernel.org, netdev@vger.kernel.org,
Jakub Kicinski <kuba@kernel.org>
Subject: [PATCH bpf-next v2 0/2] lighten uapi/bpf.h rebuilds
Date: Wed, 29 Dec 2021 17:27:40 -0800 [thread overview]
Message-ID: <20211230012742.770642-1-kuba@kernel.org> (raw)
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(-)
--
2.31.1
next reply other threads:[~2021-12-30 1:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-30 1:27 Jakub Kicinski [this message]
2021-12-30 1:27 ` [PATCH bpf-next v2 1/2] net: add includes masked by netdevice.h including uapi/bpf.h Jakub Kicinski
2022-01-06 13:03 ` Wei Liu
2021-12-30 1:27 ` [PATCH bpf-next v2 2/2] bpf: invert the dependency between bpf-netns.h and netns/bpf.h Jakub Kicinski
2021-12-30 4:09 ` [PATCH bpf-next v2 0/2] lighten uapi/bpf.h rebuilds Alexei Starovoitov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211230012742.770642-1-kuba@kernel.org \
--to=kuba@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).