Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c527 int tbsz; in mlx5_query_hca_vport_gid() local
532 tbsz = mlx5_get_gid_table_len(MLX5_CAP_GEN(dev, gid_table_size)); in mlx5_query_hca_vport_gid()
534 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid()
536 if (gid_index > tbsz && gid_index != 0xffff) in mlx5_query_hca_vport_gid()
540 nout = tbsz; in mlx5_query_hca_vport_gid()
594 int tbsz; in mlx5_query_hca_vport_pkey() local
600 tbsz = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(dev, pkey_table_size)); in mlx5_query_hca_vport_pkey()
601 if (pkey_index > tbsz && pkey_index != 0xffff) in mlx5_query_hca_vport_pkey()
605 nout = tbsz; in mlx5_query_hca_vport_pkey()