From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D94E74236C for ; Thu, 12 Oct 2023 06:02:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2FBC40279; Thu, 12 Oct 2023 06:02:23 +0200 (CEST) Received: from mail-yw1-f228.google.com (mail-yw1-f228.google.com [209.85.128.228]) by mails.dpdk.org (Postfix) with ESMTP id 4846740279 for ; Thu, 12 Oct 2023 06:02:23 +0200 (CEST) Received: by mail-yw1-f228.google.com with SMTP id 00721157ae682-59e88a28b98so4232677b3.1 for ; Wed, 11 Oct 2023 21:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1697083342; x=1697688142; darn=dpdk.org; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=GRmldi64ACr6N1xlXJxtmTYLUcr5nxI+O4HSE/HqM/k=; b=UB2FFA8J78ME7HjHkOXQ8IbHmaVblcGnVdNCg46A+nHc8ijKSIvlev5GE0+HEMCmkJ JRs3rCTA5WbkhjF63krdeTIdhTnPYjsFBUeqfdqQSRIgxwJB+DGvtBXg0JErjK++77Rq GFl5lXAti7uFOP9qIOx5FpPSnK7NqiKrpnb/M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697083342; x=1697688142; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GRmldi64ACr6N1xlXJxtmTYLUcr5nxI+O4HSE/HqM/k=; b=rNJXqLCgYL0exsPHlVhfmApgSNBRJAp/q6qCGgkiDHEWpOmfPc/RVzIpBBq8mKsQjG Tmx1Q+c7a8xy83cbsR8DKOUcv6rAxc8cKTkQewGrY6t0JTH07LOICjSPMStQ/srv0jKe fFWuNlslOS1Noa77dWYvKGsXkWg9nqF9a/ATO4Ic2JCFa7+PN2KPzPxExC1U0lSGpdIe +e/Y5Nn0+CfDHnzlIKyMCGUO1rgiXcIyTAXZLkdmjMLCLAPEa4yJRWaQ8WNjA21Z879i +vfUHdfqZoKU9L+N/YGZQ3SmcM6Rt3qczwgmN9s5f7o4hRuSNkynJISyfSjoPjlMpLkC md+g== X-Gm-Message-State: AOJu0YxHjFvYqqyvQbRT1KBaipKHnGLc3h5i9wwLo3weZPB3XWpvhcu1 adHi7rKwo5QCF3OfpdH7RKEFhHHw7BdZp6XDPhMQDRiiRsKJf4+J20Z/fphdMKGjEJPKxwlxFw= = X-Google-Smtp-Source: AGHT+IHMm7M8DyNgD0Wt3bmww6/eX19Viwh0d9LckGp7hndCEwHPg1H1Wlmzm2TCbY+Xv4xyA6bCfeaLpI27 X-Received: by 2002:a0d:d58c:0:b0:59c:789:c848 with SMTP id x134-20020a0dd58c000000b0059c0789c848mr15153953ywd.7.1697083342214; Wed, 11 Oct 2023 21:02:22 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id r67-20020a819a46000000b005a7df5420f4sm231717ywg.69.2023.10.11.21.02.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2023 21:02:22 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Wed, 11 Oct 2023 21:02:22 -0700 (PDT) Message-ID: <65276fce.810a0220.ce5e0.be54SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.5] (unknown [172.18.0.214]) by postal.iol.unh.edu (Postfix) with ESMTP id BA1EF6052514; Thu, 12 Oct 2023 00:02:21 -0400 (EDT) Subject: |WARNING| pw132498 [PATCH] crypto/cnxk: fix RISC-V compilation From: dpdklab@iol.unh.edu To: test-report@dpdk.org Cc: dpdk-test-reports@iol.unh.edu Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/132498 _apply patch failure_ Submitter: Tejasree Kondoj Date: Wednesday, October 11 2023 07:18:25 Applied on: CommitID:92d74810cbdc4c04045d6a47dc3d867f1fa22de1 Apply patch set 132498 failed: Checking patch drivers/crypto/cnxk/cnxk_se.h... error: while searching for: cpt_inst_w4.s.param2 = auth_data_len; inst->w4.u64 = cpt_inst_w4.u64; if (is_sg_ver2) sg2_inst_prep(params, inst, offset_ctrl, iv_s, iv_len, 0, 0, inputlen, outputlen, 0, req_flags, 0, 0); error: patch failed: drivers/crypto/cnxk/cnxk_se.h:1834 error: while searching for: } inst->w4.u64 = cpt_inst_w4.u64; if (is_sg_ver2) sg2_inst_prep(params, inst, offset_ctrl, params->iv_buf, iv_len, 0, 0, inputlen, outputlen, 0, 0, 0, 1); error: patch failed: drivers/crypto/cnxk/cnxk_se.h:1890 Applying patch drivers/crypto/cnxk/cnxk_se.h with 2 rejects... Rejected hunk #1. Rejected hunk #2. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/crypto/cnxk/cnxk_se.h b/drivers/crypto/cnxk/cnxk_se.h (rejected hunks) @@ -1834,6 +1834,10 @@ cpt_kasumi_enc_prep(uint32_t req_flags, uint64_t d_offs, uint64_t d_lens, cpt_inst_w4.s.param2 = auth_data_len; inst->w4.u64 = cpt_inst_w4.u64; + + if (unlikely(iv_s == NULL)) + return -1; + if (is_sg_ver2) sg2_inst_prep(params, inst, offset_ctrl, iv_s, iv_len, 0, 0, inputlen, outputlen, 0, req_flags, 0, 0); @@ -1890,6 +1894,10 @@ cpt_kasumi_dec_prep(uint64_t d_offs, uint64_t d_lens, struct roc_se_fc_params *p } inst->w4.u64 = cpt_inst_w4.u64; + + if (unlikely(params->iv_buf == NULL)) + return -1; + if (is_sg_ver2) sg2_inst_prep(params, inst, offset_ctrl, params->iv_buf, iv_len, 0, 0, inputlen, outputlen, 0, 0, 0, 1); https://lab.dpdk.org/results/dashboard/patchsets/27901/ UNH-IOL DPDK Community Lab