Re: [net-next V8 PATCH 13/16] xdp: allow page_pool as an allocator type in xdp_return_frame

David Miller
2018-04-01T03:32:16Z

From: Jesper Dangaard Brouer <brouer@redhat.com>
Date: Sat, 31 Mar 2018 14:06:52 +0200

> diff --git a/net/core/xdp.c b/net/core/xdp.c
> index 8b2cb79b5de0..d8115903e454 100644
> --- a/net/core/xdp.c
> +++ b/net/core/xdp.c
...
> +static inline bool __is_supported_mem_type(enum xdp_mem_type type)

Again, please don't use inline in foo.c files.

Thank you.