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 E6C48A0350 for ; Mon, 28 Feb 2022 22:21:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E193E40140; Mon, 28 Feb 2022 22:21:25 +0100 (CET) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mails.dpdk.org (Postfix) with ESMTP id 8EA0B40140 for ; Mon, 28 Feb 2022 22:21:23 +0100 (CET) Received: by mail-wr1-f50.google.com with SMTP id s13so17444757wrb.6 for ; Mon, 28 Feb 2022 13:21:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YU3c9O6LXzRB3bBw7LOqB09WfV72Rz3AE8Fv7KCM7rc=; b=nB+qftkEbPLXqte3ZReysDXwk0e8Jgl1p6U2d+Fy/QfAmWuP1N9bskV3IlbpQkoKVo gKDF+GEEwerkEHBf47BSjq/7kvOmi8UuizpuwYP4KI90nX3fRcK90d8Mng4rzhNkS7YB +7R4c4Ajhs1hgFP+uPqx2OT4Hhz3zRCPX2MGwPFa4skNgwGM/49SR7GVPFB9sQvL6AId r5bV2NKQQ1tolOSbEftv1r2jLwzDTodlvnaNRGXj2pcNXoMp/9Bce99soSPsnCAyXR4C L+Hg2dfEUkBZnhPeSKhHpAZVvL6DdoDdcue2UKpXmOdoaeDDemAY/O6GNz4azzIfebrC HiFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YU3c9O6LXzRB3bBw7LOqB09WfV72Rz3AE8Fv7KCM7rc=; b=dSVXL6OuL5a6ZCFgnoGLLxjFdm/KZ4dYSjb4ax2O0RGjTxeKc7oHN4YM/9/m3w5YXU QRbRMpWXbkLWv267AEuli1sYsEJzckjV5JqfFKCriapGksFe0XgiDPyWW1JxxYhg7Cxa NhH9JGxCqaQxXH2esVRmD6XTgOfgs2NLIEjl7X1zWWwLMHdITL3c4oGcqU7UklrbUJaG 6grVhonX+i2bvwt2c+zJEdvLFW8KCyv7GwSPP0LEB80VBD5q9rf9+frBeUVTi0a6Owgu jfxF8ftSDj7a/urB09BYM/qPOlKwjJY5S9ZKJ2sflmXBPx+bydfcu8cQ058nwEady5Mm XJig== X-Gm-Message-State: AOAM531DzmW6P3Fhy12PqokjiIsjWX+7+lAY2bizuakDSUpc9Cg+iPJ6 Uo/g3WdWJWjSTf3TvyqjoxG9i0VWRuEt1A== X-Google-Smtp-Source: ABdhPJzZQAjQlNdqz9SA6hvoqsdMv8j/PIJ5BYt5tfhnUiSSRwaCY/kGxBwIji4V8AD59rAst0Y6zg== X-Received: by 2002:a5d:5650:0:b0:1ed:bbd9:9878 with SMTP id j16-20020a5d5650000000b001edbbd99878mr17013816wrw.564.1646083283323; Mon, 28 Feb 2022 13:21:23 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id m12-20020a7bcb8c000000b003811afe1d45sm501892wmi.37.2022.02.28.13.21.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 13:21:22 -0800 (PST) From: luca.boccassi@gmail.com To: Bruce Richardson Cc: Kevin Laatz , dpdk stable Subject: patch 'dma/idxd: configure maximum batch size to high value' has been queued to stable release 20.11.5 Date: Mon, 28 Feb 2022 21:20:08 +0000 Message-Id: <20220228212047.3341966-12-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220228212047.3341966-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-122-luca.boccassi@gmail.com> <20220228212047.3341966-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 20.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/02/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/b56b636c578096b20d33290a549bd0d14dc39c56 Thanks. Luca Boccassi --- >From b56b636c578096b20d33290a549bd0d14dc39c56 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Wed, 16 Feb 2022 16:06:08 +0000 Subject: [PATCH] dma/idxd: configure maximum batch size to high value [ upstream commit 6a87d036a7ced87ba39406032c42ec2749b2cb88 ] When configuring an Intel DSA instance using the utility script dpdk_idxd_cfg.py, explicitly set the max supported batch size value to a high value, to ensure large bursts are supported if so desired. The default in the linux kernel is now just 32 [1], which may not be sufficient for all DPDK apps. [1] https://lore.kernel.org/r/163528473483.3926048.7950067926287180976.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Bruce Richardson Reviewed-by: Kevin Laatz --- drivers/raw/ioat/dpdk_idxd_cfg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/raw/ioat/dpdk_idxd_cfg.py b/drivers/raw/ioat/dpdk_idxd_cfg.py index e999a27d45..6d6d3a801b 100755 --- a/drivers/raw/ioat/dpdk_idxd_cfg.py +++ b/drivers/raw/ioat/dpdk_idxd_cfg.py @@ -63,6 +63,7 @@ def configure_dsa(dsa_id, queues): "mode": "dedicated", "name": f"dpdk_wq{dsa_id}.{q}", "priority": 1, + "max_batch_size": 1024, "size": int(max_work_queues_size / nb_queues)}) # enable device and then queues -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-28 21:17:54.948502419 +0000 +++ 0012-dma-idxd-configure-maximum-batch-size-to-high-value.patch 2022-02-28 21:17:53.816928705 +0000 @@ -1 +1 @@ -From 6a87d036a7ced87ba39406032c42ec2749b2cb88 Mon Sep 17 00:00:00 2001 +From b56b636c578096b20d33290a549bd0d14dc39c56 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 6a87d036a7ced87ba39406032c42ec2749b2cb88 ] + @@ -14,2 +15,0 @@ -Cc: stable@dpdk.org - @@ -19 +19 @@ - drivers/dma/idxd/dpdk_idxd_cfg.py | 1 + + drivers/raw/ioat/dpdk_idxd_cfg.py | 1 + @@ -22,5 +22,5 @@ -diff --git a/drivers/dma/idxd/dpdk_idxd_cfg.py b/drivers/dma/idxd/dpdk_idxd_cfg.py -index 34537cb980..3f5d5ee752 100755 ---- a/drivers/dma/idxd/dpdk_idxd_cfg.py -+++ b/drivers/dma/idxd/dpdk_idxd_cfg.py -@@ -89,6 +89,7 @@ def configure_dsa(dsa_id, queues, prefix): +diff --git a/drivers/raw/ioat/dpdk_idxd_cfg.py b/drivers/raw/ioat/dpdk_idxd_cfg.py +index e999a27d45..6d6d3a801b 100755 +--- a/drivers/raw/ioat/dpdk_idxd_cfg.py ++++ b/drivers/raw/ioat/dpdk_idxd_cfg.py +@@ -63,6 +63,7 @@ def configure_dsa(dsa_id, queues): @@ -28 +28 @@ - "name": f"{prefix}_wq{dsa_id}.{q}", + "name": f"dpdk_wq{dsa_id}.{q}",