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 D67B942BE4 for ; Tue, 30 May 2023 20:09:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D25E0410DD; Tue, 30 May 2023 20:09:24 +0200 (CEST) Received: from mail-qv1-f99.google.com (mail-qv1-f99.google.com [209.85.219.99]) by mails.dpdk.org (Postfix) with ESMTP id 530A4410DD for ; Tue, 30 May 2023 20:09:23 +0200 (CEST) Received: by mail-qv1-f99.google.com with SMTP id 6a1803df08f44-62613b2c8b7so33370276d6.1 for ; Tue, 30 May 2023 11:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1685470162; x=1688062162; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=/N7yDFJlfvzm9Dniai8J6Wm205kTP+o4RblCWBcnRos=; b=eOkASsS7fZaMYOjnBIhPZCjBxkKOBZyaMR+x06Yiybsi2/5Cvu+uiGWb10ZRLUMtCb joowFKIbmTChbRPhTzBjayMlEf4k5bwIH2KgQoQTL6ezMxNp0ubXFD5qYYfRQqsjre4i jK49saynqQZBbwT+2bLYKeU89ghMGsIAMWbaI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685470162; x=1688062162; 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=bUwGJek1tPCvBe8j1Z0rjnSkaAr4W86XG1/67cTzze54fsZj+VS1qPSCgEJHFWQRGF ftEp5rDur7eLLYw1EmweuCkxZATCXPgHqUCBWN1S/ERSstHHEDX7IHO5hJNHi86zAMRZ Uanz4r1gcDGXSyzw/pbnd/LPgO40siWCkKXYQKP5PJWNBAERpJsoHTAxShViZOUfaGIt lw6NRy6pgewIGTKl37l+eOUkNdaTineA7RCGEhDflQFOaVVWZdwFZW7ICGGF+ENjk/04 LanR05S47EbZQ6qtYzGpbusZem817XHHdaef1Ab3IrU3TSRn0xmIH4m02UxQTzJJ1S5O /8ow== X-Gm-Message-State: AC+VfDwn7hSJkUEk0lAG6lauyV3vvvq8VPmJAlr/4dDFiZVXuW79m7p6 HZkT3CjzIxrXfQ9qf1Kdxy8IapDl32y/4XzQC6X2YJ/fMyIU9TrE4uUjxOIN+b3UpFkkQx4H1w= = X-Google-Smtp-Source: ACHHUZ49s4/aYKAVcZ1BZUzweDr5g0t3EXaDCbHfcI9qzcxGXgy/EFs0J8tECOvL0rt2yWUcLv0povH5daPV X-Received: by 2002:ad4:5de4:0:b0:625:8eef:1e7b with SMTP id jn4-20020ad45de4000000b006258eef1e7bmr3073825qvb.10.1685470162789; Tue, 30 May 2023 11:09: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 y3-20020a0c8ec3000000b0061b60785d40sm605010qvb.24.2023.05.30.11.09.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 May 2023 11:09:22 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Tue, 30 May 2023 11:09:22 -0700 (PDT) Message-ID: <64763bd2.0c0a0220.9bccf.a0f9SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.2] (unknown [172.18.0.34]) by postal.iol.unh.edu (Postfix) with ESMTP id 865D6605246B; Tue, 30 May 2023 14:09:22 -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