All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 net-next v4] igb/igc: fix XDP registration
@ 2022-01-14 19:45 ` Corinna Vinschen
  0 siblings, 0 replies; 10+ messages in thread
From: Corinna Vinschen @ 2022-01-14 19:45 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.

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    | 12 +++++++++---
 drivers/net/ethernet/intel/igc/igc_main.c    | 20 +++++++++++---------
 3 files changed, 20 insertions(+), 16 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2022-01-17 15:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 19:45 [PATCH 0/2 net-next v4] igb/igc: fix XDP registration Corinna Vinschen
2022-01-14 19:45 ` [Intel-wired-lan] " Corinna Vinschen
2022-01-14 19:45 ` [PATCH 1/2 net-next v4] igc: avoid kernel warning when changing RX ring parameters Corinna Vinschen
2022-01-14 19:45   ` [Intel-wired-lan] " Corinna Vinschen
2022-01-17 14:57   ` Lennert Buytenhek
2022-01-17 14:57     ` [Intel-wired-lan] " Lennert Buytenhek
2022-01-17 15:57     ` Corinna Vinschen
2022-01-17 15:57       ` [Intel-wired-lan] " Corinna Vinschen
2022-01-14 19:45 ` [PATCH 2/2 net-next v4] igb: refactor XDP registration Corinna Vinschen
2022-01-14 19:45   ` [Intel-wired-lan] " Corinna Vinschen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.