Re: [RFC Optimizing veth xsk performance 03/10] veth: add support for send queue

From: Simon Horman
Date: Fri Aug 04 2023 - 16:45:10 EST


On Thu, Aug 03, 2023 at 10:04:29PM +0800, huangjie.albert wrote:

...

> @@ -69,11 +74,25 @@ struct veth_rq {
> struct page_pool *page_pool;
> };
>
> +struct veth_sq {
> + struct napi_struct xdp_napi;
> + struct net_device *dev;
> + struct xdp_mem_info xdp_mem;
> + struct veth_sq_stats stats;
> + u32 queue_index;
> + /* this is for xsk */
> + struct {
> + struct xsk_buff_pool __rcu *pool;
> + u32 last_cpu;
> + }xsk;

nit: '}xsk;' -> '} xsk;'

Please consider running checkpatch.pl

...