summaryrefslogtreecommitdiff
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
authorSivakumar Subramani <Sivakumar.Subramani@neterion.com>2007-02-24 01:59:39 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-27 04:27:11 -0500
commit926930b202d56c3dfb6aea0a0c6bfba2b87a8c03 (patch)
treef90a836770fbed53e8291b21c242d7addd3e6b28 /drivers/net/s2io.h
parent9fc93a41a1ad11da128f37e60cac01b67990cfb4 (diff)
downloadlinux-3.10-926930b202d56c3dfb6aea0a0c6bfba2b87a8c03.tar.gz
linux-3.10-926930b202d56c3dfb6aea0a0c6bfba2b87a8c03.tar.bz2
linux-3.10-926930b202d56c3dfb6aea0a0c6bfba2b87a8c03.zip
S2IO: Added a loadable parameter to enable or disable vlan stripping in frame.
- Added code to not to strip vlan tag when driver is in promiscuous mode - Added module loadable parameter 'vlan_tag_strip" through which user can enable or disable vlan stripping irrespective of mode ( promiscuous or non-promiscuous ). Signed-off-by: Sivakumar Subramani <sivakumar.subramani@neterion.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index d23a50f3b70..803137ca4b6 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -297,6 +297,9 @@ struct stat_block {
struct xpakStat xpak_stat;
};
+/* Default value for 'vlan_strip_tag' configuration parameter */
+#define NO_STRIP_IN_PROMISC 2
+
/*
* Structures representing different init time configuration
* parameters of the NIC.