linux-bl808/drivers/net/ethernet/intel/igc
Andre Guedes ac9156b275 igc: Fix default MAC address filter override
This patch fixes a bug when the user adds the first MAC address filter
via ethtool NFC mechanism.

When the first MAC address filter is added, it overwrites the default
MAC address filter configured at RAL[0] and RAH[0]. As consequence,
frames addressed to the interface MAC address are not sent to host
anymore.

This patch fixes the bug by calling igc_set_default_mac_filter() during
adapter init so the position 0 of adapter->mac_table[] is assigned to
the default MAC address.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-04-17 10:19:24 -07:00
..
igc.h igc: Remove dead code related to flower filter 2020-04-17 10:19:24 -07:00
igc_base.c igc: Add SKU for i225 device 2020-01-17 09:55:34 -08:00
igc_base.h
igc_defines.h igc: Fix NFC queue redirection support 2020-04-17 10:19:24 -07:00
igc_dump.c igc: Add dump options 2020-02-19 15:52:06 -08:00
igc_ethtool.c igc: Fix overwrites when dumping registers 2020-04-17 10:19:24 -07:00
igc_hw.h igc: Add SKU for i225 device 2020-01-17 09:55:34 -08:00
igc_i225.c
igc_i225.h
igc_mac.c
igc_mac.h
igc_main.c igc: Fix default MAC address filter override 2020-04-17 10:19:24 -07:00
igc_nvm.c
igc_nvm.h
igc_phy.c igc: Add PHY power management control 2020-01-17 09:55:34 -08:00
igc_phy.h
igc_ptp.c igc: Complete to commit Add basic skeleton for PTP 2020-02-19 16:51:28 -08:00
igc_regs.h igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00
igc_tsn.c igc: Add support for ETF offloading 2020-04-17 10:19:24 -07:00
igc_tsn.h igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00
Makefile igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00