Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c540 int tbsz; in mlx5_query_hca_vport_gid() local
545 tbsz = mlx5_get_gid_table_len(MLX5_CAP_GEN(dev, gid_table_size)); in mlx5_query_hca_vport_gid()
547 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid()
549 if (gid_index > tbsz && gid_index != 0xffff) in mlx5_query_hca_vport_gid()
553 nout = tbsz; in mlx5_query_hca_vport_gid()
607 int tbsz; in mlx5_query_hca_vport_pkey() local
613 tbsz = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(dev, pkey_table_size)); in mlx5_query_hca_vport_pkey()
614 if (pkey_index > tbsz && pkey_index != 0xffff) in mlx5_query_hca_vport_pkey()
618 nout = tbsz; in mlx5_query_hca_vport_pkey()