Lines Matching refs:s_info
2921 struct mlx4_vport_state *s_info; in mlx4_set_vf_mac() local
2932 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_mac()
2933 s_info->mac = mac; in mlx4_set_vf_mac()
2935 vf, port, s_info->mac); in mlx4_set_vf_mac()
3076 struct mlx4_vport_state *s_info; in mlx4_set_vf_spoofchk() local
3088 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_spoofchk()
3089 s_info->spoofchk = setting; in mlx4_set_vf_spoofchk()
3098 struct mlx4_vport_state *s_info; in mlx4_get_vf_config() local
3108 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_get_vf_config()
3112 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff); in mlx4_get_vf_config()
3113 ivf->mac[1] = ((s_info->mac >> (4*8)) & 0xff); in mlx4_get_vf_config()
3114 ivf->mac[2] = ((s_info->mac >> (3*8)) & 0xff); in mlx4_get_vf_config()
3115 ivf->mac[3] = ((s_info->mac >> (2*8)) & 0xff); in mlx4_get_vf_config()
3116 ivf->mac[4] = ((s_info->mac >> (1*8)) & 0xff); in mlx4_get_vf_config()
3117 ivf->mac[5] = ((s_info->mac) & 0xff); in mlx4_get_vf_config()
3119 ivf->vlan = s_info->default_vlan; in mlx4_get_vf_config()
3120 ivf->qos = s_info->default_qos; in mlx4_get_vf_config()
3122 if (mlx4_is_vf_vst_and_prio_qos(dev, port, s_info)) in mlx4_get_vf_config()
3123 ivf->max_tx_rate = s_info->tx_rate; in mlx4_get_vf_config()
3128 ivf->spoofchk = s_info->spoofchk; in mlx4_get_vf_config()
3129 ivf->linkstate = s_info->link_state; in mlx4_get_vf_config()
3138 struct mlx4_vport_state *s_info; in mlx4_set_vf_link_state() local
3169 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_link_state()
3170 s_info->link_state = link_state; in mlx4_set_vf_link_state()