Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmacsec.c174 int i, j, max_gids; in mlx5r_macsec_init_gids_and_devlist() local
181 max_gids = MLX5_CAP_ROCE(dev->mdev, roce_address_table_size); in mlx5r_macsec_init_gids_and_devlist()
183 dev->port[i].reserved_gids = kcalloc(max_gids, in mlx5r_macsec_init_gids_and_devlist()
189 for (j = 0; j < max_gids; j++) in mlx5r_macsec_init_gids_and_devlist()
308 int i, max_gids; in mlx5r_del_gid_macsec_operations() local
340 max_gids = MLX5_CAP_ROCE(dev->mdev, roce_address_table_size); in mlx5r_del_gid_macsec_operations()
341 for (i = 0; i < max_gids; i++) { /* Checking if macsec gid has ambiguous IP */ in mlx5r_del_gid_macsec_operations()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dfw.h57 int max_gids; member
Dfw.c1213 port_cap->max_gids = 1 << (field & 0xf); in mlx4_QUERY_PORT()
1245 port_cap->max_gids = 1 << (field >> 4); in mlx4_QUERY_PORT()
Dmain.c397 dev->phys_caps.gid_phys_table_len[port] = port_cap->max_gids; in _mlx4_dev_port()
402 dev->caps.gid_table_len[port] = port_cap->max_gids; in _mlx4_dev_port()
/linux-6.12.1/drivers/infiniband/hw/mthca/
Dmthca_cmd.h147 int max_gids; member
Dmthca_main.c199 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
Dmthca_cmd.c1121 dev_lim->max_gids = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()