Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c860 const unsigned int ESW_POOLS[4] = { 4 * 1024 * 1024, 1 * 1024 * 1024, variable
868 for (i = 0; i < ARRAY_SIZE(ESW_POOLS); i++) { in get_sz_from_pool()
871 sz = ESW_POOLS[i]; in get_sz_from_pool()
884 for (i = 0; i < ARRAY_SIZE(ESW_POOLS); i++) { in put_sz_to_pool()
885 if (sz >= ESW_POOLS[i]) { in put_sz_to_pool()
1087 for (i = 0; i < ARRAY_SIZE(ESW_POOLS); i++) in esw_create_offloads_fdb_tables()
1089 ESW_POOLS[i] <= fdb_max ? ESW_SIZE / ESW_POOLS[i] : 0; in esw_create_offloads_fdb_tables()
Deswitch.h140 extern const unsigned int ESW_POOLS[4];
173 int fdb_left[ARRAY_SIZE(ESW_POOLS)];