Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c523 int tbsz; in mlx5_query_hca_vport_gid() local
528 tbsz = mlx5_get_gid_table_len(MLX5_CAP_GEN(dev, gid_table_size)); in mlx5_query_hca_vport_gid()
530 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid()
532 if (gid_index > tbsz && gid_index != 0xffff) in mlx5_query_hca_vport_gid()
536 nout = tbsz; in mlx5_query_hca_vport_gid()
590 int tbsz; in mlx5_query_hca_vport_pkey() local
596 tbsz = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(dev, pkey_table_size)); in mlx5_query_hca_vport_pkey()
597 if (pkey_index > tbsz && pkey_index != 0xffff) in mlx5_query_hca_vport_pkey()
601 nout = tbsz; in mlx5_query_hca_vport_pkey()