Lines Matching refs:mac
50 s32 status = hw->mac.ops.start_hw(hw);
52 hw->mac.ops.get_mac_addr(hw, hw->mac.addr);
73 hw->mac.ops.stop_adapter(hw);
103 * on the mac address in word 3
118 ether_addr_copy(hw->mac.perm_addr, addr);
120 hw->mac.mc_filter_type = msgbuf[IXGBE_VF_MC_TYPE_WORD];
141 &hw->mac.perm_addr[i]);
170 number_of_queues = hw->mac.max_rx_queues;
188 number_of_queues = hw->mac.max_tx_queues;
216 switch (hw->mac.mc_filter_type) {
245 ether_addr_copy(mac_addr, hw->mac.perm_addr);
320 if (hw->mac.type < ixgbe_mac_X550_vf)
389 if (hw->mac.type < ixgbe_mac_X550_vf)
450 ixgbevf_get_mac_addr_vf(hw, hw->mac.addr);
471 if (ether_addr_equal(addr, hw->mac.perm_addr))
706 struct ixgbe_mac_info *mac = &hw->mac;
713 mac->get_link_status = true;
715 if (!mac->get_link_status)
726 if (mac->type == ixgbe_mac_82599_vf) {
755 mac->get_link_status = false;
775 mac->get_link_status = false;
778 *link_up = !mac->get_link_status;
797 struct ixgbe_mac_info *mac = &hw->mac;
802 mac->get_link_status = true;
804 if (!mac->get_link_status)
815 if (mac->type == ixgbe_mac_82599_vf) {
842 mac->get_link_status = false;
845 *link_up = !mac->get_link_status;
975 hw->mac.max_tx_queues = msg[IXGBE_VF_TX_QUEUES];
976 if (hw->mac.max_tx_queues == 0 ||
977 hw->mac.max_tx_queues > IXGBE_VF_MAX_TX_QUEUES)
978 hw->mac.max_tx_queues = IXGBE_VF_MAX_TX_QUEUES;
980 hw->mac.max_rx_queues = msg[IXGBE_VF_RX_QUEUES];
981 if (hw->mac.max_rx_queues == 0 ||
982 hw->mac.max_rx_queues > IXGBE_VF_MAX_RX_QUEUES)
983 hw->mac.max_rx_queues = IXGBE_VF_MAX_RX_QUEUES;
987 if (*num_tcs > hw->mac.max_rx_queues)
992 if (*default_tc >= hw->mac.max_tx_queues)
1036 .mac = ixgbe_mac_82599_vf,
1041 .mac = ixgbe_mac_82599_vf,
1046 .mac = ixgbe_mac_X540_vf,
1051 .mac = ixgbe_mac_X540_vf,
1056 .mac = ixgbe_mac_X550_vf,
1061 .mac = ixgbe_mac_X550_vf,
1066 .mac = ixgbe_mac_X550EM_x_vf,
1071 .mac = ixgbe_mac_X550EM_x_vf,
1076 .mac = ixgbe_mac_x550em_a_vf,
1081 .mac = ixgbe_mac_e610_vf,
1086 .mac = ixgbe_mac_e610_vf,