summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2016-02-23 10:25:22 +0200
committerDoug Ledford <dledford@redhat.com>2016-03-21 16:29:07 -0400
commitb06e7de8a9d8d1d540ec122bbdf2face2a211634 (patch)
tree07762707f1911508a4df99cafc7b6cd5360873a5 /include/linux/mlx5/mlx5_ifc.h
parent91d9ed8443b88cc50b81cf5ec900172515270f6f (diff)
downloadblackbird-op-linux-b06e7de8a9d8d1d540ec122bbdf2face2a211634.tar.gz
blackbird-op-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
OpenPOWER on IntegriCloud