mlxsw: spectrum_router: Add basic ipv4 router initialization
authorIdo Schimmel <idosch@mellanox.com>
Sat, 2 Jul 2016 09:00:15 +0000 (11:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2016 19:21:17 +0000 (15:21 -0400)
commit464dce188487bcf8c4751a41ff291e367744ef28
tree708ef3e62e8ba837e589b395de925b39a972a1a3
parentbbf2a4757b307b6ba64c0f4cce97e6993703d53d
mlxsw: spectrum_router: Add basic ipv4 router initialization

Create a skeleton router file and do basic HW initialization of router.

Signed-off-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/Makefile
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c [new file with mode: 0644]