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 665C842C72 for ; Sat, 10 Jun 2023 01:03:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 648A340A84; Sat, 10 Jun 2023 01:03:24 +0200 (CEST) Received: from mail-vk1-f226.google.com (mail-vk1-f226.google.com [209.85.221.226]) by mails.dpdk.org (Postfix) with ESMTP id BDEC940A84 for ; Sat, 10 Jun 2023 01:03:22 +0200 (CEST) Received: by mail-vk1-f226.google.com with SMTP id 71dfb90a1353d-45d1c1404easo527248e0c.1 for ; Fri, 09 Jun 2023 16:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1686351802; x=1688943802; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=/N7yDFJlfvzm9Dniai8J6Wm205kTP+o4RblCWBcnRos=; b=JZj+yR9xHkKlXHXbzSmKgUk2t5444bXOXjIab30EzmvdTRC8HuTyC7XKd0CHROYGi4 r0CKmU4m4/ZFTvj17W+ot1rE0bgJgxIr6XFw+Q3sS6ytvBNSxvh0EL0zYDoxVwN1YSfd IwbwoSiheZMD9LDBku1Po8Q1OZl1TY9amBu4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686351802; x=1688943802; 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=daD984o6HwEQx+jr5mZe64fWK6tF0xRqlYlL57Qn2R6OA5sADNSKrPd06+W2sPlkHy b93QfvkP/nkbTyY314Ekm4slOS3qZBkN2j9AUCjxiwATjMZCz2fowqd285OqkcUP5OHx bLc1/+yaHySvvOigHmSHzMz8iL3+CcWaoEep1PFnNKA4UQTfC4OZvsz6Pl1s479UnGNn TY/WdyZdsMciSxHsMGIHe+tLuAbgL6Jy+vFEL3K3AAI0LY8y+qpEGDCvwsKvhpNXaI7d olwJ8yp8c0Llrz1sLNLxzDppAlAgI3+VCtqZSyCTiaaO7EKDwcvmmQ6pE8GU2sFGnIV5 +HOw== X-Gm-Message-State: AC+VfDyCn9Z5NASckDdpLviFXss4jM8xVkRmUHyZxQYzEgNFBGJfSS7W bTGRUFX+DjtK52M1QWre47VQ4hwJwdSW3ga+WYVCphfhIWfKZu4ETIcedQ== X-Google-Smtp-Source: ACHHUZ6NwiPBF/z1s8t2inoF3l8ZW5XJX0ce+g9xCihV+DJaMOIarHC0Zd82aTSntkhQ1sCSWMYQcewkMw/F X-Received: by 2002:a1f:604d:0:b0:45d:4d1e:c5d with SMTP id u74-20020a1f604d000000b0045d4d1e0c5dmr1242000vkb.15.1686351802192; Fri, 09 Jun 2023 16:03:22 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id i32-20020a05612220a000b00434e3c40942sm431899vkd.10.2023.06.09.16.03.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2023 16:03:22 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Fri, 09 Jun 2023 16:03:22 -0700 (PDT) Message-ID: <6483afba.050a0220.e0634.9dbeSMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.3] (unknown [172.18.0.217]) by postal.iol.unh.edu (Postfix) with ESMTP id D45D7605246B; Fri, 9 Jun 2023 19:03:21 -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