We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18914ab + 3379b12 commit 8bec47bCopy full SHA for 8bec47b
tests/nvme/056
@@ -218,6 +218,12 @@ test() {
218
# get iface index
219
iface_idx=$(ip address | awk -F: "/${NVME_IFACE}/ { print \$1; exit; }")
220
221
+ # check if $(ddp_caps hw) is not empty
222
+ if [[ -z "$(ddp_caps hw)" ]]; then
223
+ SKIP_REASONS+=("No ddp capabilities found for ${NVME_IFACE}")
224
+ return
225
+ fi
226
+
227
# check hw supports ddp
228
if [[ $(( $(ddp_caps hw) & 3)) -ne 3 ]]; then
229
SKIP_REASONS+=("${NVME_IFACE} does not support nvme-tcp ddp offload")
0 commit comments