mbox series

[net-next,v2,0/1] idpf: Don't hardcode napi_struct size

Message ID 20240930162422.288995-1-jdamato@fastly.com
Headers show
Series idpf: Don't hardcode napi_struct size | expand

Message

Joe Damato Sept. 30, 2024, 4:24 p.m. UTC
Greetings:

Welcome to v2. This was previously an RFC [1], only changes applied are
to the commit message. See changelog below.

While working on an RFC which adds fields to napi_struct [2], I got a
warning from the kernel test robot about tripping an assertion in idpf
which seems to hardcode the size of napi_struct. The assertion was
triggered after applying patch 3 from the RFC [3].

I did not want to the include this change in my RFC v4 because I wanted
to keep the review of that RFC focused on the in core work instead, so I
was hoping Intel would be OK to merge this (or a change which
accomplishes the same thing).

Please note: I do not have this hardware and thus have only compile
tested this.

Thanks,
Joe

v2:
  - No longer an RFC
  - Added Simon Horman's Reviewed-By tag

[1]: https://lore.kernel.org/lkml/20240925180017.82891-1-jdamato@fastly.com/
[2]: https://lore.kernel.org/netdev/20240912100738.16567-1-jdamato@fastly.com/
[3]: https://lore.kernel.org/netdev/20240912100738.16567-6-jdamato@fastly.com/

Joe Damato (1):
  idpf: Don't hard code napi_struct size

 drivers/net/ethernet/intel/idpf/idpf_txrx.h | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)