]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a6276537c29c262ae87fee85677e053b2871db4
tree4548427d45b8abcc1e1e06787c462fb79912989a
parent5cea3ce986fa5e8c83fdb3fb1fbfbc29f1d6f4f5
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