commit | 511a5adcaa11fdbd224833f939cca6e18ddbd5c0 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Wed Jun 19 09:41:05 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 19 10:09:22 2019 -0400 |
tree | 05ef558a8c5b9f9aefb2b6a2a05c7ef77a4235be | |
parent | 9558a83aee62be7c3ce9eddd6484a5da16aad4cf [diff] |
mlxsw: spectrum_acl: Write RX_ACL_SYSTEM_PORT acl element correctly RX_ACL_SYSTEM_PORT is equal to SRC_SYS_PORT - 1. So before write to block we need to adjust the key value. Introduce new "EXT" helper to implement this. 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>