diff options
author | 2014-06-24 16:19:24 -0500 | |
---|---|---|
committer | 2014-06-26 17:14:04 -0700 | |
commit | 801c62d945c6121c0262924732e430f0553bfb37 (patch) | |
tree | 1f0b7aa98c8ee048d54b141416dccf56e93e9d8b /net/tipc/node.h | |
parent | amd-xgbe: VLAN Rx tag stripping fix (diff) | |
download | wireguard-linux-801c62d945c6121c0262924732e430f0553bfb37.tar.xz wireguard-linux-801c62d945c6121c0262924732e430f0553bfb37.zip |
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 'net/tipc/node.h')
0 files changed, 0 insertions, 0 deletions