Lines Matching refs:mac

34 	num_vf_macvlans = hw->mac.num_rar_entries -  in ixgbe_alloc_vf_macvlans()
82 if ((adapter->hw.mac.type == ixgbe_mac_82599EB) && (num_vfs < 16)) { in __ixgbe_enable_sriov()
453 err = hw->mac.ops.set_vfta(hw, vid, VMDQ_P(0), true, false); in ixgbe_set_vf_vlan()
458 err = hw->mac.ops.set_vfta(hw, vid, vf, !!add, false); in ixgbe_set_vf_vlan()
491 if (adapter->hw.mac.type == ixgbe_mac_82599EB) { in ixgbe_set_vf_lpe()
727 hw->mac.ops.set_vlan_anti_spoofing(hw, true, vf); in ixgbe_vf_reset_event()
728 hw->mac.ops.set_mac_anti_spoofing(hw, true, vf); in ixgbe_vf_reset_event()
857 if (adapter->hw.mac.type == ixgbe_mac_82599EB) { in ixgbe_set_vf_rx_tx()
942 msgbuf[3] = hw->mac.mc_filter_type; in ixgbe_vf_reset_msg()
1021 hw->mac.ops.set_mac_anti_spoofing(hw, false, vf); in ixgbe_set_vf_macvlan_msg()
1022 hw->mac.ops.set_vlan_anti_spoofing(hw, false, vf); in ixgbe_set_vf_macvlan_msg()
1202 if (hw->mac.type <= ixgbe_mac_82599EB) in ixgbe_update_vf_xcast_mode()
1420 int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in ixgbe_ndo_set_vf_mac() argument
1428 if (is_valid_ether_addr(mac)) { in ixgbe_ndo_set_vf_mac()
1430 mac, vf); in ixgbe_ndo_set_vf_mac()
1433 retval = ixgbe_set_vf_mac(adapter, vf, mac); in ixgbe_ndo_set_vf_mac()
1444 } else if (is_zero_ether_addr(mac)) { in ixgbe_ndo_set_vf_mac()
1457 memcpy(vf_mac_addr, mac, ETH_ALEN); in ixgbe_ndo_set_vf_mac()
1485 if (hw->mac.type >= ixgbe_mac_X550) in ixgbe_enable_port_vlan()
1517 if (hw->mac.type >= ixgbe_mac_X550) in ixgbe_disable_port_vlan()
1600 switch (hw->mac.type) { in ixgbe_set_vf_rate_limit()
1692 hw->mac.ops.set_mac_anti_spoofing(hw, setting, vf); in ixgbe_ndo_set_vf_spoofchk()
1695 hw->mac.ops.set_vlan_anti_spoofing(hw, setting, vf); in ixgbe_ndo_set_vf_spoofchk()
1700 if (hw->mac.ops.set_ethertype_anti_spoofing) { in ixgbe_ndo_set_vf_spoofchk()
1711 hw->mac.ops.set_ethertype_anti_spoofing(hw, setting, vf); in ixgbe_ndo_set_vf_spoofchk()
1803 if (adapter->hw.mac.type < ixgbe_mac_82599EB || in ixgbe_ndo_set_vf_rss_query_en()
1804 adapter->hw.mac.type >= ixgbe_mac_X550) in ixgbe_ndo_set_vf_rss_query_en()
1844 memcpy(&ivi->mac, adapter->vfinfo[vf].vf_mac_addresses, ETH_ALEN); in ixgbe_ndo_get_vf_config()