]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/qlcnic/qlcnic.h
qlcnic: support mac learning
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Tue, 31 Aug 2010 17:17:51 +0000 (17:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Sep 2010 17:41:57 +0000 (10:41 -0700)
commitb5e5492c0d49e2fd6f51961d03b8533435e5e7f5
tree6020e160e5b9b84b5d6d94c68f77fb8482d63c71
parent7373373d100e5aebe751af0b2609a9a01dad5ac1
qlcnic: support mac learning

Device eswitch need to configure with VM's mac address.
Hypervisor doesn't provide any utility/callbacks to get VM's mac address.
Unicast mac address filter improves performance and also provide
packet loopback capability i.e communication between VM.

Above features is by default off, can be turned on with module parameter
'mac_learn'.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_hw.c
drivers/net/qlcnic/qlcnic_main.c