]> 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)
commitbd21efe731ad632c872c6f6ee95b7db87fca4368
tree315ce5c53ac5c63a3cf7414a8f9efdca1d2388dd
parenta2251d078f92d711b0240e0cb8cff1912347b2c3
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: 21e90140c39a ("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