mlxsw: reg: Update RATR to support IP-in-IP tunnels
authorPetr Machata <petrm@mellanox.com>
Sat, 2 Sep 2017 21:49:10 +0000 (23:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Sep 2017 03:23:24 +0000 (20:23 -0700)
commit7c819de4389bf91878954f41e51a0003171217ff
tree65fb3a9058acf670fa189498003b7893b4ec0cd5
parent99ae8e3e5e609c1d9d4288b3a6eec449733189df
mlxsw: reg: Update RATR to support IP-in-IP tunnels

So far, adjacencies have always been of type Ethernet (with value of 0),
and thus there was no need to explicitly support RATR type. However to
support IP-in-IP adjacencies, this type and a suite of IP-in-IP-specific
attributes need to be added.

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>
drivers/net/ethernet/mellanox/mlxsw/reg.h