• Home
  • Raw
  • Download

Lines Matching refs:mac

51 	s32 status = hw->mac.ops.start_hw(hw);  in ixgbevf_init_hw_vf()
53 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); in ixgbevf_init_hw_vf()
74 hw->mac.ops.stop_adapter(hw); in ixgbevf_reset_hw_vf()
116 ether_addr_copy(hw->mac.perm_addr, addr); in ixgbevf_reset_hw_vf()
118 hw->mac.mc_filter_type = msgbuf[IXGBE_VF_MC_TYPE_WORD]; in ixgbevf_reset_hw_vf()
137 &hw->mac.perm_addr[i]); in ixgbevf_hv_reset_hw_vf()
166 number_of_queues = hw->mac.max_rx_queues; in ixgbevf_stop_hw_vf()
184 number_of_queues = hw->mac.max_tx_queues; in ixgbevf_stop_hw_vf()
212 switch (hw->mac.mc_filter_type) { in ixgbevf_mta_vector()
241 ether_addr_copy(mac_addr, hw->mac.perm_addr); in ixgbevf_get_mac_addr_vf()
315 if (hw->mac.type < ixgbe_mac_X550_vf) in ixgbevf_get_reta_locked()
383 if (hw->mac.type < ixgbe_mac_X550_vf) in ixgbevf_get_rss_key_locked()
444 ixgbevf_get_mac_addr_vf(hw, hw->mac.addr); in ixgbevf_set_rar_vf()
465 if (ether_addr_equal(addr, hw->mac.perm_addr)) in ixgbevf_hv_set_rar_vf()
695 struct ixgbe_mac_info *mac = &hw->mac; in ixgbevf_check_mac_link_vf() local
702 mac->get_link_status = true; in ixgbevf_check_mac_link_vf()
704 if (!mac->get_link_status) in ixgbevf_check_mac_link_vf()
715 if (mac->type == ixgbe_mac_82599_vf) { in ixgbevf_check_mac_link_vf()
761 mac->get_link_status = false; in ixgbevf_check_mac_link_vf()
764 *link_up = !mac->get_link_status; in ixgbevf_check_mac_link_vf()
781 struct ixgbe_mac_info *mac = &hw->mac; in ixgbevf_hv_check_mac_link_vf() local
786 mac->get_link_status = true; in ixgbevf_hv_check_mac_link_vf()
788 if (!mac->get_link_status) in ixgbevf_hv_check_mac_link_vf()
799 if (mac->type == ixgbe_mac_82599_vf) { in ixgbevf_hv_check_mac_link_vf()
826 mac->get_link_status = false; in ixgbevf_hv_check_mac_link_vf()
829 *link_up = !mac->get_link_status; in ixgbevf_hv_check_mac_link_vf()
957 hw->mac.max_tx_queues = msg[IXGBE_VF_TX_QUEUES]; in ixgbevf_get_queues()
958 if (hw->mac.max_tx_queues == 0 || in ixgbevf_get_queues()
959 hw->mac.max_tx_queues > IXGBE_VF_MAX_TX_QUEUES) in ixgbevf_get_queues()
960 hw->mac.max_tx_queues = IXGBE_VF_MAX_TX_QUEUES; in ixgbevf_get_queues()
962 hw->mac.max_rx_queues = msg[IXGBE_VF_RX_QUEUES]; in ixgbevf_get_queues()
963 if (hw->mac.max_rx_queues == 0 || in ixgbevf_get_queues()
964 hw->mac.max_rx_queues > IXGBE_VF_MAX_RX_QUEUES) in ixgbevf_get_queues()
965 hw->mac.max_rx_queues = IXGBE_VF_MAX_RX_QUEUES; in ixgbevf_get_queues()
969 if (*num_tcs > hw->mac.max_rx_queues) in ixgbevf_get_queues()
974 if (*default_tc >= hw->mac.max_tx_queues) in ixgbevf_get_queues()
1018 .mac = ixgbe_mac_82599_vf,
1023 .mac = ixgbe_mac_82599_vf,
1028 .mac = ixgbe_mac_X540_vf,
1033 .mac = ixgbe_mac_X540_vf,
1038 .mac = ixgbe_mac_X550_vf,
1043 .mac = ixgbe_mac_X550_vf,
1048 .mac = ixgbe_mac_X550EM_x_vf,
1053 .mac = ixgbe_mac_X550EM_x_vf,
1058 .mac = ixgbe_mac_x550em_a_vf,