netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 net-next v6] igb/igc: fix XDP registration
@ 2022-01-19 14:52 Corinna Vinschen
  2022-01-19 14:52 ` [PATCH 1/2 net-next v6] igc: avoid kernel warning when changing RX ring parameters Corinna Vinschen
  2022-01-19 14:52 ` [PATCH 2/2 net-next v6] igb: refactor XDP registration Corinna Vinschen
  0 siblings, 2 replies; 7+ messages in thread
From: Corinna Vinschen @ 2022-01-19 14:52 UTC (permalink / raw)
  To: intel-wired-lan, netdev, Vinicius Costa Gomes
  Cc: Lennert Buytenhek, Alexander Lobakin

Fix the kernel warning "Missing unregister, handled but fix driver"
when running, e.g.,

  $ ethtool -G eth0 rx 1024

on igc.  Remove memset hack from igb and align igb code to igc. 

v3: use dev_err rather than netdev_err, just as in error case.
v4: fix a return copy/pasted from original igc code into the correct
    `goto err', improve commit message.
v5: add missing dma_free_coherent calls in error case.
v6: refactor code to register with XDP first, as in igc originally.

Corinna Vinschen (2):
  igc: avoid kernel warning when changing RX ring parameters
  igb: refactor XDP registration

 drivers/net/ethernet/intel/igb/igb_ethtool.c |  4 ----
 drivers/net/ethernet/intel/igb/igb_main.c    | 19 +++++++++++++------
 drivers/net/ethernet/intel/igc/igc_main.c    |  3 +++
 3 files changed, 16 insertions(+), 10 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2022-02-07  9:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-19 14:52 [PATCH 0/2 net-next v6] igb/igc: fix XDP registration Corinna Vinschen
2022-01-19 14:52 ` [PATCH 1/2 net-next v6] igc: avoid kernel warning when changing RX ring parameters Corinna Vinschen
2022-01-26 17:13   ` Vinicius Costa Gomes
2022-01-19 14:52 ` [PATCH 2/2 net-next v6] igb: refactor XDP registration Corinna Vinschen
2022-01-26 17:14   ` Vinicius Costa Gomes
2022-02-05 12:14   ` [Intel-wired-lan] " Corinna Vinschen
2022-02-07  8:58   ` Penigalapati, Sandeep

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).