New upstream version 18.11-rc1
[deb_dpdk.git] / drivers / net / ixgbe / base / ixgbe_82598.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2001-2018
3  */
4
5 #ifndef _IXGBE_82598_H_
6 #define _IXGBE_82598_H_
7
8 u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw);
9 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw);
10 s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw);
11 void ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw);
12 s32 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
13 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on,
14                          bool vlvf_bypass);
15 s32 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val);
16 s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val);
17 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
18                                 u8 *eeprom_data);
19 u64 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw);
20 s32 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw);
21 void ixgbe_set_lan_id_multi_port_pcie_82598(struct ixgbe_hw *hw);
22 void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw);
23 s32 ixgbe_enable_rx_dma_82598(struct ixgbe_hw *hw, u32 regval);
24 #endif /* _IXGBE_82598_H_ */