crc: pull required crc64 nvme apis from linux kernel
authorAnkit Kumar <ankit.kumar@samsung.com>
Mon, 14 Aug 2023 14:57:45 +0000 (20:27 +0530)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 14 Aug 2023 14:27:33 +0000 (10:27 -0400)
commit377f62d827068fd44a788cb1d027c808730fcd94
tree786cf468a4b8fe2860af274eece43c9d6023d481
parent5163f35e362419c6f2ea23dcb9c48a8044608171
crc: pull required crc64 nvme apis from linux kernel

Pull the required nvme crc64 apis and table from the linux kernel. This
is required to generate and verify 64 bit guard tag for nvme backend
of io_uring_cmd ioengine.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
Link: https://lore.kernel.org/r/20230814145747.114725-9-ankit.kumar@samsung.com
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
crc/crc64.c
crc/crc64.h
crc/crc64table.h [new file with mode: 0644]