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 19DEFA054C for ; Fri, 14 Feb 2020 18:05:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0F2B6F72; Fri, 14 Feb 2020 18:05:50 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 82476F72 for ; Fri, 14 Feb 2020 18:05:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581699947; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vNJiFSWqlCJLrx7xmg96JASdHmcJGFkKXyvG+rbEqbc=; b=Ur+E0dfJpFiTZI/OFyTvqHAKErP1v28HKRUo663XUnUGXuxTWjQ8MIc8NSrcz2vdsu6nak H/SM7JcXYReiUaDhzmYIweKfUpQ4JUrUmXOP6Av5lh6tXKu0yWj5GNuVvUShwAE+YtTrx7 HPF3tfMlsKAOBQJPk03qDl97MUapKXg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-421-CRFbkLQAP2asdo-Tv5Rehg-1; Fri, 14 Feb 2020 12:05:42 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E5289DB25; Fri, 14 Feb 2020 17:05:40 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3CE3784BCD; Fri, 14 Feb 2020 17:05:38 +0000 (UTC) From: Kevin Traynor To: Raslan Darawsheh Cc: Ferruh Yigit , dpdk stable Date: Fri, 14 Feb 2020 17:03:24 +0000 Message-Id: <20200214170337.25093-30-ktraynor@redhat.com> In-Reply-To: <20200214170337.25093-1-ktraynor@redhat.com> References: <20200214170337.25093-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: CRFbkLQAP2asdo-Tv5Rehg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/failsafe: fix reported hash key size in device info' has been queued to LTS release 18.11.7 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 18.11.7 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/20/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 rebasi= ng (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/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/53d262578f17355eec= c3659914fe6c4c7a548df0 Thanks. Kevin. --- >From 53d262578f17355eecc3659914fe6c4c7a548df0 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/fai= lsafe_ops.c index a63e4edc57..595278bbf7 100644 --- a/drivers/net/failsafe/failsafe_ops.c +++ b/drivers/net/failsafe/failsafe_ops.c @@ -828,4 +828,6 @@ fs_dev_merge_info(struct rte_eth_dev_info *info, =09info->tx_queue_offload_capa &=3D sinfo->tx_queue_offload_capa; =09info->flow_type_rss_offloads &=3D sinfo->flow_type_rss_offloads; +=09info->hash_key_size =3D RTE_MIN(info->hash_key_size, +=09=09=09=09 sinfo->hash_key_size); } =20 @@ -876,4 +878,5 @@ fs_dev_infos_get(struct rte_eth_dev *dev, =09infos->max_vfs =3D UINT16_MAX; =09infos->max_vmdq_pools =3D UINT16_MAX; +=09infos->hash_key_size =3D UINT8_MAX; =20 =09/* --=20 2.21.1 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092020-02-14 17:02:38.734399443 +0000 +++ 0030-net-failsafe-fix-reported-hash-key-size-in-device-in.patch=092020-= 02-14 17:02:37.039406102 +0000 @@ -1 +1 @@ -From f9dd7539423b32c17c5b411260e696570fec4e2c Mon Sep 17 00:00:00 2001 +From 53d262578f17355eecc3659914fe6c4c7a548df0 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f9dd7539423b32c17c5b411260e696570fec4e2c ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index a87e49b97d..50f2aca4e7 100644 +index a63e4edc57..595278bbf7 100644 @@ -22 +23 @@ -@@ -1069,4 +1069,6 @@ fs_dev_merge_info(struct rte_eth_dev_info *info, +@@ -828,4 +828,6 @@ fs_dev_merge_info(struct rte_eth_dev_info *info, @@ -29 +30 @@ -@@ -1118,4 +1120,5 @@ fs_dev_infos_get(struct rte_eth_dev *dev, +@@ -876,4 +878,5 @@ fs_dev_infos_get(struct rte_eth_dev *dev,