netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC net-next 0/1] idpf: Don't hardcode napi_struct size
@ 2024-09-25 18:00 Joe Damato
  2024-09-25 18:00 ` [RFC net-next 1/1] idpf: Don't hard code " Joe Damato
  0 siblings, 1 reply; 12+ messages in thread
From: Joe Damato @ 2024-09-25 18:00 UTC (permalink / raw)
  To: netdev
  Cc: Joe Damato, Alexander Lobakin, David S. Miller, Eric Dumazet,
	moderated list:INTEL ETHERNET DRIVERS, Jakub Kicinski, open list,
	Paolo Abeni, Przemek Kitszel, Tony Nguyen

Greetings:

While working on an RFC which adds fields to napi_struct [1], 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 [2].

I'm submitting this as an RFC so the Intel folks have time to take a
look and request changes, but I plan to submit this next week when
net-next reopens.

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

[1]: https://lore.kernel.org/netdev/20240912100738.16567-1-jdamato@fastly.com/
[2]: 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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-10-03 15:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-25 18:00 [RFC net-next 0/1] idpf: Don't hardcode napi_struct size Joe Damato
2024-09-25 18:00 ` [RFC net-next 1/1] idpf: Don't hard code " Joe Damato
2024-09-25 20:33   ` Simon Horman
2024-09-30 12:33   ` Alexander Lobakin
2024-09-30 12:38     ` Alexander Lobakin
2024-09-30 13:10       ` Przemek Kitszel
2024-09-30 22:17         ` Joe Damato
2024-10-01 13:14           ` Alexander Lobakin
2024-10-01 14:44             ` Joe Damato
2024-10-02 17:17               ` Jakub Kicinski
2024-10-03 13:35                 ` Alexander Lobakin
2024-10-03 15:46                   ` Joe Damato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).