diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2019-10-29 08:27:42 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-06 16:00:06 -0400 |
commit | ffa2fd1323e32093abc23e7d71ed92b85e566ffe (patch) | |
tree | 8fcebd202a29040746936a9655de49ea5fc9aa77 /drivers/infiniband/hw/hns/hns_roce_hw_v1.h | |
parent | 84b56d57cf3cc9640b69cbb3a5d023d010ccb62a (diff) |
RDMA/mlx5: Rewrite MAD processing logic to be readable
Multiple "if"s and "||" make extension of process_mad() function
as a tedious task, rewrite that function to be more readable.
Link: https://lore.kernel.org/r/20191029062745.7932-14-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hw_v1.h')
0 files changed, 0 insertions, 0 deletions