]> asedeno.scripts.mit.edu Git - linux.git/commit
mlxsw: spectrum_nve: Enable VXLAN on Spectrum-2
authorIdo Schimmel <idosch@mellanox.com>
Wed, 23 Jan 2019 14:32:59 +0000 (14:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2019 17:28:27 +0000 (09:28 -0800)
commit02d21b59d5cc4b4b395bbc2a29319b8a529ebeff
tree4fd13bc2cd535c8de1828f81711443a0598202d6
parent4ee70efab68d2e99cfe9f32c9acc30b5a404d490
mlxsw: spectrum_nve: Enable VXLAN on Spectrum-2

Enable VXLAN on Spectrum-2 as previous patches added the required
functionality.

Note that for now Spectrum-1 and Spectrum-2 use the same function to
determine whether the VXLAN configuration is valid or not. In the
future, when the driver will be extended to support features not present
in Spectrum-1, two different functions will be needed.

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_nve_vxlan.c