mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
mlxsw: reg: Add underlay egress RIF field in RTDP register
In Spectrum-2 we need to specify the underlay egress router interface when performing IP-in-IP and NVE packet decapsulation in the underlay router. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
afba3e1082
commit
c9417498a6
@ -7210,6 +7210,13 @@ MLXSW_ITEM32(reg, rtdp, type, 0x00, 28, 4);
|
||||
*/
|
||||
MLXSW_ITEM32(reg, rtdp, tunnel_index, 0x00, 0, 24);
|
||||
|
||||
/* reg_rtdp_egress_router_interface
|
||||
* Underlay egress router interface.
|
||||
* Valid range is from 0 to cap_max_router_interfaces - 1
|
||||
* Access: RW
|
||||
*/
|
||||
MLXSW_ITEM32(reg, rtdp, egress_router_interface, 0x40, 0, 16);
|
||||
|
||||
/* IPinIP */
|
||||
|
||||
/* reg_rtdp_ipip_irif
|
||||
|
Loading…
Reference in New Issue
Block a user