Re: [net-next PATCH RFC 4/8] net: core: add recycle capabilities on skbs via page_pool API
From: David Miller <davem@davemloft.net>
Date: 2018-12-08 07:15:16
From: David Miller <davem@davemloft.net>
Date: 2018-12-08 07:15:16
From: Jesper Dangaard Brouer <redacted> Date: Fri, 07 Dec 2018 00:25:47 +0100
@@ -744,6 +745,10 @@ struct sk_buff { head_frag:1, xmit_more:1, pfmemalloc:1; + /* TODO: Future idea, extend mem_info with __u8 flags, and + * move bits head_frag and pfmemalloc there. + */ + struct xdp_mem_info mem_info;
This is 4 bytes right? I guess I can live with this. Please do some microbenchmarks to make sure this doesn't show any obvious regressions. Thanks.