+27
−17
Loading
To speed up qpair lookup, an idea to use the DPDK hash library was proposed. But we have some concerns for the idea, we may see performance regression for small configuration, lib/nvmf is depending on the DPDK feature, and so on. On the other hand, RB tree is simple to use and is not likely to have negative side effect. To use RB tree easily, cache QP num into struct spdk_nvmf_rdma_qpair. Change-Id: Id4ea4e75692f86335b3e984c3fc128e187f22c72 Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11798 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>