diff options
author | Xinhao Liu <liuxinhao5@hisilicon.com> | 2021-02-05 17:39:31 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-02-08 20:25:25 -0400 |
commit | 993703370a6f929fcef39a14d1be17cbc1d26a30 (patch) | |
tree | bce15de9b76b00e3f5393f96aafd646b23f38a92 /lib/crc4.c | |
parent | c05ffb1f7db2d2060530a1e0c41a496ccb44328f (diff) | |
download | linux-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 'lib/crc4.c')
0 files changed, 0 insertions, 0 deletions