Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.h57 int max_gids; member
H A 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()
H A Dmain.c401 dev->phys_caps.gid_phys_table_len[port] = port_cap->max_gids; in _mlx4_dev_port()
406 dev->caps.gid_table_len[port] = port_cap->max_gids; in _mlx4_dev_port()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.h147 int max_gids; member
H A Dmthca_main.c199 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
H A Dmthca_cmd.c1121 dev_lim->max_gids = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()