Re: [PATCH net-next 3/6] xsk: Add getsockopt XDP_OPTIONS

2019-04-26 Thread Björn Töpel
On 2019-04-26 13:42, Maxim Mikityanskiy wrote: Make it possible for the application to determine whether the AF_XDP socket is running in zero-copy mode. To achieve this, add a new getsockopt option XDP_OPTIONS that returns flags. The only flag supported for now is the zero-copy mode indicator. A

[PATCH net-next 3/6] xsk: Add getsockopt XDP_OPTIONS

2019-04-26 Thread Maxim Mikityanskiy
Make it possible for the application to determine whether the AF_XDP socket is running in zero-copy mode. To achieve this, add a new getsockopt option XDP_OPTIONS that returns flags. The only flag supported for now is the zero-copy mode indicator. Also query XDP_OPTIONS in the xdpsock sample appli