]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Fix flex keys scratchpad offset conflict
authorJiri Pirko <jiri@mellanox.com>
Wed, 28 Feb 2018 12:12:08 +0000 (13:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 17:32:36 +0000 (12:32 -0500)
commit78753a5fd10f3b206f1012e2ea1ad92764d4ce0b
tree315ce5c53ac5c63a3cf7414a8f9efdca1d2388dd
parent22f86ab715c213fad451a391e44ae2a92912dbc0
mlxsw: core: Fix flex keys scratchpad offset conflict

IP_TTL, IP_ECN and IP_DSCP are using the same offset within the
scratchpad as L4 ports. Fix this by shifting all up.

Fixes: c259c84f24a5 ("mlxsw: acl: Add ip ttl acl element")
Fixes: i80d0fe4710c ("mlxsw: acl: Add ip tos acl element")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h