aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/e1000/e1000_82575.h
diff options
context:
space:
mode:
authorJack F Vogel <jfv@FreeBSD.org>2009-06-24 17:41:29 +0000
committerJack F Vogel <jfv@FreeBSD.org>2009-06-24 17:41:29 +0000
commit9d81738f8f543736fc9da9cf1622b381fec98361 (patch)
tree2ecc6e8fbc53f9378cbe7397d226334796447dd4 /sys/dev/e1000/e1000_82575.h
parent3ae218fe9caa22cc51a594583493778f5a99e6c9 (diff)
downloadsrc-9d81738f8f543736fc9da9cf1622b381fec98361.tar.gz
src-9d81738f8f543736fc9da9cf1622b381fec98361.zip
Updates for both the em and igb drivers, add support
for multiqueue tx, shared code updates, new device support, and some bug fixes.
Notes
Notes: svn path=/head/; revision=194865
Diffstat (limited to 'sys/dev/e1000/e1000_82575.h')
-rw-r--r--sys/dev/e1000/e1000_82575.h22
1 files changed, 6 insertions, 16 deletions
diff --git a/sys/dev/e1000/e1000_82575.h b/sys/dev/e1000/e1000_82575.h
index 1b7ce8923e13..34e0d29398f7 100644
--- a/sys/dev/e1000/e1000_82575.h
+++ b/sys/dev/e1000/e1000_82575.h
@@ -214,7 +214,7 @@ union e1000_adv_rx_desc {
} wb; /* writeback */
};
-#define E1000_RXDADV_RSSTYPE_MASK 0x0000F000
+#define E1000_RXDADV_RSSTYPE_MASK 0x0000000F
#define E1000_RXDADV_RSSTYPE_SHIFT 12
#define E1000_RXDADV_HDRBUFLEN_MASK 0x7FE0
#define E1000_RXDADV_HDRBUFLEN_SHIFT 5
@@ -421,21 +421,11 @@ struct e1000_adv_tx_context_desc {
#define E1000_IOVCTL 0x05BBC
#define E1000_IOVCTL_REUSE_VFQ 0x00000001
+#define E1000_RPLOLR_STRVLAN 0x40000000
+#define E1000_RPLOLR_STRCRC 0x80000000
+
#define ALL_QUEUES 0xFFFF
-void e1000_vmdq_loopback_enable_pf(struct e1000_hw *hw);
-void e1000_vmdq_loopback_disable_pf(struct e1000_hw *hw);
-void e1000_vmdq_replication_enable_pf(struct e1000_hw *hw, u32 enables);
-void e1000_vmdq_replication_disable_pf(struct e1000_hw *hw);
-void e1000_vmdq_enable_replication_mode_pf(struct e1000_hw *hw);
-void e1000_vmdq_broadcast_replication_enable_pf(struct e1000_hw *hw,
- u32 enables);
-void e1000_vmdq_multicast_promiscuous_enable_pf(struct e1000_hw *hw,
- u32 enables);
-void e1000_vmdq_broadcast_replication_disable_pf(struct e1000_hw *hw,
- u32 disables);
-void e1000_vmdq_multicast_promiscuous_disable_pf(struct e1000_hw *hw,
- u32 disables);
-void e1000_vmdq_aupe_enable_pf(struct e1000_hw *hw, u32 enables);
-void e1000_vmdq_aupe_disable_pf(struct e1000_hw *hw, u32 disables);
+void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable);
+void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable);
#endif /* _E1000_82575_H_ */