• Home
  • Raw
  • Download

Lines Matching refs:mac

74 	s32 status = hw->mac.ops.start_hw(hw);  in ixgbevf_init_hw_vf()
76 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); in ixgbevf_init_hw_vf()
97 hw->mac.ops.stop_adapter(hw); in ixgbevf_reset_hw_vf()
139 ether_addr_copy(hw->mac.perm_addr, addr); in ixgbevf_reset_hw_vf()
141 hw->mac.mc_filter_type = msgbuf[IXGBE_VF_MC_TYPE_WORD]; in ixgbevf_reset_hw_vf()
159 &hw->mac.perm_addr[i]); in ixgbevf_hv_reset_hw_vf()
188 number_of_queues = hw->mac.max_rx_queues; in ixgbevf_stop_hw_vf()
206 number_of_queues = hw->mac.max_tx_queues; in ixgbevf_stop_hw_vf()
234 switch (hw->mac.mc_filter_type) { in ixgbevf_mta_vector()
263 ether_addr_copy(mac_addr, hw->mac.perm_addr); in ixgbevf_get_mac_addr_vf()
336 if (hw->mac.type < ixgbe_mac_X550_vf) in ixgbevf_get_reta_locked()
403 if (hw->mac.type < ixgbe_mac_X550_vf) in ixgbevf_get_rss_key_locked()
465 ixgbevf_get_mac_addr_vf(hw, hw->mac.addr); in ixgbevf_set_rar_vf()
486 if (ether_addr_equal(addr, hw->mac.perm_addr)) in ixgbevf_hv_set_rar_vf()
668 struct ixgbe_mac_info *mac = &hw->mac; in ixgbevf_check_mac_link_vf() local
675 mac->get_link_status = true; in ixgbevf_check_mac_link_vf()
677 if (!mac->get_link_status) in ixgbevf_check_mac_link_vf()
688 if (mac->type == ixgbe_mac_82599_vf) { in ixgbevf_check_mac_link_vf()
734 mac->get_link_status = false; in ixgbevf_check_mac_link_vf()
737 *link_up = !mac->get_link_status; in ixgbevf_check_mac_link_vf()
750 struct ixgbe_mac_info *mac = &hw->mac; in ixgbevf_hv_check_mac_link_vf() local
755 mac->get_link_status = true; in ixgbevf_hv_check_mac_link_vf()
757 if (!mac->get_link_status) in ixgbevf_hv_check_mac_link_vf()
768 if (mac->type == ixgbe_mac_82599_vf) { in ixgbevf_hv_check_mac_link_vf()
795 mac->get_link_status = false; in ixgbevf_hv_check_mac_link_vf()
798 *link_up = !mac->get_link_status; in ixgbevf_hv_check_mac_link_vf()
927 hw->mac.max_tx_queues = msg[IXGBE_VF_TX_QUEUES]; in ixgbevf_get_queues()
928 if (hw->mac.max_tx_queues == 0 || in ixgbevf_get_queues()
929 hw->mac.max_tx_queues > IXGBE_VF_MAX_TX_QUEUES) in ixgbevf_get_queues()
930 hw->mac.max_tx_queues = IXGBE_VF_MAX_TX_QUEUES; in ixgbevf_get_queues()
932 hw->mac.max_rx_queues = msg[IXGBE_VF_RX_QUEUES]; in ixgbevf_get_queues()
933 if (hw->mac.max_rx_queues == 0 || in ixgbevf_get_queues()
934 hw->mac.max_rx_queues > IXGBE_VF_MAX_RX_QUEUES) in ixgbevf_get_queues()
935 hw->mac.max_rx_queues = IXGBE_VF_MAX_RX_QUEUES; in ixgbevf_get_queues()
939 if (*num_tcs > hw->mac.max_rx_queues) in ixgbevf_get_queues()
944 if (*default_tc >= hw->mac.max_tx_queues) in ixgbevf_get_queues()
986 .mac = ixgbe_mac_82599_vf,
991 .mac = ixgbe_mac_82599_vf,
996 .mac = ixgbe_mac_X540_vf,
1001 .mac = ixgbe_mac_X540_vf,
1006 .mac = ixgbe_mac_X550_vf,
1011 .mac = ixgbe_mac_X550_vf,
1016 .mac = ixgbe_mac_X550EM_x_vf,
1021 .mac = ixgbe_mac_X550EM_x_vf,
1026 .mac = ixgbe_mac_x550em_a_vf,