Thread (21 messages) 21 messages, 6 authors, 2023-12-04

Re: [PATCH v8 net-next 4/5] net-device: reorganize net_device fast path variables

From: Shakeel Butt <hidden>
Date: 2023-12-02 20:28:16

On Wed, Nov 29, 2023 at 07:27:55AM +0000, Coco Li wrote:
Reorganize fast path variables on tx-txrx-rx order
Fastpath variables end after npinfo.

Below data generated with pahole on x86 architecture.

Fast path variables span cache lines before change: 12
Fast path variables span cache lines after change: 4

Suggested-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Coco Li <redacted>
Reviewed-by: Shakeel Butt <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help