FreeBSD kernel IXGBE device code
ixgbe_mac_operations Struct Reference

#include <ixgbe_type.h>

Data Fields

s32(* init_hw )(struct ixgbe_hw *)
 
s32(* reset_hw )(struct ixgbe_hw *)
 
s32(* start_hw )(struct ixgbe_hw *)
 
s32(* clear_hw_cntrs )(struct ixgbe_hw *)
 
void(* enable_relaxed_ordering )(struct ixgbe_hw *)
 
enum ixgbe_media_type(* get_media_type )(struct ixgbe_hw *)
 
u64(* get_supported_physical_layer )(struct ixgbe_hw *)
 
s32(* get_mac_addr )(struct ixgbe_hw *, u8 *)
 
s32(* get_san_mac_addr )(struct ixgbe_hw *, u8 *)
 
s32(* set_san_mac_addr )(struct ixgbe_hw *, u8 *)
 
s32(* get_device_caps )(struct ixgbe_hw *, u16 *)
 
s32(* get_wwn_prefix )(struct ixgbe_hw *, u16 *, u16 *)
 
s32(* get_fcoe_boot_status )(struct ixgbe_hw *, u16 *)
 
s32(* stop_adapter )(struct ixgbe_hw *)
 
s32(* get_bus_info )(struct ixgbe_hw *)
 
void(* set_lan_id )(struct ixgbe_hw *)
 
s32(* read_analog_reg8 )(struct ixgbe_hw *, u32, u8 *)
 
s32(* write_analog_reg8 )(struct ixgbe_hw *, u32, u8)
 
s32(* setup_sfp )(struct ixgbe_hw *)
 
s32(* enable_rx_dma )(struct ixgbe_hw *, u32)
 
s32(* disable_sec_rx_path )(struct ixgbe_hw *)
 
s32(* enable_sec_rx_path )(struct ixgbe_hw *)
 
s32(* acquire_swfw_sync )(struct ixgbe_hw *, u32)
 
void(* release_swfw_sync )(struct ixgbe_hw *, u32)
 
void(* init_swfw_sync )(struct ixgbe_hw *)
 
s32(* prot_autoc_read )(struct ixgbe_hw *, bool *, u32 *)
 
s32(* prot_autoc_write )(struct ixgbe_hw *, u32, bool)
 
s32(* negotiate_api_version )(struct ixgbe_hw *hw, int api)
 
void(* disable_tx_laser )(struct ixgbe_hw *)
 
void(* enable_tx_laser )(struct ixgbe_hw *)
 
void(* flap_tx_laser )(struct ixgbe_hw *)
 
s32(* setup_link )(struct ixgbe_hw *, ixgbe_link_speed, bool)
 
s32(* setup_mac_link )(struct ixgbe_hw *, ixgbe_link_speed, bool)
 
s32(* check_link )(struct ixgbe_hw *, ixgbe_link_speed *, bool *, bool)
 
s32(* get_link_capabilities )(struct ixgbe_hw *, ixgbe_link_speed *, bool *)
 
void(* set_rate_select_speed )(struct ixgbe_hw *, ixgbe_link_speed)
 
void(* setup_rxpba )(struct ixgbe_hw *, int, u32, int)
 
s32(* led_on )(struct ixgbe_hw *, u32)
 
s32(* led_off )(struct ixgbe_hw *, u32)
 
s32(* blink_led_start )(struct ixgbe_hw *, u32)
 
s32(* blink_led_stop )(struct ixgbe_hw *, u32)
 
s32(* init_led_link_act )(struct ixgbe_hw *)
 
s32(* set_rar )(struct ixgbe_hw *, u32, u8 *, u32, u32)
 
s32(* set_uc_addr )(struct ixgbe_hw *, u32, u8 *)
 
s32(* clear_rar )(struct ixgbe_hw *, u32)
 
s32(* insert_mac_addr )(struct ixgbe_hw *, u8 *, u32)
 
s32(* set_vmdq )(struct ixgbe_hw *, u32, u32)
 
s32(* set_vmdq_san_mac )(struct ixgbe_hw *, u32)
 
s32(* clear_vmdq )(struct ixgbe_hw *, u32, u32)
 
s32(* init_rx_addrs )(struct ixgbe_hw *)
 
s32(* update_uc_addr_list )(struct ixgbe_hw *, u8 *, u32, ixgbe_mc_addr_itr)
 
s32(* update_mc_addr_list )(struct ixgbe_hw *, u8 *, u32, ixgbe_mc_addr_itr, bool clear)
 
s32(* get_link_state )(struct ixgbe_hw *hw, bool *link_state)
 
s32(* enable_mc )(struct ixgbe_hw *)
 
s32(* disable_mc )(struct ixgbe_hw *)
 
s32(* clear_vfta )(struct ixgbe_hw *)
 
s32(* set_vfta )(struct ixgbe_hw *, u32, u32, bool, bool)
 
s32(* set_vlvf )(struct ixgbe_hw *, u32, u32, bool, u32 *, u32, bool)
 
s32(* init_uta_tables )(struct ixgbe_hw *)
 
void(* set_mac_anti_spoofing )(struct ixgbe_hw *, bool, int)
 
void(* set_vlan_anti_spoofing )(struct ixgbe_hw *, bool, int)
 
s32(* update_xcast_mode )(struct ixgbe_hw *, int)
 
s32(* set_rlpml )(struct ixgbe_hw *, u16)
 
s32(* fc_enable )(struct ixgbe_hw *)
 
s32(* setup_fc )(struct ixgbe_hw *)
 
void(* fc_autoneg )(struct ixgbe_hw *)
 
s32(* set_fw_drv_ver )(struct ixgbe_hw *, u8, u8, u8, u8, u16, const char *)
 
s32(* get_thermal_sensor_data )(struct ixgbe_hw *)
 
s32(* init_thermal_sensor_thresh )(struct ixgbe_hw *hw)
 
s32(* bypass_rw )(struct ixgbe_hw *hw, u32 cmd, u32 *status)
 
bool(* bypass_valid_rd )(u32 in_reg, u32 out_reg)
 
s32(* bypass_set )(struct ixgbe_hw *hw, u32 cmd, u32 event, u32 action)
 
s32(* bypass_rd_eep )(struct ixgbe_hw *hw, u32 addr, u8 *value)
 
void(* get_rtrup2tc )(struct ixgbe_hw *hw, u8 *map)
 
void(* disable_rx )(struct ixgbe_hw *hw)
 
void(* enable_rx )(struct ixgbe_hw *hw)
 
void(* set_source_address_pruning )(struct ixgbe_hw *, bool, unsigned int)
 
void(* set_ethertype_anti_spoofing )(struct ixgbe_hw *, bool, int)
 
s32(* dmac_update_tcs )(struct ixgbe_hw *hw)
 
s32(* dmac_config_tcs )(struct ixgbe_hw *hw)
 
s32(* dmac_config )(struct ixgbe_hw *hw)
 
s32(* setup_eee )(struct ixgbe_hw *hw, bool enable_eee)
 
s32(* read_iosf_sb_reg )(struct ixgbe_hw *, u32, u32, u32 *)
 
s32(* write_iosf_sb_reg )(struct ixgbe_hw *, u32, u32, u32)
 
void(* disable_mdd )(struct ixgbe_hw *hw)
 
void(* enable_mdd )(struct ixgbe_hw *hw)
 
void(* mdd_event )(struct ixgbe_hw *hw, u32 *vf_bitmap)
 
void(* restore_mdd_vf )(struct ixgbe_hw *hw, u32 vf)
 
bool(* fw_recovery_mode )(struct ixgbe_hw *hw)
 

Detailed Description

Definition at line 3948 of file ixgbe_type.h.

Field Documentation

◆ acquire_swfw_sync

◆ blink_led_start

s32(* ixgbe_mac_operations::blink_led_start) (struct ixgbe_hw *, u32)

◆ blink_led_stop

s32(* ixgbe_mac_operations::blink_led_stop) (struct ixgbe_hw *, u32)

◆ bypass_rd_eep

s32(* ixgbe_mac_operations::bypass_rd_eep) (struct ixgbe_hw *hw, u32 addr, u8 *value)

◆ bypass_rw

◆ bypass_set

◆ bypass_valid_rd

bool(* ixgbe_mac_operations::bypass_valid_rd) (u32 in_reg, u32 out_reg)

◆ check_link

◆ clear_hw_cntrs

s32(* ixgbe_mac_operations::clear_hw_cntrs) (struct ixgbe_hw *)

◆ clear_rar

s32(* ixgbe_mac_operations::clear_rar) (struct ixgbe_hw *, u32)

◆ clear_vfta

◆ clear_vmdq

◆ disable_mc

s32(* ixgbe_mac_operations::disable_mc) (struct ixgbe_hw *)

Definition at line 4014 of file ixgbe_type.h.

Referenced by ixgbe_disable_mc(), ixgbe_init_ops_generic(), and ixgbe_init_ops_vf().

◆ disable_mdd

void(* ixgbe_mac_operations::disable_mdd) (struct ixgbe_hw *hw)

Definition at line 4051 of file ixgbe_type.h.

Referenced by ixgbe_disable_mdd(), and ixgbe_init_ops_X550().

◆ disable_rx

void(* ixgbe_mac_operations::disable_rx) (struct ixgbe_hw *hw)

Definition at line 4040 of file ixgbe_type.h.

Referenced by ixgbe_disable_rx(), ixgbe_init_ops_generic(), and ixgbe_init_ops_X550().

◆ disable_sec_rx_path

s32(* ixgbe_mac_operations::disable_sec_rx_path) (struct ixgbe_hw *)

◆ disable_tx_laser

void(* ixgbe_mac_operations::disable_tx_laser) (struct ixgbe_hw *)

◆ dmac_config

s32(* ixgbe_mac_operations::dmac_config) (struct ixgbe_hw *hw)

◆ dmac_config_tcs

s32(* ixgbe_mac_operations::dmac_config_tcs) (struct ixgbe_hw *hw)

◆ dmac_update_tcs

s32(* ixgbe_mac_operations::dmac_update_tcs) (struct ixgbe_hw *hw)

◆ enable_mc

s32(* ixgbe_mac_operations::enable_mc) (struct ixgbe_hw *)

Definition at line 4013 of file ixgbe_type.h.

Referenced by ixgbe_enable_mc(), ixgbe_init_ops_generic(), and ixgbe_init_ops_vf().

◆ enable_mdd

void(* ixgbe_mac_operations::enable_mdd) (struct ixgbe_hw *hw)

Definition at line 4052 of file ixgbe_type.h.

Referenced by ixgbe_enable_mdd(), and ixgbe_init_ops_X550().

◆ enable_relaxed_ordering

void(* ixgbe_mac_operations::enable_relaxed_ordering) (struct ixgbe_hw *)

◆ enable_rx

void(* ixgbe_mac_operations::enable_rx) (struct ixgbe_hw *hw)

Definition at line 4041 of file ixgbe_type.h.

Referenced by ixgbe_enable_rx(), and ixgbe_init_ops_generic().

◆ enable_rx_dma

s32(* ixgbe_mac_operations::enable_rx_dma) (struct ixgbe_hw *, u32)

◆ enable_sec_rx_path

s32(* ixgbe_mac_operations::enable_sec_rx_path) (struct ixgbe_hw *)

◆ enable_tx_laser

void(* ixgbe_mac_operations::enable_tx_laser) (struct ixgbe_hw *)

◆ fc_autoneg

void(* ixgbe_mac_operations::fc_autoneg) (struct ixgbe_hw *)

◆ fc_enable

s32(* ixgbe_mac_operations::fc_enable) (struct ixgbe_hw *)

Definition at line 4026 of file ixgbe_type.h.

Referenced by ixgbe_fc_enable(), ixgbe_init_ops_82598(), and ixgbe_init_ops_generic().

◆ flap_tx_laser

void(* ixgbe_mac_operations::flap_tx_laser) (struct ixgbe_hw *)

◆ fw_recovery_mode

bool(* ixgbe_mac_operations::fw_recovery_mode) (struct ixgbe_hw *hw)

Definition at line 4055 of file ixgbe_type.h.

Referenced by ixgbe_fw_recovery_mode(), and ixgbe_init_ops_X550().

◆ get_bus_info

s32(* ixgbe_mac_operations::get_bus_info) (struct ixgbe_hw *)

◆ get_device_caps

s32(* ixgbe_mac_operations::get_device_caps) (struct ixgbe_hw *, u16 *)

◆ get_fcoe_boot_status

s32(* ixgbe_mac_operations::get_fcoe_boot_status) (struct ixgbe_hw *, u16 *)

◆ get_link_capabilities

◆ get_link_state

s32(* ixgbe_mac_operations::get_link_state) (struct ixgbe_hw *hw, bool *link_state)

Definition at line 4012 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_vf(), ixv_if_attach_pre(), and ixv_if_init().

◆ get_mac_addr

◆ get_media_type

◆ get_rtrup2tc

void(* ixgbe_mac_operations::get_rtrup2tc) (struct ixgbe_hw *hw, u8 *map)

◆ get_san_mac_addr

s32(* ixgbe_mac_operations::get_san_mac_addr) (struct ixgbe_hw *, u8 *)

◆ get_supported_physical_layer

u64(* ixgbe_mac_operations::get_supported_physical_layer) (struct ixgbe_hw *)

◆ get_thermal_sensor_data

s32(* ixgbe_mac_operations::get_thermal_sensor_data) (struct ixgbe_hw *)

◆ get_wwn_prefix

s32(* ixgbe_mac_operations::get_wwn_prefix) (struct ixgbe_hw *, u16 *, u16 *)

◆ init_hw

s32(* ixgbe_mac_operations::init_hw) (struct ixgbe_hw *)

◆ init_led_link_act

s32(* ixgbe_mac_operations::init_led_link_act) (struct ixgbe_hw *)

◆ init_rx_addrs

◆ init_swfw_sync

void(* ixgbe_mac_operations::init_swfw_sync) (struct ixgbe_hw *)

Definition at line 3973 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_X540(), and ixgbe_init_swfw_semaphore().

◆ init_thermal_sensor_thresh

s32(* ixgbe_mac_operations::init_thermal_sensor_thresh) (struct ixgbe_hw *hw)

◆ init_uta_tables

s32(* ixgbe_mac_operations::init_uta_tables) (struct ixgbe_hw *)

◆ insert_mac_addr

s32(* ixgbe_mac_operations::insert_mac_addr) (struct ixgbe_hw *, u8 *, u32)

◆ led_off

s32(* ixgbe_mac_operations::led_off) (struct ixgbe_hw *, u32)

Definition at line 3994 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_generic(), ixgbe_init_ops_X550(), and ixgbe_led_off().

◆ led_on

s32(* ixgbe_mac_operations::led_on) (struct ixgbe_hw *, u32)

Definition at line 3993 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_generic(), ixgbe_init_ops_X550(), and ixgbe_led_on().

◆ mdd_event

void(* ixgbe_mac_operations::mdd_event) (struct ixgbe_hw *hw, u32 *vf_bitmap)

Definition at line 4053 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_X550(), and ixgbe_mdd_event().

◆ negotiate_api_version

s32(* ixgbe_mac_operations::negotiate_api_version) (struct ixgbe_hw *hw, int api)

Definition at line 3976 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_vf().

◆ prot_autoc_read

◆ prot_autoc_write

◆ read_analog_reg8

s32(* ixgbe_mac_operations::read_analog_reg8) (struct ixgbe_hw *, u32, u8 *)

◆ read_iosf_sb_reg

◆ release_swfw_sync

◆ reset_hw

◆ restore_mdd_vf

void(* ixgbe_mac_operations::restore_mdd_vf) (struct ixgbe_hw *hw, u32 vf)

Definition at line 4054 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_X550(), and ixgbe_restore_mdd_vf().

◆ set_ethertype_anti_spoofing

void(* ixgbe_mac_operations::set_ethertype_anti_spoofing) (struct ixgbe_hw *, bool, int)

Definition at line 4044 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_X550(), and ixgbe_set_ethertype_anti_spoofing().

◆ set_fw_drv_ver

s32(* ixgbe_mac_operations::set_fw_drv_ver) (struct ixgbe_hw *, u8, u8, u8, u8, u16, const char *)

◆ set_lan_id

◆ set_mac_anti_spoofing

void(* ixgbe_mac_operations::set_mac_anti_spoofing) (struct ixgbe_hw *, bool, int)

Definition at line 4020 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_82599(), and ixgbe_init_ops_X540().

◆ set_rar

◆ set_rate_select_speed

void(* ixgbe_mac_operations::set_rate_select_speed) (struct ixgbe_hw *, ixgbe_link_speed)

◆ set_rlpml

s32(* ixgbe_mac_operations::set_rlpml) (struct ixgbe_hw *, u16)

Definition at line 4023 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_vf().

◆ set_san_mac_addr

s32(* ixgbe_mac_operations::set_san_mac_addr) (struct ixgbe_hw *, u8 *)

◆ set_source_address_pruning

void(* ixgbe_mac_operations::set_source_address_pruning) (struct ixgbe_hw *, bool, unsigned int)

Definition at line 4042 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_X550(), and ixgbe_set_source_address_pruning().

◆ set_uc_addr

s32(* ixgbe_mac_operations::set_uc_addr) (struct ixgbe_hw *, u32, u8 *)

Definition at line 4001 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_vf().

◆ set_vfta

◆ set_vlan_anti_spoofing

void(* ixgbe_mac_operations::set_vlan_anti_spoofing) (struct ixgbe_hw *, bool, int)

Definition at line 4021 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_82599(), and ixgbe_init_ops_X540().

◆ set_vlvf

s32(* ixgbe_mac_operations::set_vlvf) (struct ixgbe_hw *, u32, u32, bool, u32 *, u32, bool)

◆ set_vmdq

s32(* ixgbe_mac_operations::set_vmdq) (struct ixgbe_hw *, u32, u32)

◆ set_vmdq_san_mac

s32(* ixgbe_mac_operations::set_vmdq_san_mac) (struct ixgbe_hw *, u32)

◆ setup_eee

s32(* ixgbe_mac_operations::setup_eee) (struct ixgbe_hw *hw, bool enable_eee)

◆ setup_fc

s32(* ixgbe_mac_operations::setup_fc) (struct ixgbe_hw *)

◆ setup_link

◆ setup_mac_link

s32(* ixgbe_mac_operations::setup_mac_link) (struct ixgbe_hw *, ixgbe_link_speed, bool)

◆ setup_rxpba

void(* ixgbe_mac_operations::setup_rxpba) (struct ixgbe_hw *, int, u32, int)

◆ setup_sfp

s32(* ixgbe_mac_operations::setup_sfp) (struct ixgbe_hw *)

◆ start_hw

◆ stop_adapter

◆ update_mc_addr_list

s32(* ixgbe_mac_operations::update_mc_addr_list) (struct ixgbe_hw *, u8 *, u32, ixgbe_mc_addr_itr, bool clear)

◆ update_uc_addr_list

s32(* ixgbe_mac_operations::update_uc_addr_list) (struct ixgbe_hw *, u8 *, u32, ixgbe_mc_addr_itr)

Definition at line 4008 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_generic(), and ixgbe_update_uc_addr_list().

◆ update_xcast_mode

s32(* ixgbe_mac_operations::update_xcast_mode) (struct ixgbe_hw *, int)

Definition at line 4022 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_vf().

◆ write_analog_reg8

s32(* ixgbe_mac_operations::write_analog_reg8) (struct ixgbe_hw *, u32, u8)

◆ write_iosf_sb_reg


The documentation for this struct was generated from the following file: