ixgbe_vf.h (230775) | ixgbe_vf.h (247822) |
---|---|
1/****************************************************************************** 2 | 1/****************************************************************************** 2 |
3 Copyright (c) 2001-2012, Intel Corporation | 3 Copyright (c) 2001-2013, Intel Corporation |
4 All rights reserved. 5 6 Redistribution and use in source and binary forms, with or without 7 modification, are permitted provided that the following conditions are met: 8 9 1. Redistributions of source code must retain the above copyright notice, 10 this list of conditions and the following disclaimer. 11 --- 13 unchanged lines hidden (view full) --- 25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 POSSIBILITY OF SUCH DAMAGE. 31 32******************************************************************************/ | 4 All rights reserved. 5 6 Redistribution and use in source and binary forms, with or without 7 modification, are permitted provided that the following conditions are met: 8 9 1. Redistributions of source code must retain the above copyright notice, 10 this list of conditions and the following disclaimer. 11 --- 13 unchanged lines hidden (view full) --- 25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 POSSIBILITY OF SUCH DAMAGE. 31 32******************************************************************************/ |
33/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_vf.h 230775 2012-01-30 16:42:02Z jfv $*/ | 33/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_vf.h 247822 2013-03-04 23:07:40Z jfv $*/ |
34 35#ifndef __IXGBE_VF_H__ 36#define __IXGBE_VF_H__ 37 38#define IXGBE_VF_IRQ_CLEAR_MASK 7 39#define IXGBE_VF_MAX_TX_QUEUES 8 40#define IXGBE_VF_MAX_RX_QUEUES 8 41 | 34 35#ifndef __IXGBE_VF_H__ 36#define __IXGBE_VF_H__ 37 38#define IXGBE_VF_IRQ_CLEAR_MASK 7 39#define IXGBE_VF_MAX_TX_QUEUES 8 40#define IXGBE_VF_MAX_RX_QUEUES 8 41 |
42/* DCB define */ 43#define IXGBE_VF_MAX_TRAFFIC_CLASS 8 44 |
|
42#define IXGBE_VFCTRL 0x00000 43#define IXGBE_VFSTATUS 0x00008 44#define IXGBE_VFLINKS 0x00010 45#define IXGBE_VFFRTIMER 0x00048 46#define IXGBE_VFRXMEMWRAP 0x03190 47#define IXGBE_VTEICR 0x00100 48#define IXGBE_VTEICS 0x00104 49#define IXGBE_VTEIMS 0x00108 --- 62 unchanged lines hidden (view full) --- 112s32 ixgbe_init_hw_vf(struct ixgbe_hw *hw); 113s32 ixgbe_start_hw_vf(struct ixgbe_hw *hw); 114s32 ixgbe_reset_hw_vf(struct ixgbe_hw *hw); 115s32 ixgbe_stop_adapter_vf(struct ixgbe_hw *hw); 116u32 ixgbe_get_num_of_tx_queues_vf(struct ixgbe_hw *hw); 117u32 ixgbe_get_num_of_rx_queues_vf(struct ixgbe_hw *hw); 118s32 ixgbe_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr); 119s32 ixgbe_setup_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed speed, | 45#define IXGBE_VFCTRL 0x00000 46#define IXGBE_VFSTATUS 0x00008 47#define IXGBE_VFLINKS 0x00010 48#define IXGBE_VFFRTIMER 0x00048 49#define IXGBE_VFRXMEMWRAP 0x03190 50#define IXGBE_VTEICR 0x00100 51#define IXGBE_VTEICS 0x00104 52#define IXGBE_VTEIMS 0x00108 --- 62 unchanged lines hidden (view full) --- 115s32 ixgbe_init_hw_vf(struct ixgbe_hw *hw); 116s32 ixgbe_start_hw_vf(struct ixgbe_hw *hw); 117s32 ixgbe_reset_hw_vf(struct ixgbe_hw *hw); 118s32 ixgbe_stop_adapter_vf(struct ixgbe_hw *hw); 119u32 ixgbe_get_num_of_tx_queues_vf(struct ixgbe_hw *hw); 120u32 ixgbe_get_num_of_rx_queues_vf(struct ixgbe_hw *hw); 121s32 ixgbe_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr); 122s32 ixgbe_setup_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed speed, |
120 bool autoneg, bool autoneg_wait_to_complete); | 123 bool autoneg_wait_to_complete); |
121s32 ixgbe_check_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed *speed, 122 bool *link_up, bool autoneg_wait_to_complete); 123s32 ixgbe_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, 124 u32 enable_addr); 125s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr); 126s32 ixgbe_update_mc_addr_list_vf(struct ixgbe_hw *hw, u8 *mc_addr_list, 127 u32 mc_addr_count, ixgbe_mc_addr_itr, 128 bool clear); 129s32 ixgbe_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on); | 124s32 ixgbe_check_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed *speed, 125 bool *link_up, bool autoneg_wait_to_complete); 126s32 ixgbe_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, 127 u32 enable_addr); 128s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr); 129s32 ixgbe_update_mc_addr_list_vf(struct ixgbe_hw *hw, u8 *mc_addr_list, 130 u32 mc_addr_count, ixgbe_mc_addr_itr, 131 bool clear); 132s32 ixgbe_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on); |
133void ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size); 134int ixgbevf_negotiate_api_version(struct ixgbe_hw *hw, int api); 135int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, 136 unsigned int *default_tc); |
|
130 131#endif /* __IXGBE_VF_H__ */ | 137 138#endif /* __IXGBE_VF_H__ */ |