]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac36d0a805c60b99a875c612f46bc2d851a80e3c
tree65fb3a9058acf670fa189498003b7893b4ec0cd5
parentda3b5815675f341a08edea3754dcb5cd0f0f5acd
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