mlxsw: resources: Add couple of Spectrum-2 KVD resources
These resources are needed for Spectrum-2 KVD linear management implementation. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
abfd61825b
Коммит
a8b9f232ec
|
@ -42,6 +42,8 @@ enum mlxsw_res_id {
|
|||
MLXSW_RES_ID_KVD_SIZE,
|
||||
MLXSW_RES_ID_KVD_SINGLE_MIN_SIZE,
|
||||
MLXSW_RES_ID_KVD_DOUBLE_MIN_SIZE,
|
||||
MLXSW_RES_ID_MAX_KVD_LINEAR_RANGE,
|
||||
MLXSW_RES_ID_MAX_KVD_ACTION_SETS,
|
||||
MLXSW_RES_ID_MAX_TRAP_GROUPS,
|
||||
MLXSW_RES_ID_CQE_V0,
|
||||
MLXSW_RES_ID_CQE_V1,
|
||||
|
@ -83,6 +85,8 @@ static u16 mlxsw_res_ids[] = {
|
|||
[MLXSW_RES_ID_KVD_SIZE] = 0x1001,
|
||||
[MLXSW_RES_ID_KVD_SINGLE_MIN_SIZE] = 0x1002,
|
||||
[MLXSW_RES_ID_KVD_DOUBLE_MIN_SIZE] = 0x1003,
|
||||
[MLXSW_RES_ID_MAX_KVD_LINEAR_RANGE] = 0x1005,
|
||||
[MLXSW_RES_ID_MAX_KVD_ACTION_SETS] = 0x1007,
|
||||
[MLXSW_RES_ID_MAX_TRAP_GROUPS] = 0x2201,
|
||||
[MLXSW_RES_ID_CQE_V0] = 0x2210,
|
||||
[MLXSW_RES_ID_CQE_V1] = 0x2211,
|
||||
|
|
Загрузка…
Ссылка в новой задаче