Searched refs:vfs (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 536 int vfs; in mlx4_get_slave_num_gids() local 564 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids() 565 if (slave_gid <= ((MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) % vfs)) in mlx4_get_slave_num_gids() 566 return ((MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) / vfs) + 1; in mlx4_get_slave_num_gids() 567 return (MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) / vfs; in mlx4_get_slave_num_gids() 575 int vfs; in mlx4_get_base_gid_ix() local 602 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix() 603 if (slave_gid <= gids % vfs) in mlx4_get_base_gid_ix() 604 return MLX4_ROCE_PF_GIDS + ((gids / vfs) + 1) * (slave_gid - 1); in mlx4_get_base_gid_ix() 606 return MLX4_ROCE_PF_GIDS + (gids % vfs) + in mlx4_get_base_gid_ix() [all …]
|
/drivers/crypto/qat/qat_common/ |
D | adf_dev_mgr.c | 374 int vfs = 0; in adf_get_num_dettached_vfs() local 381 vfs++; in adf_get_num_dettached_vfs() 384 return vfs; in adf_get_num_dettached_vfs()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 317 struct bnx2x_virtf *vfs; member 318 #define BP_VF(bp, idx) ((BP_VFDB(bp) && (bp)->vfdb->vfs) ? \ 319 &((bp)->vfdb->vfs[idx]) : NULL) 320 #define bnx2x_vf(bp, idx, var) ((bp)->vfdb->vfs[idx].var)
|
D | bnx2x_sriov.c | 1117 kfree(bp->vfdb->vfs); in __bnx2x_iov_free_vfdb() 1259 bp->vfdb->vfs = kzalloc(sizeof(struct bnx2x_virtf) * in bnx2x_iov_init_one() 1261 if (!bp->vfdb->vfs) { in bnx2x_iov_init_one()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 940 struct i40e_vf *vfs; in i40e_alloc_vfs() local 956 vfs = kcalloc(num_alloc_vfs, sizeof(struct i40e_vf), GFP_KERNEL); in i40e_alloc_vfs() 957 if (!vfs) { in i40e_alloc_vfs() 961 pf->vf = vfs; in i40e_alloc_vfs() 965 vfs[i].pf = pf; in i40e_alloc_vfs() 966 vfs[i].parent_type = I40E_SWITCH_ELEMENT_TYPE_VEB; in i40e_alloc_vfs() 967 vfs[i].vf_id = i; in i40e_alloc_vfs() 970 set_bit(I40E_VIRTCHNL_VF_CAP_L2, &vfs[i].vf_caps); in i40e_alloc_vfs() 971 vfs[i].spoofchk = true; in i40e_alloc_vfs() 973 i40e_reset_vf(&vfs[i], false); in i40e_alloc_vfs()
|
D | i40e_ethtool.c | 1657 struct i40e_vf *vfs = pf->vf; in i40e_active_vfs() local 1661 if (test_bit(I40E_VF_STAT_ACTIVE, &vfs[i].vf_states)) in i40e_active_vfs()
|
/drivers/staging/lustre/ |
D | sysfs-fs-lustre | 235 Limit Lustre vfs operations gathering to just a single pid. 242 Limit Lustre vfs operations gathering to just a single ppid. 249 Limit Lustre vfs operations gathering to just a single gid.
|