OSDN Git Service

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)
commit9e71a15d8b5bbce25c637f7f8833cd3f45b65646
tree65fc3265d85513bfe2852463a7e784b84082f4b5
parentca899324305d953c19abb583b96f0dd81274b0b2
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