Re: [ovs-dev] [PATCH] docs: Add header install command for afxdp.

2020-01-23 Thread William Tu
On Thu, Jan 23, 2020 at 02:14:03PM +0100, Ilya Maximets wrote: > > The 'XDP_RING_NEED_WAKEUP' and related flags are defined if_xdp.h, so after > > installing newer kernel, users have to update the kernel's header files, > > by doing: > > $ make headers_install INSTALL_HDR_PATH=/usr > > > Otherwi

[ovs-dev] [PATCH] docs: Add header install command for afxdp.

2020-01-23 Thread Ilya Maximets
> The 'XDP_RING_NEED_WAKEUP' and related flags are defined if_xdp.h, so after > installing newer kernel, users have to update the kernel's header files, > by doing: > $ make headers_install INSTALL_HDR_PATH=/usr > Otherwise the following error shows: > /usr/local/include/bpf/xsk.h: In function '

Re: [ovs-dev] [PATCH] docs: Add header install command for afxdp.

2020-01-21 Thread Ben Pfaff
On Tue, Jan 21, 2020 at 09:48:28AM -0800, William Tu wrote: > The 'XDP_RING_NEED_WAKEUP' and related flags are defined if_xdp.h, so after > installing newer kernel, users have to update the kernel's header files, > by doing: > $ make headers_install INSTALL_HDR_PATH=/usr > > Otherwise the follow

[ovs-dev] [PATCH] docs: Add header install command for afxdp.

2020-01-21 Thread William Tu
The 'XDP_RING_NEED_WAKEUP' and related flags are defined if_xdp.h, so after installing newer kernel, users have to update the kernel's header files, by doing: $ make headers_install INSTALL_HDR_PATH=/usr Otherwise the following error shows: /usr/local/include/bpf/xsk.h: In function 'xsk_ring_pro