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 DD11043337 for ; Wed, 15 Nov 2023 12:45:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6B6A40A6D; Wed, 15 Nov 2023 12:45:39 +0100 (CET) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mails.dpdk.org (Postfix) with ESMTP id 2D18340285 for ; Wed, 15 Nov 2023 12:45:39 +0100 (CET) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-40836ea8cbaso49891335e9.0 for ; Wed, 15 Nov 2023 03:45:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700048739; x=1700653539; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4tETIR2pL3wC8ePPzHWklUF+L1xJZBmI+HjnA2bqTFc=; b=hId4x8RwXhPvaEixeLsEAEY1UzgmdOMemh0l6nW7lXvZbwGPDdC8Kj4QO6Dllzpikm Q9fiXkAIKrsIX94IEB3jgGgN04bR0P0QEMb/T6TLlXQ7LHsiRXMfLUQm5slFSRpeVXYf kJdHUegnJmoRmEq/tIRNPgutzHo1ciYqfmpF9G9wayXf5wUrnZFKyZRhiIyjhhh8Yup2 SYFEDnIF5pKz3K6r0WpUCQp58en+ELVYYiqBtL2B/GDBcBy1wDKnCQQZ1/j6OhNJVW0Q uU2Mg5oF3cexHOcZ2amAsvZjv3CWH0pAUEVp1t1fH1Hrq3XciW9iDUyvg7mfs/36o3dS 1Dag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700048739; x=1700653539; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4tETIR2pL3wC8ePPzHWklUF+L1xJZBmI+HjnA2bqTFc=; b=uL9LGbRP6dtOC4QU0VeqiYswkdPAylwtsAjv5477IdOp9F3zavfBrGjCeJY3V6LZGc xglfkWwPjZAs9sPX+fz+f7Hfbdfq8vTGuUN9Y+wLzxOjKs4CggVHGowMGbMfQKrRC6ee mh32qANJk354pCehU0HMTA94QcCoJ6SpQSLZWNABVxqfsWugm0k4Gtim0zt0zGVk0/dy ZzzVN93nDoC611CzZLvIJmm3A5D5xTtIVgwkdiDMMEC9K57EDcuT81/UJW0PliD3X78A kzBskQP1jFrahBa1QhIs8f14lfCwWQSyWIbWZUL/Z5ee07DHNDbQsY/aRk1YYsfztXKI HOVQ== X-Gm-Message-State: AOJu0Yw0auVYTVswTs5IygIOvtwDGrs3GDJC+9KeuqmX3jtkUFOe6H2T 3fcrXz+xioXc+0SHvRtUC+w= X-Google-Smtp-Source: AGHT+IGEysnOTxRHjSFGdpD4zDPWb3HPW99wgkYIvp65fHHWv3BwOLNWvcJpBOnB3Fpo1LpUI3Ss7Q== X-Received: by 2002:a05:600c:1d1b:b0:408:3e41:aea with SMTP id l27-20020a05600c1d1b00b004083e410aeamr9373774wms.1.1700048738723; Wed, 15 Nov 2023 03:45:38 -0800 (PST) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id ay15-20020a05600c1e0f00b0040586360a36sm20649773wmb.17.2023.11.15.03.45.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 03:45:37 -0800 (PST) From: luca.boccassi@gmail.com To: Jie Hai Cc: Ferruh Yigit , dpdk stable Subject: patch 'test/bonding: fix uninitialized RSS configuration' has been queued to stable release 20.11.10 Date: Wed, 15 Nov 2023 11:45:06 +0000 Message-Id: <20231115114515.2355140-7-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231115114515.2355140-1-luca.boccassi@gmail.com> References: <20231108192535.922238-37-luca.boccassi@gmail.com> <20231115114515.2355140-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.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 11/17/23. 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/854c4e448017bea1995a14096db40238316966d6 Thanks. Luca Boccassi --- >From 854c4e448017bea1995a14096db40238316966d6 Mon Sep 17 00:00:00 2001 From: Jie Hai Date: Thu, 9 Nov 2023 18:05:52 +0800 Subject: [PATCH] test/bonding: fix uninitialized RSS configuration [ upstream commit fb662d632d80fe74333e39155354814c98920ba9 ] Driver reported RSS key size checked against user configuration in ethdev layer, need to initialize "struct rte_eth_rss_conf" before configuring RSS. Otherwise, an error will occur. Bugzilla ID: 1308 Fixes: 43b630244e7e ("app/test: add dynamic bonding RSS configuration") Fixes: bae3cfa520a7 ("ethdev: clarify RSS related fields usage") Signed-off-by: Jie Hai Acked-by: Ferruh Yigit --- app/test/test_link_bonding_rssconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_link_bonding_rssconf.c b/app/test/test_link_bonding_rssconf.c index 514f09bf19..5a1ccc641f 100644 --- a/app/test/test_link_bonding_rssconf.c +++ b/app/test/test_link_bonding_rssconf.c @@ -324,7 +324,7 @@ test_propagate(void) uint8_t n; struct slave_conf *port; uint8_t bond_rss_key[40]; - struct rte_eth_rss_conf bond_rss_conf; + struct rte_eth_rss_conf bond_rss_conf = {0}; int retval = 0; uint64_t rss_hf = 0; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-11-15 11:44:13.900378418 +0000 +++ 0007-test-bonding-fix-uninitialized-RSS-configuration.patch 2023-11-15 11:44:13.550387124 +0000 @@ -1 +1 @@ -From fb662d632d80fe74333e39155354814c98920ba9 Mon Sep 17 00:00:00 2001 +From 854c4e448017bea1995a14096db40238316966d6 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit fb662d632d80fe74333e39155354814c98920ba9 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index cd94e9e5dc..3c9c824335 100644 +index 514f09bf19..5a1ccc641f 100644 @@ -27 +28 @@ - struct member_conf *port; + struct slave_conf *port;