OSDN Git Service

mlxsw: spectrum: Move L3 protocol and address definitions to global header file
authorIdo Schimmel <idosch@mellanox.com>
Thu, 11 Oct 2018 07:47:54 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:08:22 +0000 (10:08 -0700)
commit12066d612b22001829fa378ca127956ee72e13c1
treeef16adba3285cfb50e6fce08e3b7bb69c24db0f7
parent9c73b1d120aadf26a3bbf34841ddac73b29c0326
mlxsw: spectrum: Move L3 protocol and address definitions to global header file

The L3 protocol and address definitions are going to be used by the NVE
code, so move them to the global header file from the one private to the
router.

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