Re: [PATCH bpf-next 0/3] net: struct netdev_rx_queue and xdp.h reshuffling

From
Alexei Starovoitov <hidden>
Date
2023-08-02 02:31:42
Also in
bpf
Reply to
Jakub Kicinski, 2023-08-02
On Tue, Aug 1, 2023 at 5:33 PM Jakub Kicinski [off-list ref] wrote:
While poking at struct netdev_rx_queue I got annoyed by
the huge rebuild times. I split it out from netdevice.h
and then realized that it was the main reason we included
xdp.h in there. So I removed that dependency as well.

This gives us very pleasant build times for both xdp.h
and struct netdev_rx_queue changes.

I'm sending this for bpf-next because I think it'd be easiest
if it goes in there, and then bpf-next gets flushed soon after?
I can also make a branch on merge-base for net-next and bpf-next..
Sounds like a plan to me.
Especially considering that targeting bpf-next will exercise BPF CI...
and it's not happy at the moment:
../net/netfilter/nf_conntrack_bpf.c: In function ‘bpf_xdp_ct_alloc’:
../net/netfilter/nf_conntrack_bpf.c:258:44: error: dereferencing
pointer to incomplete type ‘struct xdp_buff’
258 | nfct = __bpf_nf_ct_alloc_entry(dev_net(ctx->rxq->dev),
bpf_tuple, tuple__sz,
|
Thread (10 messages) 10 messages, 6 authors, last reply 2023-08-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help