mlxsw: resources: Add CQE versions resources
Add resources that FW uses to report supported CQE versions. 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:
committed by
David S. Miller
parent
faa1cd8298
commit
9b934a3bdc
@ -43,6 +43,9 @@ enum mlxsw_res_id {
|
||||
MLXSW_RES_ID_KVD_SINGLE_MIN_SIZE,
|
||||
MLXSW_RES_ID_KVD_DOUBLE_MIN_SIZE,
|
||||
MLXSW_RES_ID_MAX_TRAP_GROUPS,
|
||||
MLXSW_RES_ID_CQE_V0,
|
||||
MLXSW_RES_ID_CQE_V1,
|
||||
MLXSW_RES_ID_CQE_V2,
|
||||
MLXSW_RES_ID_COUNTER_POOL_SIZE,
|
||||
MLXSW_RES_ID_MAX_SPAN,
|
||||
MLXSW_RES_ID_COUNTER_SIZE_PACKETS_BYTES,
|
||||
@ -81,6 +84,9 @@ static u16 mlxsw_res_ids[] = {
|
||||
[MLXSW_RES_ID_KVD_SINGLE_MIN_SIZE] = 0x1002,
|
||||
[MLXSW_RES_ID_KVD_DOUBLE_MIN_SIZE] = 0x1003,
|
||||
[MLXSW_RES_ID_MAX_TRAP_GROUPS] = 0x2201,
|
||||
[MLXSW_RES_ID_CQE_V0] = 0x2210,
|
||||
[MLXSW_RES_ID_CQE_V1] = 0x2211,
|
||||
[MLXSW_RES_ID_CQE_V2] = 0x2212,
|
||||
[MLXSW_RES_ID_COUNTER_POOL_SIZE] = 0x2410,
|
||||
[MLXSW_RES_ID_MAX_SPAN] = 0x2420,
|
||||
[MLXSW_RES_ID_COUNTER_SIZE_PACKETS_BYTES] = 0x2443,
|
||||
|
Reference in New Issue
Block a user