Home | History | Annotate | Download | only in ixgbe

Lines Matching refs:mac

65 	/* MAC */
66 hw->mac.ops.init_hw = ixgbe_init_hw_vf;
67 hw->mac.ops.reset_hw = ixgbe_reset_hw_vf;
68 hw->mac.ops.start_hw = ixgbe_start_hw_vf;
70 hw->mac.ops.clear_hw_cntrs = NULL;
71 hw->mac.ops.get_media_type = NULL;
72 hw->mac.ops.get_mac_addr = ixgbe_get_mac_addr_vf;
73 hw->mac.ops.stop_adapter = ixgbe_stop_adapter_vf;
74 hw->mac.ops.get_bus_info = NULL;
75 hw->mac.ops.negotiate_api_version = ixgbevf_negotiate_api_version;
78 hw->mac.ops.setup_link = ixgbe_setup_mac_link_vf;
79 hw->mac.ops.check_link = ixgbe_check_mac_link_vf;
80 hw->mac.ops.get_link_capabilities = NULL;
83 hw->mac.ops.set_rar = ixgbe_set_rar_vf;
84 hw->mac.ops.set_uc_addr = ixgbevf_set_uc_addr_vf;
85 hw->mac.ops.init_rx_addrs = NULL;
86 hw->mac.ops.update_mc_addr_list = ixgbe_update_mc_addr_list_vf;
87 hw->mac.ops.update_xcast_mode = ixgbevf_update_xcast_mode;
88 hw->mac.ops.get_link_state = ixgbe_get_link_state_vf;
89 hw->mac.ops.enable_mc = NULL;
90 hw->mac.ops.disable_mc = NULL;
91 hw->mac.ops.clear_vfta = NULL;
92 hw->mac.ops.set_vfta = ixgbe_set_vfta_vf;
93 hw->mac.ops.set_rlpml = ixgbevf_rlpml_set_vf;
95 hw->mac.max_tx_queues = 1;
96 hw->mac.max_rx_queues = 1;
174 s32 status = hw->mac.ops.start_hw(hw);
176 hw->mac.ops.get_mac_addr(hw, hw->mac.addr);
199 hw->mac.ops.stop_adapter(hw);
205 DEBUGOUT("Issuing a function level reset to MAC\n");
235 * on the mac address in word 3
247 memcpy(hw->mac.perm_addr, addr, IXGBE_ETH_LENGTH_OF_ADDRESS);
249 hw->mac.mc_filter_type = msgbuf[IXGBE_VF_MC_TYPE_WORD];
281 for (i = 0; i < hw->mac.max_tx_queues; i++)
285 for (i = 0; i < hw->mac.max_rx_queues; i++) {
316 switch (hw->mac.mc_filter_type) {
352 * ixgbe_set_rar_vf - set device MAC address
377 ixgbe_get_mac_addr_vf(hw, hw->mac.addr);
582 * ixgbe_get_mac_addr_vf - Read device MAC address
584 * @mac_addr: the MAC address
591 mac_addr[i] = hw->mac.perm_addr[i];
627 * ixgbe_setup_mac_link_vf - Setup MAC link settings
654 struct ixgbe_mac_info *mac = &hw->mac;
663 mac->get_link_status = TRUE;
665 if (!mac->get_link_status)
676 if (mac->type == ixgbe_mac_82599_vf) {
691 if (hw->mac.type >= ixgbe_mac_X550_vf) {
701 if (hw->mac.type >= ixgbe_mac_X550_vf) {
708 /* Since Reserved in older MAC's */
709 if (hw->mac.type >= ixgbe_mac_X550_vf)
721 mac->get_link_status = FALSE;
741 mac->get_link_status = FALSE;
744 *link_up = !mac->get_link_status;
836 hw->mac.max_tx_queues = msg[IXGBE_VF_TX_QUEUES];
837 if (hw->mac.max_tx_queues == 0 ||
838 hw->mac.max_tx_queues > IXGBE_VF_MAX_TX_QUEUES)
839 hw->mac.max_tx_queues = IXGBE_VF_MAX_TX_QUEUES;
841 hw->mac.max_rx_queues = msg[IXGBE_VF_RX_QUEUES];
842 if (hw->mac.max_rx_queues == 0 ||
843 hw->mac.max_rx_queues > IXGBE_VF_MAX_RX_QUEUES)
844 hw->mac.max_rx_queues = IXGBE_VF_MAX_RX_QUEUES;
848 if (*num_tcs > hw->mac.max_rx_queues)
853 if (*default_tc >= hw->mac.max_tx_queues)