Lines Matching refs:mac

75 	if (hw->mac.ops.get_rtrup2tc)
76 hw->mac.ops.get_rtrup2tc(hw, map);
98 * Set the mac type
102 switch (hw->mac.type) {
125 hw->mac.max_link_up_time = IXGBE_LINK_UP_TIME;
134 * This function sets the mac type of the adapter based on the
164 hw->mac.type = ixgbe_mac_82598EB;
182 hw->mac.type = ixgbe_mac_82599EB;
187 hw->mac.type = ixgbe_mac_X540;
192 hw->mac.type = ixgbe_mac_X550;
201 hw->mac.type = ixgbe_mac_X550EM_x;
215 hw->mac.type = ixgbe_mac_X550EM_a;
226 DEBUGOUT2("ixgbe_set_mac_type found mac: %d, returns: %d\n",
227 hw->mac.type, ret_val);
239 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw),
252 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw),
268 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw),
282 if (hw->mac.ops.enable_relaxed_ordering)
283 hw->mac.ops.enable_relaxed_ordering(hw);
295 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw),
307 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw),
323 return ixgbe_call_func(hw, hw->mac.ops.get_mac_addr,
337 return ixgbe_call_func(hw, hw->mac.ops.get_san_mac_addr,
350 return ixgbe_call_func(hw, hw->mac.ops.set_san_mac_addr,
363 return ixgbe_call_func(hw, hw->mac.ops.get_device_caps,
379 return ixgbe_call_func(hw, hw->mac.ops.get_wwn_prefix,
393 return ixgbe_call_func(hw, hw->mac.ops.get_fcoe_boot_status,
406 return ixgbe_call_func(hw, hw->mac.ops.get_bus_info, (hw),
418 return hw->mac.max_tx_queues;
429 return hw->mac.max_rx_queues;
443 return ixgbe_call_func(hw, hw->mac.ops.stop_adapter, (hw),
644 return ixgbe_call_func(hw, hw->mac.ops.check_link, (hw, speed,
657 if (hw->mac.ops.disable_tx_laser)
658 hw->mac.ops.disable_tx_laser(hw);
669 if (hw->mac.ops.enable_tx_laser)
670 hw->mac.ops.enable_tx_laser(hw);
683 if (hw->mac.ops.flap_tx_laser)
684 hw->mac.ops.flap_tx_laser(hw);
699 return ixgbe_call_func(hw, hw->mac.ops.setup_link, (hw, speed,
716 return ixgbe_call_func(hw, hw->mac.ops.setup_mac_link, (hw, speed,
732 return ixgbe_call_func(hw, hw->mac.ops.get_link_capabilities, (hw,
745 return ixgbe_call_func(hw, hw->mac.ops.led_on, (hw, index),
758 return ixgbe_call_func(hw, hw->mac.ops.led_off, (hw, index),
771 return ixgbe_call_func(hw, hw->mac.ops.blink_led_start, (hw, index),
784 return ixgbe_call_func(hw, hw->mac.ops.blink_led_stop, (hw, index),
892 * ixgbe_insert_mac_addr - Find a RAR for this mac address
902 return ixgbe_call_func(hw, hw->mac.ops.insert_mac_addr,
920 return ixgbe_call_func(hw, hw->mac.ops.set_rar, (hw, index, addr, vmdq,
933 return ixgbe_call_func(hw, hw->mac.ops.clear_rar, (hw, index),
945 return ixgbe_call_func(hw, hw->mac.ops.set_vmdq, (hw, rar, vmdq),
957 return ixgbe_call_func(hw, hw->mac.ops.set_vmdq_san_mac,
969 return ixgbe_call_func(hw, hw->mac.ops.clear_vmdq, (hw, rar, vmdq),
983 return ixgbe_call_func(hw, hw->mac.ops.init_rx_addrs, (hw),
993 return hw->mac.num_rar_entries;
1010 return ixgbe_call_func(hw, hw->mac.ops.update_uc_addr_list, (hw,
1032 return ixgbe_call_func(hw, hw->mac.ops.update_mc_addr_list, (hw,
1045 return ixgbe_call_func(hw, hw->mac.ops.enable_mc, (hw),
1057 return ixgbe_call_func(hw, hw->mac.ops.disable_mc, (hw),
1069 return ixgbe_call_func(hw, hw->mac.ops.clear_vfta, (hw),
1086 return ixgbe_call_func(hw, hw->mac.ops.set_vfta, (hw, vlan, vind,
1106 return ixgbe_call_func(hw, hw->mac.ops.set_vlvf, (hw, vlan, vind,
1120 return ixgbe_call_func(hw, hw->mac.ops.toggle_txdctl, (hw,
1132 return ixgbe_call_func(hw, hw->mac.ops.fc_enable, (hw),
1144 return ixgbe_call_func(hw, hw->mac.ops.setup_fc, (hw),
1161 return ixgbe_call_func(hw, hw->mac.ops.set_fw_drv_ver, (hw, maj, minr,
1175 return ixgbe_call_func(hw, hw->mac.ops.dmac_config, (hw),
1187 return ixgbe_call_func(hw, hw->mac.ops.dmac_update_tcs, (hw),
1200 return ixgbe_call_func(hw, hw->mac.ops.dmac_config_tcs, (hw),
1216 return ixgbe_call_func(hw, hw->mac.ops.setup_eee, (hw, enable_eee),
1229 if (hw->mac.ops.set_source_address_pruning)
1230 hw->mac.ops.set_source_address_pruning(hw, enable, pool);
1242 if (hw->mac.ops.set_ethertype_anti_spoofing)
1243 hw->mac.ops.set_ethertype_anti_spoofing(hw, enable, vf);
1258 return ixgbe_call_func(hw, hw->mac.ops.read_iosf_sb_reg, (hw, reg_addr,
1274 return ixgbe_call_func(hw, hw->mac.ops.write_iosf_sb_reg, (hw, reg_addr,
1285 if (hw->mac.ops.disable_mdd)
1286 hw->mac.ops.disable_mdd(hw);
1296 if (hw->mac.ops.enable_mdd)
1297 hw->mac.ops.enable_mdd(hw);
1308 if (hw->mac.ops.mdd_event)
1309 hw->mac.ops.mdd_event(hw, vf_bitmap);
1321 if (hw->mac.ops.restore_mdd_vf)
1322 hw->mac.ops.restore_mdd_vf(hw, vf);
1332 if (hw->mac.ops.fw_recovery_mode)
1333 return hw->mac.ops.fw_recovery_mode(hw);
1377 return ixgbe_call_func(hw, hw->mac.ops.bypass_rw, (hw, cmd, status),
1395 return ixgbe_call_func(hw, hw->mac.ops.bypass_valid_rd,
1413 return ixgbe_call_func(hw, hw->mac.ops.bypass_set,
1426 return ixgbe_call_func(hw, hw->mac.ops.bypass_rd_eep,
1440 return ixgbe_call_func(hw, hw->mac.ops.read_analog_reg8, (hw, reg,
1454 return ixgbe_call_func(hw, hw->mac.ops.write_analog_reg8, (hw, reg,
1467 return ixgbe_call_func(hw, hw->mac.ops.init_uta_tables, (hw),
1638 return ixgbe_call_func(hw, hw->mac.ops.get_supported_physical_layer,
1651 return ixgbe_call_func(hw, hw->mac.ops.enable_rx_dma,
1663 return ixgbe_call_func(hw, hw->mac.ops.disable_sec_rx_path,
1675 return ixgbe_call_func(hw, hw->mac.ops.enable_sec_rx_path,
1689 return ixgbe_call_func(hw, hw->mac.ops.acquire_swfw_sync,
1703 if (hw->mac.ops.release_swfw_sync)
1704 hw->mac.ops.release_swfw_sync(hw, mask);
1718 if (hw->mac.ops.init_swfw_sync)
1719 hw->mac.ops.init_swfw_sync(hw);
1725 if (hw->mac.ops.disable_rx)
1726 hw->mac.ops.disable_rx(hw);
1731 if (hw->mac.ops.enable_rx)
1732 hw->mac.ops.enable_rx(hw);
1744 if (hw->mac.ops.set_rate_select_speed)
1745 hw->mac.ops.set_rate_select_speed(hw, speed);