Skip to content

Commit 2d19da9

Browse files
pmachatakuba-moo
authored andcommitted
mlxsw: resources: Add max_cap_nve_flood_prf
max_cap_nve_flood_prf describes maximum number of NVE flooding profiles. The same value then applies for flooding profiles for flooding in CFF mode. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://lore.kernel.org/r/064a2e013d879e5f5494167a6c120c4bb85a2204.1700503643.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 50ee677 commit 2d19da9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/mellanox/mlxsw/resources.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ enum mlxsw_res_id {
2727
MLXSW_RES_ID_FID,
2828
MLXSW_RES_ID_MAX_LAG,
2929
MLXSW_RES_ID_MAX_LAG_MEMBERS,
30+
MLXSW_RES_ID_MAX_NVE_FLOOD_PRF,
3031
MLXSW_RES_ID_GUARANTEED_SHARED_BUFFER,
3132
MLXSW_RES_ID_CELL_SIZE,
3233
MLXSW_RES_ID_MAX_HEADROOM_SIZE,
@@ -88,6 +89,7 @@ static u16 mlxsw_res_ids[] = {
8889
[MLXSW_RES_ID_FID] = 0x2512,
8990
[MLXSW_RES_ID_MAX_LAG] = 0x2520,
9091
[MLXSW_RES_ID_MAX_LAG_MEMBERS] = 0x2521,
92+
[MLXSW_RES_ID_MAX_NVE_FLOOD_PRF] = 0x2522,
9193
[MLXSW_RES_ID_GUARANTEED_SHARED_BUFFER] = 0x2805, /* Bytes */
9294
[MLXSW_RES_ID_CELL_SIZE] = 0x2803, /* Bytes */
9395
[MLXSW_RES_ID_MAX_HEADROOM_SIZE] = 0x2811, /* Bytes */

0 commit comments

Comments
 (0)