Commit 83930cd7 authored by Petr Machata's avatar Petr Machata Committed by David S. Miller

mlxsw: reg.h: Namespace IP2ME registers

This renames IP2ME-specific registers reg_ralue_v and
reg_ralue_tunnel_ptr to reg_ralue_ip2me_*.
Signed-off-by: default avatarPetr Machata <petrm@mellanox.com>
Reviewed-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 78676ad4
...@@ -4813,7 +4813,7 @@ MLXSW_ITEM32(reg, ralue, ecmp_size, 0x28, 0, 13); ...@@ -4813,7 +4813,7 @@ MLXSW_ITEM32(reg, ralue, ecmp_size, 0x28, 0, 13);
*/ */
MLXSW_ITEM32(reg, ralue, local_erif, 0x24, 0, 16); MLXSW_ITEM32(reg, ralue, local_erif, 0x24, 0, 16);
/* reg_ralue_v /* reg_ralue_ip2me_v
* Valid bit for the tunnel_ptr field. * Valid bit for the tunnel_ptr field.
* If valid = 0 then trap to CPU as IP2ME trap ID. * If valid = 0 then trap to CPU as IP2ME trap ID.
* If valid = 1 and the packet format allows NVE or IPinIP tunnel * If valid = 1 and the packet format allows NVE or IPinIP tunnel
...@@ -4823,15 +4823,15 @@ MLXSW_ITEM32(reg, ralue, local_erif, 0x24, 0, 16); ...@@ -4823,15 +4823,15 @@ MLXSW_ITEM32(reg, ralue, local_erif, 0x24, 0, 16);
* Only relevant in case of IP2ME action. * Only relevant in case of IP2ME action.
* Access: RW * Access: RW
*/ */
MLXSW_ITEM32(reg, ralue, v, 0x24, 31, 1); MLXSW_ITEM32(reg, ralue, ip2me_v, 0x24, 31, 1);
/* reg_ralue_tunnel_ptr /* reg_ralue_ip2me_tunnel_ptr
* Tunnel Pointer for NVE or IPinIP tunnel decapsulation. * Tunnel Pointer for NVE or IPinIP tunnel decapsulation.
* For Spectrum, pointer to KVD Linear. * For Spectrum, pointer to KVD Linear.
* Only relevant in case of IP2ME action. * Only relevant in case of IP2ME action.
* Access: RW * Access: RW
*/ */
MLXSW_ITEM32(reg, ralue, tunnel_ptr, 0x24, 0, 24); MLXSW_ITEM32(reg, ralue, ip2me_tunnel_ptr, 0x24, 0, 24);
static inline void mlxsw_reg_ralue_pack(char *payload, static inline void mlxsw_reg_ralue_pack(char *payload,
enum mlxsw_reg_ralxx_protocol protocol, enum mlxsw_reg_ralxx_protocol protocol,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment