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 97D62A0C48; Tue, 20 Jul 2021 15:50:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 213994068B; Tue, 20 Jul 2021 15:50:58 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id BDCA640689 for ; Tue, 20 Jul 2021 15:50:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626789056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NMYilDzbOc3DgLySlQcT5S2Vf6L8ZUG08t17emntz0Q=; b=aBZFHWi/vhQaD+PtEBXfg3DpSMS/6pSLV+JaJ1BBkDtJYFiH3Hwluy4Hu0wpXa+KAut7x4 HqrzMMff56A/+MJy6w9ZdaUr1FfbkSFVbsckAwGrcP466d/tGrWdoXW6HT/q7wRhOvZKfS pyvVV5ljGAj56qqtNGdQ2Q36uDO9yZI= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-416-f2LoCccEOhmCMnhnI6Da4A-1; Tue, 20 Jul 2021 09:50:54 -0400 X-MC-Unique: f2LoCccEOhmCMnhnI6Da4A-1 Received: by mail-ua1-f72.google.com with SMTP id 76-20020ab003d20000b029029db3c53817so10741834uau.22 for ; Tue, 20 Jul 2021 06:50:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NMYilDzbOc3DgLySlQcT5S2Vf6L8ZUG08t17emntz0Q=; b=hZkqbhvAhjfdvhuCUB50ry/rMAYu3vZLnrem47M8hQJK5fESzOsrYQw5chdTOdoRXl Ehac5qa3oJtV0elxdU1Q4paBsRVqyASW0iXQw/H/eAcPtgS2Gi5GYFeyn/VMniB/h2XH So7gTkF/sAkgi9cVzVLWxB7d3OO/xdbBqE5rkDUDZP1zJbBDfwHQPaq3U+rMg5fnGwMw IqSIqbobreEfw77ehFr5uxJc6yS0EWtgSOjfB8A87WDb6FVUug+hTz6tE5FY1UOf1Cyo pVRtznNF8rtyGC0Lba949O0CsEB6/GjpbuhuvutVbuQJ7Y6OfLPT0erHvr/dsEPsFbVr 4FZg== X-Gm-Message-State: AOAM530LU85pLox9hvzxJXzyOzfrGixbu1KPRKtC/NSRpyOSi6NvFpkw lmLpb4Il82Jx7eBX4yW3XFdLk1RRLfXgt+ZJ6Qeb1csPKFq6ZffW6nHNcn2ryNQ81SKg7urAYt9 kj3uL54VjUiHcueDaX2E= X-Received: by 2002:a67:df85:: with SMTP id x5mr29881927vsk.17.1626789054323; Tue, 20 Jul 2021 06:50:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrLLcOktsei3/usICQWmQg8Q0oIdBN4SMGeFycgbG/tNjcFLmhc/XRIXoVe8gc5oXYX5R0n5rfbJCVT9sHV38= X-Received: by 2002:a67:df85:: with SMTP id x5mr29881898vsk.17.1626789054124; Tue, 20 Jul 2021 06:50:54 -0700 (PDT) MIME-Version: 1.0 References: <20210716132155.1498858-1-kevin.laatz@intel.com> In-Reply-To: <20210716132155.1498858-1-kevin.laatz@intel.com> From: David Marchand Date: Tue, 20 Jul 2021 15:50:42 +0200 Message-ID: To: Kevin Laatz Cc: dev , dpdk stable , Bruce Richardson , "Ananyev, Konstantin" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] raw/ioat: fix config script queue size calculation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jul 16, 2021 at 3:22 PM Kevin Laatz wrote: > > The queue size calculation is currently based on "max_tokens" rather than > "max_work_queues_size". This is resulting in the queue size being > incorrectly configured when using the script to configure devices bound to > the IDXD kernel driver. > This patch fixes this miscalculation so devices are configured with > appropriate queue size. > > Fixes: 01863b9d2354 ("raw/ioat: include example configuration script") > Cc: stable@dpdk.org > > Reported-by: Konstantin Ananyev > Signed-off-by: Kevin Laatz Acked-by: Konstantin Ananyev Acked-by: Bruce Richardson Applied, thanks. -- David Marchand