Re: [bpf-next PATCH] net: avoid including xdp.h in filter.h

2018-02-13 Thread John Fastabend
On 02/13/2018 05:57 PM, Alexei Starovoitov wrote: > On Tue, Feb 13, 2018 at 02:15:36PM +0100, Jesper Dangaard Brouer wrote: >> If is sufficient with a forward declaration of struct xdp_rxq_info in >> linux/filter.h, which avoids including net/xdp.h. This was originally >> suggested by John

Re: [bpf-next PATCH] net: avoid including xdp.h in filter.h

2018-02-13 Thread Alexei Starovoitov
On Tue, Feb 13, 2018 at 02:15:36PM +0100, Jesper Dangaard Brouer wrote: > If is sufficient with a forward declaration of struct xdp_rxq_info in > linux/filter.h, which avoids including net/xdp.h. This was originally > suggested by John Fastabend during the review phase, but wasn't > included in

[bpf-next PATCH] net: avoid including xdp.h in filter.h

2018-02-13 Thread Jesper Dangaard Brouer
If is sufficient with a forward declaration of struct xdp_rxq_info in linux/filter.h, which avoids including net/xdp.h. This was originally suggested by John Fastabend during the review phase, but wasn't included in the final patchset revision. Thus, this followup. Suggested-by: John Fastabend