Lines Matching refs:s_info

2905 	struct mlx4_vport_state *s_info;  in mlx4_set_vf_mac()  local
2916 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_mac()
2917 s_info->mac = mac; in mlx4_set_vf_mac()
2919 vf, port, s_info->mac); in mlx4_set_vf_mac()
3060 struct mlx4_vport_state *s_info; in mlx4_set_vf_spoofchk() local
3072 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_spoofchk()
3073 s_info->spoofchk = setting; in mlx4_set_vf_spoofchk()
3082 struct mlx4_vport_state *s_info; in mlx4_get_vf_config() local
3092 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_get_vf_config()
3096 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff); in mlx4_get_vf_config()
3097 ivf->mac[1] = ((s_info->mac >> (4*8)) & 0xff); in mlx4_get_vf_config()
3098 ivf->mac[2] = ((s_info->mac >> (3*8)) & 0xff); in mlx4_get_vf_config()
3099 ivf->mac[3] = ((s_info->mac >> (2*8)) & 0xff); in mlx4_get_vf_config()
3100 ivf->mac[4] = ((s_info->mac >> (1*8)) & 0xff); in mlx4_get_vf_config()
3101 ivf->mac[5] = ((s_info->mac) & 0xff); in mlx4_get_vf_config()
3103 ivf->vlan = s_info->default_vlan; in mlx4_get_vf_config()
3104 ivf->qos = s_info->default_qos; in mlx4_get_vf_config()
3106 if (mlx4_is_vf_vst_and_prio_qos(dev, port, s_info)) in mlx4_get_vf_config()
3107 ivf->max_tx_rate = s_info->tx_rate; in mlx4_get_vf_config()
3112 ivf->spoofchk = s_info->spoofchk; in mlx4_get_vf_config()
3113 ivf->linkstate = s_info->link_state; in mlx4_get_vf_config()
3122 struct mlx4_vport_state *s_info; in mlx4_set_vf_link_state() local
3153 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_link_state()
3154 s_info->link_state = link_state; in mlx4_set_vf_link_state()