summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-10-31 11:42:19 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-31 10:54:47 -0700
commitc3a64b5173e1416cf3d982b02e1c1b918382f701 (patch)
tree80099f51d421e84811580c7672a7d1750b076653 /include/linux/timerqueue.h
parent013da297911830882611c4ae4764117dacf6713f (diff)
downloadcachepc-linux-c3a64b5173e1416cf3d982b02e1c1b918382f701.tar.gz
cachepc-linux-c3a64b5173e1416cf3d982b02e1c1b918382f701.zip
mlxsw: spectrum: Fix base port get for split count 4 and 8
The current code considers only split by 2 or 4. Make the base port getting generic and allow split by 8 to be handled correctly. Generalize the used port checks as well. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Shalom Toledo <shalomt@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions