]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Reorder code in query device command
authorLeon Romanovsky <leon@kernel.org>
Mon, 2 Jan 2017 09:37:39 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jan 2017 20:51:20 +0000 (15:51 -0500)
commit3cbc713cdec2fb473e711426ad67c8705cc1edab
treeaa43b82f73cf4cc359693b42ee929ac57fce14a5
parent2cbbce940969d4e17c6bd2ab4b00812b65f6a1d5
IB/mlx5: Reorder code in query device command

The order of features exposed by private mlx5-abi.h
file is CQE zipping, packet pacing and multi-packet WQE.

The internal order implemented in mlx5_ib_query_device() is
multi-packet WQE, CQE zipping and packet pacing.

Such difference hurts code readability, so let's sync,
while mlx5-abi.h (exposed to userspace) is the primary
order.

This commit doesn't change any functionality.

Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/main.c