|WARNING| pw113256 [PATCH] vhost/crypto: fix descriptor processing

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Jun 22 17:49:46 CEST 2022


Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/113256

_apply patch failure_

Submitter: David Marchand <david.marchand at redhat.com>
Date: Wednesday, June 22 2022 15:30:20 
Applied on: CommitID:9aa95b6fc4d0f166f8364f60c476f52dfcbe1082
Apply patch set 113256 failed:

Checking patch lib/vhost/vhost_crypto.c...
error: while searching for:
			return -1;
		left -= copied;
		data = RTE_PTR_ADD(data, copied);
		desc++;
	} while (desc < head + max_n_descs && left != 0);

	if (unlikely(left != 0))
		return -1;

error: patch failed: lib/vhost/vhost_crypto.c:610
Applying patch lib/vhost/vhost_crypto.c with 1 reject...
Rejected hunk #1.
diff a/lib/vhost/vhost_crypto.c b/lib/vhost/vhost_crypto.c	(rejected hunks)
@@ -610,8 +610,7 @@ copy_data(void *data, struct vhost_crypto_data_req *vc_req,
 			return -1;
 		left -= copied;
 		data = RTE_PTR_ADD(data, copied);
-		desc++;
-	} while (desc < head + max_n_descs && left != 0);
+	} while (left != 0 && ++desc < head + max_n_descs);
 
 	if (unlikely(left != 0))
 		return -1;

https://lab.dpdk.org/results/dashboard/patchsets/22754/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list