Lines Matching refs:mac

59 	hw->mac.ops.init_hw = ixgbe_init_hw_vf;  in ixgbe_init_ops_vf()
60 hw->mac.ops.reset_hw = ixgbe_reset_hw_vf; in ixgbe_init_ops_vf()
61 hw->mac.ops.start_hw = ixgbe_start_hw_vf; in ixgbe_init_ops_vf()
63 hw->mac.ops.clear_hw_cntrs = NULL; in ixgbe_init_ops_vf()
64 hw->mac.ops.get_media_type = NULL; in ixgbe_init_ops_vf()
65 hw->mac.ops.get_mac_addr = ixgbe_get_mac_addr_vf; in ixgbe_init_ops_vf()
66 hw->mac.ops.stop_adapter = ixgbe_stop_adapter_vf; in ixgbe_init_ops_vf()
67 hw->mac.ops.get_bus_info = NULL; in ixgbe_init_ops_vf()
68 hw->mac.ops.negotiate_api_version = ixgbevf_negotiate_api_version; in ixgbe_init_ops_vf()
71 hw->mac.ops.setup_link = ixgbe_setup_mac_link_vf; in ixgbe_init_ops_vf()
72 hw->mac.ops.check_link = ixgbe_check_mac_link_vf; in ixgbe_init_ops_vf()
73 hw->mac.ops.get_link_capabilities = NULL; in ixgbe_init_ops_vf()
76 hw->mac.ops.set_rar = ixgbe_set_rar_vf; in ixgbe_init_ops_vf()
77 hw->mac.ops.set_uc_addr = ixgbevf_set_uc_addr_vf; in ixgbe_init_ops_vf()
78 hw->mac.ops.init_rx_addrs = NULL; in ixgbe_init_ops_vf()
79 hw->mac.ops.update_mc_addr_list = ixgbe_update_mc_addr_list_vf; in ixgbe_init_ops_vf()
80 hw->mac.ops.update_xcast_mode = ixgbevf_update_xcast_mode; in ixgbe_init_ops_vf()
81 hw->mac.ops.enable_mc = NULL; in ixgbe_init_ops_vf()
82 hw->mac.ops.disable_mc = NULL; in ixgbe_init_ops_vf()
83 hw->mac.ops.clear_vfta = NULL; in ixgbe_init_ops_vf()
84 hw->mac.ops.set_vfta = ixgbe_set_vfta_vf; in ixgbe_init_ops_vf()
85 hw->mac.ops.set_rlpml = ixgbevf_rlpml_set_vf; in ixgbe_init_ops_vf()
87 hw->mac.max_tx_queues = 1; in ixgbe_init_ops_vf()
88 hw->mac.max_rx_queues = 1; in ixgbe_init_ops_vf()
164 s32 status = hw->mac.ops.start_hw(hw); in ixgbe_init_hw_vf()
166 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); in ixgbe_init_hw_vf()
189 hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_vf()
236 memcpy(hw->mac.perm_addr, addr, IXGBE_ETH_LENGTH_OF_ADDRESS); in ixgbe_reset_hw_vf()
238 hw->mac.mc_filter_type = msgbuf[IXGBE_VF_MC_TYPE_WORD]; in ixgbe_reset_hw_vf()
270 for (i = 0; i < hw->mac.max_tx_queues; i++) in ixgbe_stop_adapter_vf()
274 for (i = 0; i < hw->mac.max_rx_queues; i++) { in ixgbe_stop_adapter_vf()
305 switch (hw->mac.mc_filter_type) { in ixgbe_mta_vector()
367 ixgbe_get_mac_addr_vf(hw, hw->mac.addr); in ixgbe_set_rar_vf()
523 mac_addr[i] = hw->mac.perm_addr[i]; in ixgbe_get_mac_addr_vf()
586 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_check_mac_link_vf() local
594 mac->get_link_status = TRUE; in ixgbe_check_mac_link_vf()
596 if (!mac->get_link_status) in ixgbe_check_mac_link_vf()
607 if (mac->type == ixgbe_mac_82599_vf) { in ixgbe_check_mac_link_vf()
622 if (hw->mac.type >= ixgbe_mac_X550) { in ixgbe_check_mac_link_vf()
632 if (hw->mac.type == ixgbe_mac_X550) { in ixgbe_check_mac_link_vf()
640 if (hw->mac.type >= ixgbe_mac_X550) in ixgbe_check_mac_link_vf()
669 mac->get_link_status = FALSE; in ixgbe_check_mac_link_vf()
672 *link_up = !mac->get_link_status; in ixgbe_check_mac_link_vf()
763 hw->mac.max_tx_queues = msg[IXGBE_VF_TX_QUEUES]; in ixgbevf_get_queues()
764 if (hw->mac.max_tx_queues == 0 || in ixgbevf_get_queues()
765 hw->mac.max_tx_queues > IXGBE_VF_MAX_TX_QUEUES) in ixgbevf_get_queues()
766 hw->mac.max_tx_queues = IXGBE_VF_MAX_TX_QUEUES; in ixgbevf_get_queues()
768 hw->mac.max_rx_queues = msg[IXGBE_VF_RX_QUEUES]; in ixgbevf_get_queues()
769 if (hw->mac.max_rx_queues == 0 || in ixgbevf_get_queues()
770 hw->mac.max_rx_queues > IXGBE_VF_MAX_RX_QUEUES) in ixgbevf_get_queues()
771 hw->mac.max_rx_queues = IXGBE_VF_MAX_RX_QUEUES; in ixgbevf_get_queues()
775 if (*num_tcs > hw->mac.max_rx_queues) in ixgbevf_get_queues()
780 if (*default_tc >= hw->mac.max_tx_queues) in ixgbevf_get_queues()