Lines Matching refs:vf_i

514 	unsigned vf_i;  in map_vi_index()  local
518 vf_i = (abs_index - EFX_VI_BASE) / efx_vf_size(efx); in map_vi_index()
519 if (vf_i >= efx->vf_init_count) in map_vi_index()
523 *vf_out = efx->vf + vf_i; in map_vi_index()
1453 void efx_siena_sriov_flr(struct efx_nic *efx, unsigned vf_i) in efx_siena_sriov_flr() argument
1457 if (vf_i > efx->vf_init_count) in efx_siena_sriov_flr()
1459 vf = efx->vf + vf_i; in efx_siena_sriov_flr()
1544 unsigned int vf_i; in efx_siena_sriov_reset() local
1559 for (vf_i = 0; vf_i < efx->vf_init_count; ++vf_i) { in efx_siena_sriov_reset()
1560 vf = efx->vf + vf_i; in efx_siena_sriov_reset()
1585 int efx_siena_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_siena_sriov_set_vf_mac() argument
1590 if (vf_i >= efx->vf_init_count) in efx_siena_sriov_set_vf_mac()
1592 vf = efx->vf + vf_i; in efx_siena_sriov_set_vf_mac()
1602 int efx_siena_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, in efx_siena_sriov_set_vf_vlan() argument
1609 if (vf_i >= efx->vf_init_count) in efx_siena_sriov_set_vf_vlan()
1611 vf = efx->vf + vf_i; in efx_siena_sriov_set_vf_vlan()
1622 int efx_siena_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_siena_sriov_set_vf_spoofchk() argument
1629 if (vf_i >= efx->vf_init_count) in efx_siena_sriov_set_vf_spoofchk()
1631 vf = efx->vf + vf_i; in efx_siena_sriov_set_vf_spoofchk()
1646 int efx_siena_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_siena_sriov_get_vf_config() argument
1653 if (vf_i >= efx->vf_init_count) in efx_siena_sriov_get_vf_config()
1655 vf = efx->vf + vf_i; in efx_siena_sriov_get_vf_config()
1657 ivi->vf = vf_i; in efx_siena_sriov_get_vf_config()