Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c526 int tbsz; in mlx5_query_hca_vport_gid() local
531 tbsz = mlx5_get_gid_table_len(MLX5_CAP_GEN(dev, gid_table_size)); in mlx5_query_hca_vport_gid()
533 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid()
535 if (gid_index > tbsz && gid_index != 0xffff) in mlx5_query_hca_vport_gid()
539 nout = tbsz; in mlx5_query_hca_vport_gid()
593 int tbsz; in mlx5_query_hca_vport_pkey() local
599 tbsz = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(dev, pkey_table_size)); in mlx5_query_hca_vport_pkey()
600 if (pkey_index > tbsz && pkey_index != 0xffff) in mlx5_query_hca_vport_pkey()
604 nout = tbsz; in mlx5_query_hca_vport_pkey()