summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorXinhao Liu <liuxinhao5@hisilicon.com>2021-02-05 17:39:31 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-02-08 20:25:25 -0400
commit993703370a6f929fcef39a14d1be17cbc1d26a30 (patch)
treebce15de9b76b00e3f5393f96aafd646b23f38a92 /tools/power
parentc05ffb1f7db2d2060530a1e0c41a496ccb44328f (diff)
downloadlinux-993703370a6f929fcef39a14d1be17cbc1d26a30.tar.bz2
RDMA/hns: Remove some magic numbers
Use macros instead of magic numbers to represent shift of dma_handle_wqe, dma_handle_idx and UDP destination port number of RoCEv2. Link: https://lore.kernel.org/r/1612517974-31867-10-git-send-email-liweihang@huawei.com Signed-off-by: Xinhao Liu <liuxinhao5@hisilicon.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions