New upstream version 18.02
[deb_dpdk.git] / kernel / linux / kni / ethtool / ixgbe / ixgbe_82598.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*******************************************************************************
3
4   Intel 10 Gigabit PCI Express Linux driver
5   Copyright(c) 1999 - 2012 Intel Corporation.
6
7   Contact Information:
8   e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
9   Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
10
11 *******************************************************************************/
12
13 #ifndef _IXGBE_82598_H_
14 #define _IXGBE_82598_H_
15
16 u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw);
17 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw);
18 s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw);
19 s32 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
20 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on);
21 s32 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val);
22 s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val);
23 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
24                                 u8 *eeprom_data);
25 u32 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw);
26 s32 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw);
27 void ixgbe_set_lan_id_multi_port_pcie_82598(struct ixgbe_hw *hw);
28 void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw);
29 #endif /* _IXGBE_82598_H_ */