Lines Matching refs:mac
2018 vp_oper->state.mac = vp_admin->mac; in mlx4_master_activate_admin_state()
2043 vp_admin->mac); in mlx4_master_activate_admin_state()
2053 vp_oper->state.mac, vp_oper->mac_idx, slave, port); in mlx4_master_activate_admin_state()
2077 __mlx4_unregister_mac(&priv->dev, port, vp_oper->state.mac); in mlx4_master_deactivate_admin_state()
2975 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u8 *mac) in mlx4_set_vf_mac() argument
2984 if (is_multicast_ether_addr(mac)) in mlx4_set_vf_mac()
2994 if (s_info->spoofchk && is_zero_ether_addr(mac)) { in mlx4_set_vf_mac()
2999 s_info->mac = ether_addr_to_u64(mac); in mlx4_set_vf_mac()
3001 vf, port, s_info->mac); in mlx4_set_vf_mac()
3172 u8 mac[ETH_ALEN]; in mlx4_set_vf_spoofchk() local
3185 u64_to_ether_addr(s_info->mac, mac); in mlx4_set_vf_spoofchk()
3186 if (setting && !is_valid_ether_addr(mac)) { in mlx4_set_vf_spoofchk()
3214 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff); in mlx4_get_vf_config()
3215 ivf->mac[1] = ((s_info->mac >> (4*8)) & 0xff); in mlx4_get_vf_config()
3216 ivf->mac[2] = ((s_info->mac >> (3*8)) & 0xff); in mlx4_get_vf_config()
3217 ivf->mac[3] = ((s_info->mac >> (2*8)) & 0xff); in mlx4_get_vf_config()
3218 ivf->mac[4] = ((s_info->mac >> (1*8)) & 0xff); in mlx4_get_vf_config()
3219 ivf->mac[5] = ((s_info->mac) & 0xff); in mlx4_get_vf_config()