]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Configure matching local routes for NVE decap
authorIdo Schimmel <idosch@mellanox.com>
Wed, 17 Oct 2018 08:53:19 +0000 (08:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 00:45:07 +0000 (17:45 -0700)
commit84de8e47cfa273ec3c8f5f7d01ea122f64ab6295
tree55fcdd87158a4da6c0f901ade6b5f77de68c2b20
parente178808d78414dec2819d52b0ca5436cd94d49f6
mlxsw: spectrum_router: Configure matching local routes for NVE decap

When a local route that matches the source IP of an offloaded NVE tunnel
is notified, the driver needs to program it to perform NVE decapsulation
instead of merely trapping packets to the CPU.

This patch complements "mlxsw: spectrum_router: Enable local routes
promotion to perform NVE decap" where existing local routes were
promoted to perform NVE decapsulation.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c