commit | a43da820c8ff671054105144287766a24cfbcdc0 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Sat Sep 02 23:49:12 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 03 20:23:24 2017 -0700 |
tree | 0567806ae7d2f41c90353bdfaade1d46af49fb37 | |
parent | 6c4153b1e7b71ba5e9183f14eed58a5277be3894 [diff] |
mlxsw: reg: Add mlxsw_reg_ralue_act_ip2me_tun_pack() To implement IP-in-IP decapsulation, Spectrum uses LPM entries of type IP2ME with tunnel validity bit and tunnel pointer set. The necessary register fields are already available, so add a function to pack the RALUE as appropriate. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>