]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Ignore always-zeroed bits in tp->prio
authorJiri Pirko <jiri@mellanox.com>
Sun, 8 Jul 2018 07:00:16 +0000 (10:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jul 2018 08:05:19 +0000 (17:05 +0900)
commit8dc57cc75a6172b1e426ba02421cb06a89ec3dc6
treedc4e1766ecfcdf05af30bdabff44aea3792cd193
parent266cb8c55af6acc26d5b9a276820c5b206705027
mlxsw: spectrum_acl: Ignore always-zeroed bits in tp->prio

The lowest 16 bits of tp->prio are always zero, so ignore them with a
shift.

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/spectrum_acl.c