Home
last modified time | relevance | path

Searched hist:de19ec778c7a4ee2fe2112126c5d05a10db2d582 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_cm.hdiff de19ec778c7a4ee2fe2112126c5d05a10db2d582 Wed Mar 22 04:33:17 CDT 2023 Cheng Xu <chengyou@linux.alibaba.com> RDMA/erdma: Unify byte ordering APIs usage

Replace __be32_to_cpu/__cpu_to_be16 with be32_to_cpu/cpu_to_be16.
And use be32_to_cpu_array to copy and swap byte order to hide the
loop.

Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230322093319.84045-2-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
H A Derdma_cmdq.cdiff de19ec778c7a4ee2fe2112126c5d05a10db2d582 Wed Mar 22 04:33:17 CDT 2023 Cheng Xu <chengyou@linux.alibaba.com> RDMA/erdma: Unify byte ordering APIs usage

Replace __be32_to_cpu/__cpu_to_be16 with be32_to_cpu/cpu_to_be16.
And use be32_to_cpu_array to copy and swap byte order to hide the
loop.

Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230322093319.84045-2-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
H A Derdma_cq.cdiff de19ec778c7a4ee2fe2112126c5d05a10db2d582 Wed Mar 22 04:33:17 CDT 2023 Cheng Xu <chengyou@linux.alibaba.com> RDMA/erdma: Unify byte ordering APIs usage

Replace __be32_to_cpu/__cpu_to_be16 with be32_to_cpu/cpu_to_be16.
And use be32_to_cpu_array to copy and swap byte order to hide the
loop.

Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230322093319.84045-2-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>