Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

idpf: Don't hard code napi_struct size

The sizeof(struct napi_struct) can change. Don't hardcode the size to
400 bytes and instead use "sizeof(struct napi_struct)".

Suggested-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Joe Damato <jdamato@fastly.com>
Acked-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://patch.msgid.link/20241004105407.73585-1-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Joe Damato and committed by
Jakub Kicinski
49717ef0 489cee4c

+2 -1
+2 -1
drivers/net/ethernet/intel/idpf/idpf_txrx.h
··· 438 438 __cacheline_group_end_aligned(cold); 439 439 }; 440 440 libeth_cacheline_set_assert(struct idpf_q_vector, 112, 441 - 424 + 2 * sizeof(struct dim), 441 + 24 + sizeof(struct napi_struct) + 442 + 2 * sizeof(struct dim), 442 443 8 + sizeof(cpumask_var_t)); 443 444 444 445 struct idpf_rx_queue_stats {