mbox series

[0/2,net-next,v2] igb/igc: fix XDP registration

Message ID 20220114114354.1071776-1-vinschen@redhat.com (mailing list archive)
Headers show
Series igb/igc: fix XDP registration | expand

Message

Corinna Vinschen Jan. 14, 2022, 11:43 a.m. UTC
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. 

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