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 27449A0C49 for ; Tue, 20 Jul 2021 15:50:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 197DF40DF6; Tue, 20 Jul 2021 15:50:59 +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 8EB7A4069F for ; Tue, 20 Jul 2021 15:50:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626789058; 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=ewK39NoCFlc2Vi1zqQqRORfRlFH6v0muLkWxg/hoKW4q3nG5dISb91dz4ok1PwdOUPyjuC /w3E0R1QoDQjtLyRDPX/ficJde+EjfXa+dt1P3TYitAOLGQIR9i6YGVx32sqLOppsgf0KB 4ysKudY5ft6LDFbA82+OwKAI2LWfw0k= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-416-fXTHFYXOO_uGwqi9UG-jmg-1; Tue, 20 Jul 2021 09:50:54 -0400 X-MC-Unique: fXTHFYXOO_uGwqi9UG-jmg-1 Received: by mail-vk1-f198.google.com with SMTP id o8-20020a1fa5080000b029025ef78c307dso1166033vke.23 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=V7gZoEqgTTeBASrkYt3t5aSOVubTBzJYhdvJPSSuhk8nQQ07knhY0xiYtYWpHT/FT5 y14eX1gsNIQaC9EoeqX+M7J4fmqFYr2/8crdBd0+PnSG66Vg2qPNuWRqdBUZPL5j4d2g +GuTAl/5KIXlIYFOHn/J6DLsPoO1qlVG5heS3Enx1UJPHXF4NCn3L91csT/4AO29GhkN ZUhjb3R5M8NjYULdWC7aiY0zp20Aaxf41r+Apbgqgkxwr772+oZhSwg6sH8JYvd2Q2Io zwKCXWgCzMGJ7fiNb6QjTAS3/IiP465Dp06UZnp7wBsSKuox682wUcjwSDxJcv86PH/m aj5g== X-Gm-Message-State: AOAM533Ps6hJk5bgo18xT0HBvCywlZQ7ATNUcNLENOfmYWJydpzRUxH4 MnqaB3h/X+1l/5IyPVWp8FHr9JM3J1DwCHiR6JmD6StFhW9sZknZB4g/XLr2UjZWykgK0sBJJUs qu73gnRKI9teX9j4mIFt67pk= X-Received: by 2002:a67:df85:: with SMTP id x5mr29881928vsk.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-stable] [PATCH] raw/ioat: fix config script queue size calculation X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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