]>
git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*******************************************************************************
4 Intel 10 Gigabit PCI Express Linux driver
5 Copyright(c) 1999 - 2012 Intel Corporation.
8 e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
9 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
11 *******************************************************************************/
13 #ifndef _IXGBE_82599_H_
14 #define _IXGBE_82599_H_
16 s32
ixgbe_get_link_capabilities_82599(struct ixgbe_hw
*hw
,
17 ixgbe_link_speed
*speed
, bool *autoneg
);
18 enum ixgbe_media_type
ixgbe_get_media_type_82599(struct ixgbe_hw
*hw
);
19 void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw
*hw
);
20 void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw
*hw
);
21 void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw
*hw
);
22 s32
ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw
*hw
,
23 ixgbe_link_speed speed
, bool autoneg
,
24 bool autoneg_wait_to_complete
);
25 s32
ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw
*hw
,
26 ixgbe_link_speed speed
, bool autoneg
,
27 bool autoneg_wait_to_complete
);
28 s32
ixgbe_start_mac_link_82599(struct ixgbe_hw
*hw
,
29 bool autoneg_wait_to_complete
);
30 s32
ixgbe_setup_mac_link_82599(struct ixgbe_hw
*hw
, ixgbe_link_speed speed
,
31 bool autoneg
, bool autoneg_wait_to_complete
);
32 s32
ixgbe_setup_sfp_modules_82599(struct ixgbe_hw
*hw
);
33 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw
*hw
);
34 s32
ixgbe_reset_hw_82599(struct ixgbe_hw
*hw
);
35 s32
ixgbe_read_analog_reg8_82599(struct ixgbe_hw
*hw
, u32 reg
, u8
*val
);
36 s32
ixgbe_write_analog_reg8_82599(struct ixgbe_hw
*hw
, u32 reg
, u8 val
);
37 s32
ixgbe_start_hw_82599(struct ixgbe_hw
*hw
);
38 s32
ixgbe_identify_phy_82599(struct ixgbe_hw
*hw
);
39 s32
ixgbe_init_phy_ops_82599(struct ixgbe_hw
*hw
);
40 u32
ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw
*hw
);
41 s32
ixgbe_enable_rx_dma_82599(struct ixgbe_hw
*hw
, u32 regval
);
42 bool ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw
*hw
);
43 #endif /* _IXGBE_82599_H_ */