amd-xgbe: Change destination address filtering support
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 24 Jun 2014 21:19:29 +0000 (16:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jun 2014 00:14:04 +0000 (17:14 -0700)
commitb85e4d8960f10e4b28613a3e7b76f8889a2089e3
tree240e74511042f9bdd930dcb41c030f0eb910c4b1
parent801c62d945c6121c0262924732e430f0553bfb37
amd-xgbe: Change destination address filtering support

Currently the driver makes use of the additional mac address
registers in the hardware to provide perfect filtering.  The
hardware can also have a set of hash table registers that can
be used for imperfect filtering.  By using imperfect filtering
the additional mac address registers can be used for layer 2
filtering support.  Use the hash table registers if the device
has them.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/Kconfig
drivers/net/ethernet/amd/xgbe/xgbe-common.h
drivers/net/ethernet/amd/xgbe/xgbe-dev.c
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
drivers/net/ethernet/amd/xgbe/xgbe-main.c
drivers/net/ethernet/amd/xgbe/xgbe.h