Re: [net-next v2 1/1] idpf: Don't hard code napi_struct size

From: Jakub Kicinski
Date: Thu Oct 03 2024 - 20:32:17 EST


On Mon, 30 Sep 2024 16:24:22 +0000 Joe Damato wrote:
> The sizeof(struct napi_struct) can change. Don't hardcode the size to
> 400 bytes and instead use "sizeof(struct napi_struct)".
>
> While fixing this, also move other calculations into compile time
> defines.

Anticipating v3 with smaller diff based on Olek's suggestion so:
pw-bot: cr