Searched refs:max_gids (Results 1 – 7 of 7) sorted by relevance
174 int i, j, max_gids; in mlx5r_macsec_init_gids_and_devlist() local181 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() local340 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()
57 int max_gids; member
1213 port_cap->max_gids = 1 << (field & 0xf); in mlx4_QUERY_PORT()1245 port_cap->max_gids = 1 << (field >> 4); in mlx4_QUERY_PORT()
397 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()
147 int max_gids; member
199 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
1121 dev_lim->max_gids = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()