Re: [PATCH bpf-next v2 2/3] net: move struct netdev_rx_queue out of netdevice.h

From
Jesper Dangaard Brouer <hawk@kernel.org>
Date
2023-08-03 14:24:32
Also in
bpf
Reply to
Jakub Kicinski, 2023-08-03

On 03/08/2023 03.02, Jakub Kicinski wrote:
struct netdev_rx_queue is touched in only a few places
and having it defined in netdevice.h brings in the dependency
on xdp.h, because struct xdp_rxq_info gets embedded in
struct netdev_rx_queue.

In prep for removal of xdp.h from netdevice.h move all
the netdev_rx_queue stuff to a new header.

We could technically break the new header up to avoid
the sysfs.h include but it's so rarely included it
doesn't seem to be worth it at this point.

Reviewed-by: Amritha Nambiar<redacted>
Signed-off-by: Jakub Kicinski<kuba@kernel.org>
---
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Thread (10 messages) 10 messages, 5 authors, last reply 2023-08-03
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