summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd/Kconfig
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2014-06-25 01:19:24 +0400
committerDavid S. Miller <davem@davemloft.net>2014-06-27 04:14:04 +0400
commit801c62d945c6121c0262924732e430f0553bfb37 (patch)
tree1f0b7aa98c8ee048d54b141416dccf56e93e9d8b /drivers/net/ethernet/amd/Kconfig
parentc52e9c6385ec5578eaac2989b855742e52777711 (diff)
downloadlinux-801c62d945c6121c0262924732e430f0553bfb37.tar.xz
amd-xgbe: Add support for VLAN filtering
This patch adds support for (imperfect) filtering of VLAN tag ids using a 16-bit filter hash table. When VLANs are added, a 4-bit hash is calculated with the result indicating the bit in the hash table to set. This table is used by the hardware to drop packets with a VLAN id that does not hash to a set bit in the table. 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/Kconfig')
-rw-r--r--drivers/net/ethernet/amd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/amd/Kconfig b/drivers/net/ethernet/amd/Kconfig
index bbaf36d9f5e1..8e83e4c8fff0 100644
--- a/drivers/net/ethernet/amd/Kconfig
+++ b/drivers/net/ethernet/amd/Kconfig
@@ -182,6 +182,7 @@ config AMD_XGBE
depends on OF_NET
select PHYLIB
select AMD_XGBE_PHY
+ select BITREVERSE
---help---
This driver supports the AMD 10GbE Ethernet device found on an
AMD SoC.