fio: implement 64 bit network/big endian byte swapping macros
authorSitsofe Wheeler <sitsofe@yahoo.com>
Thu, 17 Aug 2017 06:37:01 +0000 (07:37 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Fri, 18 Aug 2017 18:50:48 +0000 (19:50 +0100)
commitb747af64f3f666ee8a3c265425c2b28d7fe74c69
treebd948dbcfb06d630cb98e927a8523aba94bb13ca
parent168bb5875da97004163c6b755de162ad481134c4
fio: implement 64 bit network/big endian byte swapping macros

Add cpu_to_be64/be64_to_cpu and make the RDMA ioengine use them so it no
longer needs to include infiniband/arch.h (which generates obsolete
warnings at compile time) or ntohll (which generates deprecation
warnings at compile time).

Tested-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
engines/rdma.c
os/os.h