Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c548 int tbsz; in mlx5_query_hca_vport_gid() local
553 tbsz = mlx5_get_gid_table_len(MLX5_CAP_GEN(dev, gid_table_size)); in mlx5_query_hca_vport_gid()
555 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid()
557 if (gid_index > tbsz && gid_index != 0xffff) in mlx5_query_hca_vport_gid()
561 nout = tbsz; in mlx5_query_hca_vport_gid()
615 int tbsz; in mlx5_query_hca_vport_pkey() local
621 tbsz = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(dev, pkey_table_size)); in mlx5_query_hca_vport_pkey()
622 if (pkey_index > tbsz && pkey_index != 0xffff) in mlx5_query_hca_vport_pkey()
626 nout = tbsz; in mlx5_query_hca_vport_pkey()