From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C827A04F3 for ; Thu, 19 Dec 2019 15:37:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 51C72330; Thu, 19 Dec 2019 15:37:04 +0100 (CET) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 2BDDC1BF80 for ; Thu, 19 Dec 2019 15:37:03 +0100 (CET) Received: by mail-wr1-f67.google.com with SMTP id w15so6233954wru.4 for ; Thu, 19 Dec 2019 06:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pGaSlOvLQ0mKD4JGbhXf5baQ1iTL1bpDopsx4SD8e5g=; b=K4qCmUQe7/OSL25Jwuuv8zax5UrBBXMuyDTzTKT6vdYpgtf/3B0VgY37QJI8GHxBEh HAbLYx+1wIxZJMMN2kELvTBZXse/M3wpL/jaH2p8Np9tb4OgA6FhLmIqq6JuOQduR8KP 2rkFwuGJWa/6X9N+QtKY6pyt31ozWY72LZnRpyUwblKxS1XlHLoUVCOOpHh+kojWt2Jm AcBCwWVZgLll/2yq8SfU+FuaXp5JFVhQZNFle16UKe0FY8nxueDIJnoVCaz9sDt08JrY sNAkKQj1pGS6OFXzbACylfd1/dif60BQtPrEO7Ybb+O5WBMgstj45zLR4nwK7m5YkC4P J4HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pGaSlOvLQ0mKD4JGbhXf5baQ1iTL1bpDopsx4SD8e5g=; b=Ji+lqYmcn+py3EMrHQnm50DTJO+9mbt+S3bJMLFCwy7zUlW89FvqobP7lNttDP/8oq LQ/W9bqaezwMDXq3APXwJ4atzh+QF/9iozBRPhzYRHUDKQBwkWQRCvz5pknTv4GeVauU mIsZxfSkNhfBWFozUTqs4Ttdb/US0CUUcfXcdUjb3KXmJKzsmLjQ5WBZPPSieTg6YFod syF+GCVF7kTwLbtePAzZLWEqefgSInJxI0qduBJyAQ487tHAp7u907rIgKzoICuwYEbl QsF1siQ8g1dnDtksitXebPCP4V7C18gN9gVUwQ6a64TexstndU+XL+t4RINTnVyE9na8 JnCg== X-Gm-Message-State: APjAAAWzcpxseWirlko5tOCd2eb+jgqaAtHLowMZuOANqA7AacwJcHvg oy4ABs/ZD0YiekB9xSyCZPIDmn9xGv4= X-Google-Smtp-Source: APXvYqxZtR6pHNGyQRcl7C7ZQkxpRmmguSzf+iB0rCVf4kVOXk+lpbevprgtEmwmybMsj7uuNPp2Xg== X-Received: by 2002:adf:f885:: with SMTP id u5mr9995745wrp.359.1576766222881; Thu, 19 Dec 2019 06:37:02 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id s8sm6337536wrt.57.2019.12.19.06.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 06:37:02 -0800 (PST) From: luca.boccassi@gmail.com To: Hemant Agrawal Cc: dpdk stable Date: Thu, 19 Dec 2019 14:33:16 +0000 Message-Id: <20191219143447.21506-49-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191219143447.21506-1-luca.boccassi@gmail.com> References: <20191219143447.21506-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'event/dpaa2: fix default queue configuration' has been queued to LTS release 17.11.10 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, FYI, your patch has been queued to LTS release 17.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/21/19. 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. Thanks. Luca Boccassi --- >From a769f8e3be198aa1a2322136fe2be605209a73e3 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Mon, 30 Sep 2019 14:02:10 +0530 Subject: [PATCH] event/dpaa2: fix default queue configuration [ upstream commit 6f213fe94002cd446e919ecc79715656a2657a50 ] Test vector expect only one type of scheduling as default. The old code is provide support scheduling types instead of default. Fixes: 13370a3877a5 ("eventdev: fix inconsistency in queue config") Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 56ea124cf9..bf1b493024 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -1,7 +1,7 @@ /*- * BSD LICENSE * - * Copyright 2017 NXP. + * Copyright 2017,2019 NXP. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -395,8 +395,7 @@ dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id, RTE_SET_USED(queue_conf); queue_conf->nb_atomic_flows = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS; - queue_conf->schedule_type = RTE_SCHED_TYPE_ATOMIC | - RTE_SCHED_TYPE_PARALLEL; + queue_conf->schedule_type = RTE_SCHED_TYPE_PARALLEL; queue_conf->priority = RTE_EVENT_DEV_PRIORITY_NORMAL; } -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-12-19 14:32:28.292227719 +0000 +++ 0049-event-dpaa2-fix-default-queue-configuration.patch 2019-12-19 14:32:26.033296398 +0000 @@ -1,33 +1,34 @@ -From 6f213fe94002cd446e919ecc79715656a2657a50 Mon Sep 17 00:00:00 2001 +From a769f8e3be198aa1a2322136fe2be605209a73e3 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Mon, 30 Sep 2019 14:02:10 +0530 Subject: [PATCH] event/dpaa2: fix default queue configuration +[ upstream commit 6f213fe94002cd446e919ecc79715656a2657a50 ] + Test vector expect only one type of scheduling as default. The old code is provide support scheduling types instead of default. Fixes: 13370a3877a5 ("eventdev: fix inconsistency in queue config") -Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- - drivers/event/dpaa2/dpaa2_eventdev.c | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) + drivers/event/dpaa2/dpaa2_eventdev.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c -index 926b7edd84..b8cb437a0c 100644 +index 56ea124cf9..bf1b493024 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c -@@ -1,7 +1,5 @@ - /* SPDX-License-Identifier: BSD-3-Clause -- * -- * Copyright 2017 NXP -- * -+ * Copyright 2017,2019 NXP - */ - - #include -@@ -470,8 +468,7 @@ dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id, +@@ -1,7 +1,7 @@ + /*- + * BSD LICENSE + * +- * Copyright 2017 NXP. ++ * Copyright 2017,2019 NXP. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions +@@ -395,8 +395,7 @@ dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id, RTE_SET_USED(queue_conf); queue_conf->nb_atomic_flows = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS;