diff options
author | Jack F Vogel <jfv@FreeBSD.org> | 2010-06-30 21:05:51 +0000 |
---|---|---|
committer | Jack F Vogel <jfv@FreeBSD.org> | 2010-06-30 21:05:51 +0000 |
commit | b8270585798e1496c95ecc25d1b046a0efab964b (patch) | |
tree | 983502f00d6c7473378965b56fdca1e888a7e596 /sys/dev/e1000/e1000_82575.h | |
parent | 049a97931c5bd75650a5278f77ebaabcbdfbe05f (diff) | |
download | src-b8270585798e1496c95ecc25d1b046a0efab964b.tar.gz src-b8270585798e1496c95ecc25d1b046a0efab964b.zip |
OK, I was a bit sleep this morning and checked in
the core changes but left out the shared code, lol.
Well, and a couple fixes to the core... hopefully
this will all be complete now.
Happy happy joy joy :)
Notes
Notes:
svn path=/head/; revision=209616
Diffstat (limited to 'sys/dev/e1000/e1000_82575.h')
-rw-r--r-- | sys/dev/e1000/e1000_82575.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/e1000/e1000_82575.h b/sys/dev/e1000/e1000_82575.h index 1fc7e26dd590..d64538cc5e0b 100644 --- a/sys/dev/e1000/e1000_82575.h +++ b/sys/dev/e1000/e1000_82575.h @@ -459,5 +459,16 @@ struct e1000_adv_tx_context_desc { #define E1000_RXPBS_SIZE_MASK_82576 0x0000007F void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable); void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable); +enum e1000_promisc_type { + e1000_promisc_disabled = 0, /* all promisc modes disabled */ + e1000_promisc_unicast = 1, /* unicast promiscuous enabled */ + e1000_promisc_multicast = 2, /* multicast promiscuous enabled */ + e1000_promisc_enabled = 3, /* both uni and multicast promisc */ + e1000_num_promisc_types +}; + +void e1000_vfta_set_vf(struct e1000_hw *, u16, bool); +void e1000_rlpml_set_vf(struct e1000_hw *, u16); +s32 e1000_promisc_set_vf(struct e1000_hw *, enum e1000_promisc_type type); u16 e1000_rxpbs_adjust_82580(u32 data); #endif /* _E1000_82575_H_ */ |