From 1963b478f7bd1cdccdcd8e0ffdc8871bf67e1f4b Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Fri, 15 Jan 2021 17:10:22 +0100 Subject: [PATCH] test/nvmf: add Intel E810 RDMA nic's detection Check if E810 series cards are installed in system. No need to check for specific model as all are RDMA capable. See: https://ark.intel.com/content/www/us/ en/ark/products/series/184846/intel-ethernet-network -adapter-e810-series.html Signed-off-by: Karol Latecki Change-Id: If4c11ee5b65ca0f545100581782fa4263a92921d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5943 Reviewed-by: Aleksey Marchuk Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris Tested-by: SPDK CI Jenkins Community-CI: Broadcom CI --- test/nvmf/common.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/nvmf/common.sh b/test/nvmf/common.sh index 9b5780809..6afb75a27 100644 --- a/test/nvmf/common.sh +++ b/test/nvmf/common.sh @@ -77,6 +77,7 @@ function pci_nics_switch() { local -a driver_args=() driver_args+=("Mellanox ConnectX-4 mlx5_core mlx5_ib") driver_args+=("Mellanox ConnectX-5 mlx5_core mlx5_ib") + driver_args+=("Intel E810 ice irdma") driver_args+=("Intel X722 i40e i40iw") driver_args+=("Chelsio \"Unified Wire\" cxgb4 iw_cxgb4") @@ -85,12 +86,15 @@ function pci_nics_switch() { detect_nics_and_probe_drivers ${driver_args[0]} detect_nics_and_probe_drivers ${driver_args[1]} ;; - i40iw) + irdma) detect_nics_and_probe_drivers ${driver_args[2]} ;; - iw_cxgb4) + i40iw) detect_nics_and_probe_drivers ${driver_args[3]} ;; + iw_cxgb4) + detect_nics_and_probe_drivers ${driver_args[4]} + ;; *) for d in "${driver_args[@]}"; do detect_nics_and_probe_drivers $d