Lines Matching refs:ivi
180 struct ifla_vf_info *ivi) in bnxt_get_vf_config() argument
190 ivi->vf = vf_id; in bnxt_get_vf_config()
194 memcpy(&ivi->mac, vf->mac_addr, ETH_ALEN); in bnxt_get_vf_config()
196 memcpy(&ivi->mac, vf->vf_mac_addr, ETH_ALEN); in bnxt_get_vf_config()
197 ivi->max_tx_rate = vf->max_tx_rate; in bnxt_get_vf_config()
198 ivi->min_tx_rate = vf->min_tx_rate; in bnxt_get_vf_config()
199 ivi->vlan = vf->vlan; in bnxt_get_vf_config()
201 ivi->qos = vf->vlan >> VLAN_PRIO_SHIFT; in bnxt_get_vf_config()
203 ivi->qos = 0; in bnxt_get_vf_config()
204 ivi->spoofchk = !!(vf->flags & BNXT_VF_SPOOFCHK); in bnxt_get_vf_config()
205 ivi->trusted = bnxt_is_trusted_vf(bp, vf); in bnxt_get_vf_config()
207 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in bnxt_get_vf_config()
209 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in bnxt_get_vf_config()
211 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in bnxt_get_vf_config()