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 2EE49A0543 for ; Sat, 5 Nov 2022 18:12:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A02942D1C; Sat, 5 Nov 2022 18:12:46 +0100 (CET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id 67CEE400D5 for ; Sat, 5 Nov 2022 18:12:45 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id bg9-20020a05600c3c8900b003bf249616b0so4875747wmb.3 for ; Sat, 05 Nov 2022 10:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=RFVrAR/t5Vjbp08giTErRmyqhZ+kXmUyvO4MKp4gP4U=; b=O+hv6OU6rLMWDEiKVFYdx+Ohhqi5ndf5DG4xsJQXvQs3/xPc5DpR1x8cH8JcXL46fi f14Q+EXGQNC1hc1FzJvDU5mHJrE1hmkLR/fIU2HWVfzoHlAeNQ+If6Az5W94DN3jixfs TWTm8ZiLfZ52D9mkG80hmNBrpNhj9jmXZQd/Og6AwHXQ+2vKIPyWPBLWJg3i5UCcZNbZ +Wq9oiWBE1xbu2pfxdJl7NUtkG7RlAAugN/qnB1006QseWY1yvBagycBpM9sUSt4VAP4 3AntFng/E8s6DpqpQ/TR2MvTSf9H/gb8giD/ETmpOwb7//brlORpJ8KMs/wlrdXAWgJR yLiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=RFVrAR/t5Vjbp08giTErRmyqhZ+kXmUyvO4MKp4gP4U=; b=GhGhHpanBFn8bKjbQviVW2d7HEY/YWhPQTau97raF0A3q0GBoyiy6V4LGo8EeX3mW6 KYLVYB3ihZjItyZN9BjOLnZc1zNIllD8TPBs4s4oInEyd7RPVz2zAxC/enObZewcwTJo t/0Km+1AcIU9GCus836l4byAswis1NcqZ7wdqvwFaIsj04VqUJmnSCyTZ9wA2LgBnXYG ENbOsUXFGdYTYlp1ee9cgkWVanIshBMM9MyiSK1/f60vC0HNKRIHrmLKhLIpkjDlPvS7 wqrDyWD2smdZuA7XKrDpBgh1uLDELzKRKakr5Jdh2eOSuSP2SpQK8BX4p/QSo76oYSfw 31Xw== X-Gm-Message-State: ACrzQf3TcJiWwH0ybmh31kZ662HFV6tz2EJS7hN4yQx+CH9vgujI4tAh RlMVZF0V0Y3S7beaGUNiLf+pRL3p+i0= X-Google-Smtp-Source: AMsMyM5KvFC7FiPHiLmsUoIpZl+cVBeZXxAhJYl/rKUIqugVlVotkBGPYgvxMp+Rotvl8PlKN1Zbpw== X-Received: by 2002:a05:600c:ad0:b0:3cf:692a:7f66 with SMTP id c16-20020a05600c0ad000b003cf692a7f66mr26444693wmr.200.1667668365152; Sat, 05 Nov 2022 10:12:45 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id bu12-20020a056000078c00b0023655e51c33sm2691103wrb.4.2022.11.05.10.12.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 10:12:44 -0700 (PDT) From: luca.boccassi@gmail.com To: Andrew Boyer Cc: dpdk stable Subject: patch 'net/ionic: fix endianness for RSS' has been queued to stable release 20.11.7 Date: Sat, 5 Nov 2022 17:11:17 +0000 Message-Id: <20221105171146.1520039-18-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221105171146.1520039-1-luca.boccassi@gmail.com> References: <20221103092758.1099402-100-luca.boccassi@gmail.com> <20221105171146.1520039-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.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 11/07/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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/47d52c6c4e848e06b47010f614e6a99da3bc5808 Thanks. Luca Boccassi --- >From 47d52c6c4e848e06b47010f614e6a99da3bc5808 Mon Sep 17 00:00:00 2001 From: Andrew Boyer Date: Tue, 18 Oct 2022 12:40:57 -0700 Subject: [PATCH] net/ionic: fix endianness for RSS [ upstream commit 7506961a48548d55575ca6cd7c3b4009f0112b03 ] This field needs to be LE when talking to the FW. Fixes: 22e7171bc63b ("net/ionic: support RSS") Signed-off-by: Andrew Boyer --- drivers/net/ionic/ionic_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ionic/ionic_rxtx.c b/drivers/net/ionic/ionic_rxtx.c index 61d909eee2..97f36c5c2e 100644 --- a/drivers/net/ionic/ionic_rxtx.c +++ b/drivers/net/ionic/ionic_rxtx.c @@ -794,7 +794,7 @@ ionic_rx_clean(struct ionic_queue *q, /* RSS */ pkt_flags |= PKT_RX_RSS_HASH; - rxm->hash.rss = cq_desc->rss_hash; + rxm->hash.rss = rte_le_to_cpu_32(cq_desc->rss_hash); /* Vlan Strip */ if (cq_desc->csum_flags & IONIC_RXQ_COMP_CSUM_F_VLAN) { -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-05 17:11:10.261149142 +0000 +++ 0018-net-ionic-fix-endianness-for-RSS.patch 2022-11-05 17:11:08.626941612 +0000 @@ -1 +1 @@ -From 7506961a48548d55575ca6cd7c3b4009f0112b03 Mon Sep 17 00:00:00 2001 +From 47d52c6c4e848e06b47010f614e6a99da3bc5808 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 7506961a48548d55575ca6cd7c3b4009f0112b03 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ -index af2d89f9fa..665d085823 100644 +index 61d909eee2..97f36c5c2e 100644 @@ -20 +21 @@ -@@ -843,7 +843,7 @@ ionic_rx_clean(struct ionic_rx_qcq *rxq, +@@ -794,7 +794,7 @@ ionic_rx_clean(struct ionic_queue *q, @@ -23 +24 @@ - pkt_flags |= RTE_MBUF_F_RX_RSS_HASH; + pkt_flags |= PKT_RX_RSS_HASH;