allow DSA device to async offload crc32 calculation in nvmf-TCP This patch can use DSA to accelerate crc32 computation, making the io performance of TCP paths using crc32 approach the io performance of TCP paths that do not use crc32. Using SLIST to minimize the performance drop. SLIST has less operation compared to TAILQ. Thinking about memory thrashing, we should use the same memory as possible to receive new PDUs. So, insert newly freed PDU in to head is better. The performance drop is within 1% compared to the TCP path without crc32. Signed-off-by: MengjinWu <mengjin.wu@intel.com> Change-Id: I480eb8db25f0e730cb198ca5ec19dbe3b4d38440 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11708 Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
tcp_ut.c |