Re: [PATCH v5 bpf-next 7/9] xdp: Helpers for disabling napi_direct of xdp_return_frame

2018-07-30 Thread Jesper Dangaard Brouer
On Thu, 26 Jul 2018 23:40:30 +0900 Toshiaki Makita wrote: > From: Toshiaki Makita > > We need some mechanism to disable napi_direct on calling > xdp_return_frame_rx_napi() from some context. > When veth gets support of XDP_REDIRECT, it will redirects packets which > are redirected from other

[PATCH v5 bpf-next 7/9] xdp: Helpers for disabling napi_direct of xdp_return_frame

2018-07-26 Thread Toshiaki Makita
From: Toshiaki Makita We need some mechanism to disable napi_direct on calling xdp_return_frame_rx_napi() from some context. When veth gets support of XDP_REDIRECT, it will redirects packets which are redirected from other devices. On redirection veth will reuse xdp_mem_info of the redirection