Re: [PATCH] RDMA/ionic: Replace cpu_to_be64 + le64_to_cpu with swab64

From: Leon Romanovsky

Date: Thu Dec 18 2025 - 11:09:50 EST


On Tue, Dec 16, 2025 at 01:35:02PM +0100, Thorsten Blum wrote:
> On 16. Dec 2025, at 01:51, Jason Gunthorpe wrote:
> > Okay, so Throsten, please don't send patches for changing to swab.
>
> Yeah sorry, I didn't know about the sparse warnings before.
>
> > If you want to improve it then the primitive should be
> >
> > le64_to_be64(x)
>
> le64_to_be64() or a similar helper doesn't seem to exist.

You can add it.

Thanks

>
> Thanks,
> Thorsten
>