+20
−36
Loading
We can use the nvmf_get_stats RPC to directly count the number of connections on each poll group. Also, we cannot rely on knowing the exact algorithm that the driver will use to assign connections to NAPI values. We can only know that the number of unique NAPI values is AT MOST equal to the number of traffic classes. Fixes #2577 Change-Id: I6758fdcda752ff5372b1bc59984257b804ad0ea7 Signed-off-by:Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13833 Reviewed-by:
wanghailiang <hailiangx.e.wang@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>