aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorAndre Guedes <[email protected]>2020-03-09 16:10:40 -0700
committerJeff Kirsher <[email protected]>2020-04-17 10:19:24 -0700
commitac9156b27564a089ec52f526bfcb59f61c34e7c6 (patch)
tree73109f4de9ce129e8b1084819a594b68800550af /lib/test-string_helpers.c
parentc24fd2481e0bd3d2c5755c7a3dc898ef249c0ddb (diff)
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 <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions