diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2014-06-24 17:19:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-26 20:14:04 -0400 |
commit | b85e4d8960f10e4b28613a3e7b76f8889a2089e3 (patch) | |
tree | 240e74511042f9bdd930dcb41c030f0eb910c4b1 /drivers/net/ethernet/amd/xgbe/xgbe-main.c | |
parent | 801c62d945c6121c0262924732e430f0553bfb37 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/amd/xgbe/xgbe-main.c')
-rw-r--r-- | drivers/net/ethernet/amd/xgbe/xgbe-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-main.c b/drivers/net/ethernet/amd/xgbe/xgbe-main.c index c3a48b7c2aed..b411ac557c47 100644 --- a/drivers/net/ethernet/amd/xgbe/xgbe-main.c +++ b/drivers/net/ethernet/amd/xgbe/xgbe-main.c | |||
@@ -397,6 +397,8 @@ static int xgbe_probe(struct platform_device *pdev) | |||
397 | netdev->features |= netdev->hw_features; | 397 | netdev->features |= netdev->hw_features; |
398 | pdata->netdev_features = netdev->features; | 398 | pdata->netdev_features = netdev->features; |
399 | 399 | ||
400 | netdev->priv_flags |= IFF_UNICAST_FLT; | ||
401 | |||
400 | xgbe_init_rx_coalesce(pdata); | 402 | xgbe_init_rx_coalesce(pdata); |
401 | xgbe_init_tx_coalesce(pdata); | 403 | xgbe_init_tx_coalesce(pdata); |
402 | 404 | ||