ESW_POOLS 140 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h extern const unsigned int ESW_POOLS[4]; ESW_POOLS 173 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int fdb_left[ARRAY_SIZE(ESW_POOLS)]; ESW_POOLS 860 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c const unsigned int ESW_POOLS[4] = { 4 * 1024 * 1024, 1 * 1024 * 1024, ESW_POOLS 868 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c for (i = 0; i < ARRAY_SIZE(ESW_POOLS); i++) { ESW_POOLS 871 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c sz = ESW_POOLS[i]; ESW_POOLS 884 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c for (i = 0; i < ARRAY_SIZE(ESW_POOLS); i++) { ESW_POOLS 885 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (sz >= ESW_POOLS[i]) { ESW_POOLS 1087 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c for (i = 0; i < ARRAY_SIZE(ESW_POOLS); i++) ESW_POOLS 1089 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c ESW_POOLS[i] <= fdb_max ? ESW_SIZE / ESW_POOLS[i] : 0;