From: Lendacky, Thomas Date: Tue, 24 Jun 2014 21:19:24 +0000 (-0500) Subject: amd-xgbe: Add support for VLAN filtering X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~256^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=801c62d945c6121c0262924732e430f0553bfb37;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed