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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c98 int tbsz; mlx5_query_hca_vport_gid() local
103 tbsz = mlx5_get_gid_table_len(MLX5_CAP_GEN(dev, gid_table_size)); mlx5_query_hca_vport_gid()
105 vf_num, gid_index, tbsz); mlx5_query_hca_vport_gid()
107 if (gid_index > tbsz && gid_index != 0xffff) mlx5_query_hca_vport_gid()
111 nout = tbsz; mlx5_query_hca_vport_gid()
169 int tbsz; mlx5_query_hca_vport_pkey() local
175 tbsz = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(dev, pkey_table_size)); mlx5_query_hca_vport_pkey()
176 if (pkey_index > tbsz && pkey_index != 0xffff) mlx5_query_hca_vport_pkey()
180 nout = tbsz; mlx5_query_hca_vport_pkey()

Completed in 29 milliseconds