# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/08/7859904
- Thread: https://ratatoskr.run/netdev/2023/08/7859835/t.md

```text


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>
```
