Home
last modified time | relevance | path

Searched refs:num_alloc_vsi (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/intel/ice/
H A Dice.h159 for ((i) = 0; (i) < (pf)->num_alloc_vsi; (i)++)
622 u16 num_alloc_vsi; member
H A Dice_main.c5002 pf->num_alloc_vsi = pf->hw.func_caps.guar_num_vsi; in ice_alloc_vsis()
5003 if (!pf->num_alloc_vsi) in ice_alloc_vsis()
5006 if (pf->num_alloc_vsi > UDP_TUNNEL_NIC_MAX_SHARING_DEVICES) { in ice_alloc_vsis()
5009 pf->num_alloc_vsi, UDP_TUNNEL_NIC_MAX_SHARING_DEVICES); in ice_alloc_vsis()
5010 pf->num_alloc_vsi = UDP_TUNNEL_NIC_MAX_SHARING_DEVICES; in ice_alloc_vsis()
5013 pf->vsi = devm_kcalloc(dev, pf->num_alloc_vsi, sizeof(*pf->vsi), in ice_alloc_vsis()
5018 pf->vsi_stats = devm_kcalloc(dev, pf->num_alloc_vsi, in ice_alloc_vsis()
5033 pf->num_alloc_vsi = 0; in ice_dealloc_vsis()
H A Dice_lib.c638 pf->next_vsi = ice_get_free_slot(pf->vsi, pf->num_alloc_vsi, in ice_vsi_alloc()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h487 u16 num_alloc_vsi; /* num VSIs this driver supports */ member
701 while (*idx < pf->num_alloc_vsi) { in __i40e_pf_next_vsi()
H A Di40e_main.c11516 while (i < pf->num_alloc_vsi && pf->vsi[i]) in i40e_vsi_mem_alloc()
11518 if (i >= pf->num_alloc_vsi) { in i40e_vsi_mem_alloc()
11524 if (i < pf->num_alloc_vsi && !pf->vsi[i]) { in i40e_vsi_mem_alloc()
15528 pf->num_alloc_vsi = I40E_MIN_VSI_ALLOC; in i40e_init_recovery_mode()
15530 pf->num_alloc_vsi = pf->hw.func_caps.num_vsis; in i40e_init_recovery_mode()
15533 pf->vsi = kcalloc(pf->num_alloc_vsi, sizeof(struct i40e_vsi *), in i40e_init_recovery_mode()
15947 pf->num_alloc_vsi = I40E_MIN_VSI_ALLOC; in i40e_probe()
15949 pf->num_alloc_vsi = pf->hw.func_caps.num_vsis; in i40e_probe()
15950 if (pf->num_alloc_vsi > UDP_TUNNEL_NIC_MAX_SHARING_DEVICES) { in i40e_probe()
15953 pf->num_alloc_vsi, UDP_TUNNEL_NIC_MAX_SHARING_DEVICES); in i40e_probe()
[all …]