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 68D6742C64 for ; Fri, 9 Jun 2023 00:29:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64A2340A7D; Fri, 9 Jun 2023 00:29:45 +0200 (CEST) Received: from mail-pf1-f228.google.com (mail-pf1-f228.google.com [209.85.210.228]) by mails.dpdk.org (Postfix) with ESMTP id 4B92E40A7D for ; Fri, 9 Jun 2023 00:29:44 +0200 (CEST) Received: by mail-pf1-f228.google.com with SMTP id d2e1a72fcca58-64d18d772bdso1147681b3a.3 for ; Thu, 08 Jun 2023 15:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1686263383; x=1688855383; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=/N7yDFJlfvzm9Dniai8J6Wm205kTP+o4RblCWBcnRos=; b=MUBLTTxGcousyOFjGPPo9gcAWXV+4oMnVUDCfYSxtrQpDh5snKC2y7UYvPuouGRM2q vHNmZPhy2o9YAqOnBVGovoRR5SzWgMertpzoP94FUbkbkZc8KAv8AzUO+qeFswLaDwmh ittGD8CRzR0k6jFq7FpZwZ9dRr0TGWCecW0xQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686263383; x=1688855383; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/N7yDFJlfvzm9Dniai8J6Wm205kTP+o4RblCWBcnRos=; b=GMwbHluP7y+JUE3zPUKMbdMFx3pOEs82eZq5q9yW66MUt03elmpIjnJbKvWUOfW2KK Or3Eqms+vcpTUn1LmNEQPmlFAfXZEbOZ033RNFJggTPiPGH/mELiuIbCEffJsyGvTtLt kZbapKEQP6oVUxhs0beMcHh0R7THDWR9EMkCZbFdmY+wpihYE5Q2lyxuWyOC/ObyjFBh gVhKXVznXnxHFKUFSMku9Kpsz5bkeIiHfgOFTx14IKi0k+sAYFgfHCr0WVvjsvPCut6z eizjfJ6hmygz6DGfaT5inKOtslLUgglUCeyERjS5YZy1RlUcPjcYEi5u/bgeQONku4Zk GH4Q== X-Gm-Message-State: AC+VfDz07YtMej/UL40lDnuiM9jgVCgHOEGZhH1FiNC3p/xYEbsbC5Vq HHeWUnGwmCBZRq8exvPk0A7tkvZZtWaonEfQhT4MUfdaKpr63dEqQsZDIKwrXHL13UUpbJDxkA= = X-Google-Smtp-Source: ACHHUZ4ZCIfSoIfpuGIRwqQZbOk3rpyPrwBw41v7Z0gFQIdSPOQSbfC5twZ8Q99mBgNbnScrOf3fv47yqYTJ X-Received: by 2002:a05:6a21:3a41:b0:104:b21f:26b0 with SMTP id zu1-20020a056a213a4100b00104b21f26b0mr7380409pzb.47.1686263383549; Thu, 08 Jun 2023 15:29:43 -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 q22-20020aa79616000000b0064d5e26ebccsm159501pfg.0.2023.06.08.15.29.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2023 15:29:43 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Thu, 08 Jun 2023 15:29:43 -0700 (PDT) Message-ID: <64825657.a70a0220.df6f3.4269SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.6] (unknown [172.18.0.213]) by postal.iol.unh.edu (Postfix) with ESMTP id C4DF3605246B; Thu, 8 Jun 2023 18:29:42 -0400 (EDT) Subject: |WARNING| pw127699 [PATCH] [v3] common/cnxk: add new APIs for batch operations 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/127699 _apply patch failure_ Submitter: Ashwin Sekhar T K Date: Tuesday, May 30 2023 09:12:51 Applied on: CommitID:c9df59bcc9bec67783de98486879594e52bdc418 Apply patch set 127699 failed: Checking patch drivers/common/cnxk/roc_npa.h... error: while searching for: return 0; } static inline void roc_npa_batch_alloc_wait(uint64_t *cache_line, unsigned int wait_us) { error: patch failed: drivers/common/cnxk/roc_npa.h:240 error: while searching for: break; } static inline unsigned int roc_npa_aura_batch_alloc_count(uint64_t *aligned_buf, unsigned int num, unsigned int wait_us) error: patch failed: drivers/common/cnxk/roc_npa.h:255 Hunk #5 succeeded at 271 (offset -23 lines). Hunk #6 succeeded at 356 (offset -23 lines). Hunk #7 succeeded at 374 (offset -23 lines). Applying patch drivers/common/cnxk/roc_npa.h with 2 rejects... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Rejected hunk #3. Rejected hunk #4. Hunk #5 applied cleanly. Hunk #6 applied cleanly. Hunk #7 applied cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/common/cnxk/roc_npa.h b/drivers/common/cnxk/roc_npa.h (rejected hunks) @@ -240,6 +235,9 @@ roc_npa_aura_batch_alloc_issue(uint64_t aura_handle, uint64_t *buf, return 0; } +/* + * Wait for a batch alloc operation on a cache line to complete. + */ static inline void roc_npa_batch_alloc_wait(uint64_t *cache_line, unsigned int wait_us) { @@ -255,6 +253,23 @@ roc_npa_batch_alloc_wait(uint64_t *cache_line, unsigned int wait_us) break; } +/* + * Count the number of pointers in a single batch alloc cache line. + */ +static inline unsigned int +roc_npa_aura_batch_alloc_count_line(uint64_t *line, unsigned int wait_us) +{ + struct npa_batch_alloc_status_s *status; + + status = (struct npa_batch_alloc_status_s *)line; + roc_npa_batch_alloc_wait(line, wait_us); + + return status->count; +} + +/* + * Count the number of pointers in a sequence of batch alloc cache lines. + */ static inline unsigned int roc_npa_aura_batch_alloc_count(uint64_t *aligned_buf, unsigned int num, unsigned int wait_us) https://lab.dpdk.org/results/dashboard/patchsets/26446/ UNH-IOL DPDK Community Lab