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 4844742DA6 for ; Sat, 15 Jul 2023 00:35:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4196B42C4D; Sat, 15 Jul 2023 00:35:14 +0200 (CEST) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mails.dpdk.org (Postfix) with ESMTP id CCD3940DFB for ; Sat, 15 Jul 2023 00:35:13 +0200 (CEST) Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-3fc04692e20so23047755e9.0 for ; Fri, 14 Jul 2023 15:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689374113; x=1691966113; 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=NAoF3u0ddb5428gB45awWxdbTmp6glWFSSnFehC+KFg=; b=cm4+9yL4ojKb0nPdwV1nYRZzcokuwbDfd8VMD7BKnQ8601Ffr/0bpPFmrWPjK3v9Kw EWI/zqX1YlMBYua3oZzfeNBE/zUgU1TBU6MfoZyqHDJu3WnLieBlGQRv9f/aL6Zb8GKU TonIo7GAi6WyKvsht5mjI1Ij1zPhgBaK13YL9IMuUst/EwsBlBG2KZaHGsnWRI+2LPJ7 ZfxTpH8I6YRu+STdReT6CI0PnUSM4euQ1Skp+u+TP0P51KQvHiaz7mM7qh02Sv+NTYjP 6AFcGRdjaEGrS43QeS0GqK/C8gPTTZTaN1gy28dmkV7JV08NqoYOVPScf0tHZwZ7Ow3M kM4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689374113; x=1691966113; 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=NAoF3u0ddb5428gB45awWxdbTmp6glWFSSnFehC+KFg=; b=DvR1ahoJKENyGvAfVHsTdGuDxpzZsnc7CqfEx1Sb8ppK/gk3/kQldWPijLE9Dv5A7Y WJGCi4UxSzC/LGGN0wcjeez2h6dvfkTr6wy7Z6ZRH3FQgxNSj34I+OkVBGgxy5hpL27o DOq4NMLkkw3nvzUJFlesWzsbU1perGEFqCGN6pvLjW3SGVnyQVqeswWhlGeJRJ37RXPh qYHdbBZXRibSy589GN6QJoHnMw+Tcikb3369D+n8SYiOS8DdH65MQqlnlCttfhV1AEc0 2uFVxzESgskkX7e2lb/zOmYX5LvkcCvKR4Y3MUx8c1ofSHfUheQDQ+1hvXPdBHgF4GIK bwkA== X-Gm-Message-State: ABy/qLYYHErYhJXDSwV5ZpZWE5CmfBtBxl3gvloW+NFHRIzpH/n+M2Sk QCc0v/YxEn3Cx8/MOaY/DCx4WLlHKtzL/+RW X-Google-Smtp-Source: APBJJlGxmmROT4yE7GO936Z57hcYYUCL4PxR3Gd/W1fdXJAuLssOkkMWO5YAPEjl4V7v734RHA/kbg== X-Received: by 2002:a5d:6d4b:0:b0:315:96ca:dcab with SMTP id k11-20020a5d6d4b000000b0031596cadcabmr4690494wri.35.1689374113488; Fri, 14 Jul 2023 15:35:13 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id t5-20020a05600001c500b0030e56a9ff25sm11925259wrx.31.2023.07.14.15.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 15:35:13 -0700 (PDT) From: luca.boccassi@gmail.com To: Huisong Li Cc: Dongdong Liu , dpdk stable Subject: patch 'net/hns3: fix index to look up table in NEON Rx' has been queued to stable release 20.11.9 Date: Fri, 14 Jul 2023 23:34:36 +0100 Message-Id: <20230714223447.1092828-7-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230714223447.1092828-1-luca.boccassi@gmail.com> References: <20230628141046.2145871-22-luca.boccassi@gmail.com> <20230714223447.1092828-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.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/16/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/f413683418ef04dd68f1c95bb3703add8adc1c10 Thanks. Luca Boccassi --- >From f413683418ef04dd68f1c95bb3703add8adc1c10 Mon Sep 17 00:00:00 2001 From: Huisong Li Date: Tue, 11 Jul 2023 18:24:44 +0800 Subject: [PATCH] net/hns3: fix index to look up table in NEON Rx [ upstream commit 6bec7c50be7a38c114680481f285976142df40d0 ] In hns3_recv_burst_vec(), the index to get packet length and data size are reversed. Fortunately, this doesn't affect functionality because the NEON Rx only supports single BD in which the packet length is equal to the date size. Now this patch fixes it to get back to the truth. Fixes: a3d4f4d291d7 ("net/hns3: support NEON Rx") Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rxtx_vec_neon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/hns3/hns3_rxtx_vec_neon.h b/drivers/net/hns3/hns3_rxtx_vec_neon.h index 4e94c7aa94..9c41c409de 100644 --- a/drivers/net/hns3/hns3_rxtx_vec_neon.h +++ b/drivers/net/hns3/hns3_rxtx_vec_neon.h @@ -138,8 +138,8 @@ hns3_recv_burst_vec(struct hns3_rx_queue *__restrict rxq, /* mask to shuffle from desc to mbuf's rx_descriptor_fields1 */ uint8x16_t shuf_desc_fields_msk = { 0xff, 0xff, 0xff, 0xff, /* packet type init zero */ - 22, 23, 0xff, 0xff, /* rx.pkt_len to rte_mbuf.pkt_len */ - 20, 21, /* size to rte_mbuf.data_len */ + 20, 21, 0xff, 0xff, /* rx.pkt_len to rte_mbuf.pkt_len */ + 22, 23, /* size to rte_mbuf.data_len */ 0xff, 0xff, /* rte_mbuf.vlan_tci init zero */ 8, 9, 10, 11, /* rx.rss_hash to rte_mbuf.hash.rss */ }; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-07-14 23:33:08.788194279 +0100 +++ 0007-net-hns3-fix-index-to-look-up-table-in-NEON-Rx.patch 2023-07-14 23:33:08.487305115 +0100 @@ -1 +1 @@ -From 6bec7c50be7a38c114680481f285976142df40d0 Mon Sep 17 00:00:00 2001 +From f413683418ef04dd68f1c95bb3703add8adc1c10 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 6bec7c50be7a38c114680481f285976142df40d0 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index 6c49c70fc7..564d831a48 100644 +index 4e94c7aa94..9c41c409de 100644 @@ -25 +26 @@ -@@ -142,8 +142,8 @@ hns3_recv_burst_vec(struct hns3_rx_queue *__restrict rxq, +@@ -138,8 +138,8 @@ hns3_recv_burst_vec(struct hns3_rx_queue *__restrict rxq,