]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix bug in tx promiscuous mode settings
authorManish Chopra <manishc@marvell.com>
Mon, 28 Jan 2019 18:05:04 +0000 (10:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2019 19:13:34 +0000 (11:13 -0800)
commitb5c68ba4c4d690607e1d3adcbb40c24f29689cd8
tree65fc3265d85513bfe2852463a7e784b84082f4b5
parent4659ea32ce70755a647dcfa4c06b4bd8b3910ce8
qed: Fix bug in tx promiscuous mode settings

When running tx switched traffic between VNICs
created via a bridge(to which VFs are added),
adapter drops the unicast packets in tx flow due to
VNIC's ucast mac being unknown to it. But VF interfaces
being in promiscuous mode should have caused adapter
to accept all the unknown ucast packets. Later, it
was found that driver doesn't really configure tx
promiscuous mode settings to accept all unknown unicast macs.

This patch fixes tx promiscuous mode settings to accept all
unknown/unmatched unicast macs and works out the scenario.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_l2.c