summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorLeon Romanovsky2016-02-23 09:25:22 +0100
committerDoug Ledford2016-03-21 21:29:07 +0100
commitb06e7de8a9d8d1d540ec122bbdf2face2a211634 (patch)
tree07762707f1911508a4df99cafc7b6cd5360873a5 /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5_core: Fix caching ATOMIC endian mode capability (diff)
downloadkernel-qcow2-linux-b06e7de8a9d8d1d540ec122bbdf2face2a211634.tar.gz
kernel-qcow2-linux-b06e7de8a9d8d1d540ec122bbdf2face2a211634.tar.xz
kernel-qcow2-linux-b06e7de8a9d8d1d540ec122bbdf2face2a211634.zip
net/mlx5_core: Refactor device capability function
Device capability function was called similar in all places. It was called twice for every queried parameter, while the difference between calls was in HCA capability mode only. The change proposed unify these calls into one function. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
0 files changed, 0 insertions, 0 deletions