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 1A8A2A051C for ; Tue, 11 Feb 2020 12:42:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 10D701C014; Tue, 11 Feb 2020 12:42:17 +0100 (CET) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id C06C61C025 for ; Tue, 11 Feb 2020 12:42:15 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id w15so11967961wru.4 for ; Tue, 11 Feb 2020 03:42:15 -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=XaAVqVvLM7xsVdKMvRvMZ/rgkkx2mKK699k6G7IC+KI=; b=pbh5pphNnewShRrWQw1Xv9goYJgq/aCryPhP++X/mOQV/KgRIBbe6UxHQNF6IiOVRO +QBbIKR8Tle239RhFeqeBxmv4TEw1r1/yAQDNEbvg08yATo1ZmOqj0pSj5d28DwQNo3c PjYomJkFBTWq+uNNbY8oj1UaHkrAig0ACc7R26HkQDgbjZOqFk7JDZp6meMhVVeQWcEF S18ReAI6VOQaC/B4KXahTAZHU5bi28I8/+O70JCmRc1vSjghhwNlrqT1HC7n84VibK2o hnDg/k0+MkITNt12gUne1vvnvGniHKUgonS6EOyGGZMkEBE24Xu3L62m6lnnoWk62c8r 4OOA== 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=XaAVqVvLM7xsVdKMvRvMZ/rgkkx2mKK699k6G7IC+KI=; b=KiNj6hRz6pBvZjFwAwaj0RC4wXHQeCMRJFUX+T0aTjhSng+NCyOCR6nABKU5moRdCq 83Zb1FtL3s+Z7MJafRlXPbSZIuTs7npnxEeMPWnI1Dcgl9sb0rfsLA1CkHjv+80SF62y rDGhHEib+YbuAHpHnx7sCVULKEat6X55Zsr9ZcPlyxYNs2j/i9LMaCjMyn0BHRC3vN4C 2m4DWxGKcUYUOFHE2xtOxHWSeQlq14voLHoB330xBKIwWcGOAVqDbSJySIq3EKKfMOid jBlruEG+N4iHF+LJT7j1xCTL1n0T6UcLGASqx2PjH4t9KMDwCgVYDqlzsKy9SD9SdkTs /6SA== X-Gm-Message-State: APjAAAXejhIj76ONgqQ5Ses5gTD73hzHp3EAT0HKAcS5pVikoyMMEi3Q GvhYGIWFrSJZjz0uDu9s4U0= X-Google-Smtp-Source: APXvYqxrCdm5ChWIzfH3DQVSQ1pugZRguh4EMCCDG6+6gtGAW0xKWYctGrKVaA8kFv4meg84ztCZrQ== X-Received: by 2002:adf:97d6:: with SMTP id t22mr8013199wrb.407.1581421335534; Tue, 11 Feb 2020 03:42:15 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id s19sm3231784wmj.33.2020.02.11.03.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:42:14 -0800 (PST) From: luca.boccassi@gmail.com To: Raslan Darawsheh Cc: Ferruh Yigit , dpdk stable Date: Tue, 11 Feb 2020 11:21:58 +0000 Message-Id: <20200211112216.3929-172-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/failsafe: fix reported hash key size in device info' has been queued to stable release 19.11.1 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 stable release 19.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/13/20. 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 d85f20f12eda4db0b25696d26a0c64db990eb7d3 Mon Sep 17 00:00:00 2001 From: Raslan Darawsheh Date: Tue, 4 Feb 2020 17:10:51 +0200 Subject: [PATCH] net/failsafe: fix reported hash key size in device info [ upstream commit f9dd7539423b32c17c5b411260e696570fec4e2c ] Hash key size is missing from reported device info. This fills the hash key size in device info. Fixes: 4586be3743d4 ("net/failsafe: fix reported device info") Signed-off-by: Raslan Darawsheh Reviewed-by: Ferruh Yigit --- drivers/net/failsafe/failsafe_ops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/failsafe/failsafe_ops.c b/drivers/net/failsafe/failsafe_ops.c index a87e49b97d..50f2aca4e7 100644 --- a/drivers/net/failsafe/failsafe_ops.c +++ b/drivers/net/failsafe/failsafe_ops.c @@ -1068,6 +1068,8 @@ fs_dev_merge_info(struct rte_eth_dev_info *info, info->rx_queue_offload_capa &= sinfo->rx_queue_offload_capa; info->tx_queue_offload_capa &= sinfo->tx_queue_offload_capa; info->flow_type_rss_offloads &= sinfo->flow_type_rss_offloads; + info->hash_key_size = RTE_MIN(info->hash_key_size, + sinfo->hash_key_size); } /** @@ -1117,6 +1119,7 @@ fs_dev_infos_get(struct rte_eth_dev *dev, infos->max_hash_mac_addrs = UINT32_MAX; infos->max_vfs = UINT16_MAX; infos->max_vmdq_pools = UINT16_MAX; + infos->hash_key_size = UINT8_MAX; /* * Set of capabilities that can be verified upon -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-11 11:17:44.567830635 +0000 +++ 0172-net-failsafe-fix-reported-hash-key-size-in-device-in.patch 2020-02-11 11:17:38.812009050 +0000 @@ -1,13 +1,14 @@ -From f9dd7539423b32c17c5b411260e696570fec4e2c Mon Sep 17 00:00:00 2001 +From d85f20f12eda4db0b25696d26a0c64db990eb7d3 Mon Sep 17 00:00:00 2001 From: Raslan Darawsheh Date: Tue, 4 Feb 2020 17:10:51 +0200 Subject: [PATCH] net/failsafe: fix reported hash key size in device info +[ upstream commit f9dd7539423b32c17c5b411260e696570fec4e2c ] + Hash key size is missing from reported device info. This fills the hash key size in device info. Fixes: 4586be3743d4 ("net/failsafe: fix reported device info") -Cc: stable@dpdk.org Signed-off-by: Raslan Darawsheh Reviewed-by: Ferruh Yigit