]>
git.proxmox.com Git - ceph.git/blob - ceph/src/dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.h
1 /*******************************************************************************
3 Intel 10 Gigabit PCI Express Linux driver
4 Copyright(c) 1999 - 2012 Intel Corporation.
6 This program is free software; you can redistribute it and/or modify it
7 under the terms and conditions of the GNU General Public License,
8 version 2, as published by the Free Software Foundation.
10 This program is distributed in the hope it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 You should have received a copy of the GNU General Public License along with
16 this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
19 The full GNU General Public License is included in this distribution in
20 the file called "LICENSE.GPL".
23 e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
24 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
26 *******************************************************************************/
28 #ifndef _IXGBE_82599_H_
29 #define _IXGBE_82599_H_
31 s32
ixgbe_get_link_capabilities_82599(struct ixgbe_hw
*hw
,
32 ixgbe_link_speed
*speed
, bool *autoneg
);
33 enum ixgbe_media_type
ixgbe_get_media_type_82599(struct ixgbe_hw
*hw
);
34 void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw
*hw
);
35 void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw
*hw
);
36 void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw
*hw
);
37 s32
ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw
*hw
,
38 ixgbe_link_speed speed
, bool autoneg
,
39 bool autoneg_wait_to_complete
);
40 s32
ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw
*hw
,
41 ixgbe_link_speed speed
, bool autoneg
,
42 bool autoneg_wait_to_complete
);
43 s32
ixgbe_start_mac_link_82599(struct ixgbe_hw
*hw
,
44 bool autoneg_wait_to_complete
);
45 s32
ixgbe_setup_mac_link_82599(struct ixgbe_hw
*hw
, ixgbe_link_speed speed
,
46 bool autoneg
, bool autoneg_wait_to_complete
);
47 s32
ixgbe_setup_sfp_modules_82599(struct ixgbe_hw
*hw
);
48 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw
*hw
);
49 s32
ixgbe_reset_hw_82599(struct ixgbe_hw
*hw
);
50 s32
ixgbe_read_analog_reg8_82599(struct ixgbe_hw
*hw
, u32 reg
, u8
*val
);
51 s32
ixgbe_write_analog_reg8_82599(struct ixgbe_hw
*hw
, u32 reg
, u8 val
);
52 s32
ixgbe_start_hw_82599(struct ixgbe_hw
*hw
);
53 s32
ixgbe_identify_phy_82599(struct ixgbe_hw
*hw
);
54 s32
ixgbe_init_phy_ops_82599(struct ixgbe_hw
*hw
);
55 u32
ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw
*hw
);
56 s32
ixgbe_enable_rx_dma_82599(struct ixgbe_hw
*hw
, u32 regval
);
57 bool ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw
*hw
);
58 #endif /* _IXGBE_82599_H_ */