mlxsw: spectrum_flower: Set dummy FID before forward action
authorJiri Pirko <jiri@mellanox.com>
Tue, 18 Apr 2017 14:55:34 +0000 (16:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Apr 2017 19:32:30 +0000 (15:32 -0400)
commitcedbb8b25948764689385075fce793e63fab9973
tree28d7f160e60be8c19633021d94c8689e3dd4fe3c
parent202d6f423c8a9600d645becf8a0b6ba908411c3f
mlxsw: spectrum_flower: Set dummy FID before forward action

HW requires the FID to be valid in order for the forward action to work.
So regardless of the current FID validity, just set the dummy FID which
would do the trick.

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