mlxsw: core_acl_flex_actions: Fix helper to get the first KVD linear index
authorJiri Pirko <jiri@mellanox.com>
Sun, 8 Jul 2018 07:00:21 +0000 (10:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jul 2018 08:05:19 +0000 (17:05 +0900)
commit0317a6f4eb42a7a8cc9c920183d340312d2e8c87
tree4548427d45b8abcc1e1e06787c462fb79912989a
parent5b9488fd5f1e007d22543e68cc95eb41c91f8018
mlxsw: core_acl_flex_actions: Fix helper to get the first KVD linear index

The helper should return always KVD linear index of the second set.
It is unused now, but going to be used soon.

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