mlxsw: spectrum: Add dummy FID initialization
authorJiri Pirko <jiri@mellanox.com>
Tue, 18 Apr 2017 14:55:33 +0000 (16:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Apr 2017 19:32:30 +0000 (15:32 -0400)
commit202d6f423c8a9600d645becf8a0b6ba908411c3f
treec07153f06e7351d99ae4735d8dddeeb9a9f2b508
parentac44dd43d8c99f33552ddb0c96a4624b143f505d
mlxsw: spectrum: Add dummy FID initialization

For forwarding using ACL action, HW needs a valid FID to be setup. It
does not actually use it, so it can be any valid FID. So create a dummy
FID only for this purpose.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h