Lines Matching refs:ivf
3199 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf)
3213 ivf->vf = vf;
3216 ivf->mac[0] = ((s_info->mac >> (5*8)) & 0xff);
3217 ivf->mac[1] = ((s_info->mac >> (4*8)) & 0xff);
3218 ivf->mac[2] = ((s_info->mac >> (3*8)) & 0xff);
3219 ivf->mac[3] = ((s_info->mac >> (2*8)) & 0xff);
3220 ivf->mac[4] = ((s_info->mac >> (1*8)) & 0xff);
3221 ivf->mac[5] = ((s_info->mac) & 0xff);
3223 ivf->vlan = s_info->default_vlan;
3224 ivf->qos = s_info->default_qos;
3225 ivf->vlan_proto = s_info->vlan_proto;
3228 ivf->max_tx_rate = s_info->tx_rate;
3230 ivf->max_tx_rate = 0;
3232 ivf->min_tx_rate = 0;
3233 ivf->spoofchk = s_info->spoofchk;
3234 ivf->linkstate = s_info->link_state;