From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corinna Vinschen Date: Wed, 19 Jan 2022 15:52:57 +0100 Subject: [Intel-wired-lan] [PATCH 0/2 net-next v6] igb/igc: fix XDP registration Message-ID: <20220119145259.1790015-1-vinschen@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: 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