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 66E31A0351 for ; Thu, 6 Aug 2020 11:59:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F7F51C0AE; Thu, 6 Aug 2020 11:59:03 +0200 (CEST) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by dpdk.org (Postfix) with ESMTP id A69011C0AE for ; Thu, 6 Aug 2020 11:59:01 +0200 (CEST) Received: by mail-wm1-f45.google.com with SMTP id k8so9086532wma.2 for ; Thu, 06 Aug 2020 02:59:01 -0700 (PDT) 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=OQdxZ2zTS235O0mux3JPag6XErXW4xTMBckxqOI24T0=; b=K2Wpo8578qgHLQMJY9pS5YsuOXk5pe78Q0UjjnX9VPwV4jar5i4r0EBSPYVZZ8PP5K rStL2rOHKU5OKL2aMs0jVjJiqaveXVX80teV1sEtMzbOmWc+o3RqajZps/8HR2+p7hOQ wcquzRv0T2DlKVtgizBZwrQPCLykJ66IuZYxwkXkqeATROD3DCErIWEkdwmO7PanqavP 2OSoc+6UswNMUxDBLB9pYRPRaWrXNv1H+jB8oLqUCDPulNSbeM9IdFb+l5pJmyt2rPhh UubaB+opZlXR+MY6eTSOei5xP6lX6AHbgAU3CoU8TVys2NjYJkqpZPPewHroC3NIt39V zUeA== 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=OQdxZ2zTS235O0mux3JPag6XErXW4xTMBckxqOI24T0=; b=lyZfV1+TBd6Qo0qwCpkMavStBbADv1LGknvti2US8SUpTM8VgoL/PnfgnBuT/cML3w 7YmZQiPoV3oOhJ/GSxymk1zvhwr/tMWrFYJ9Lwu4acmc+/irn9Px/VgEK+jZrYqj7L5e 9yVr+vzl+UqJ7yBDhHvihLl8KEVIoUJ6hui/STNrsviavaB9eSMUfZaITrHH+kha8fDd Uk3rEMr0Yzoc/1ruXyBjHvzPS5wIQ/LkOdBX3NTEkUaL50YL5YXns/L/3rYzvgDVTNEe hvBsHPVX4JoAJoVVl5+iZoBAL6uQak80DvpjojtDHfvblEN3ag+maL0CirQAurc3zE3f ksPQ== X-Gm-Message-State: AOAM532qFGdp3T07oDgUrcTnBydjssJdepb1FqrZVlO18qhNIoeE61r+ LYMJWngrQVe4LuVj8KBt36U= X-Google-Smtp-Source: ABdhPJxki69oV1D0HqXU9D6RW7U5R5eK2vA+pwSYMfte7vI+JDaJiKQmkCuCthg8EEKWZN4s5RoNcA== X-Received: by 2002:a7b:c845:: with SMTP id c5mr7427326wml.180.1596707941389; Thu, 06 Aug 2020 02:59:01 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id v12sm5825314wrs.2.2020.08.06.02.59.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 02:59:00 -0700 (PDT) From: luca.boccassi@gmail.com To: Xiaoyun Wang Cc: dpdk stable Date: Thu, 6 Aug 2020 10:53:54 +0100 Message-Id: <20200806095411.774624-26-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200806095411.774624-1-luca.boccassi@gmail.com> References: <20200724120030.1863487-1-luca.boccassi@gmail.com> <20200806095411.774624-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/hinic: optimize Rx performance for x86' has been queued to stable release 19.11.4 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.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/08/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 989c8ed8803aee11de856ad8c5a27e5ea164e6df Mon Sep 17 00:00:00 2001 From: Xiaoyun Wang Date: Sat, 25 Jul 2020 16:15:34 +0800 Subject: [PATCH] net/hinic: optimize Rx performance for x86 [ upstream commit fae4b8c47c25286e5d87cde55ff16d1bed298e15 ] For x86 platform, the rq cqe without cache aligned, which can improve performance for some gateway scenarios. Fixes: 361a9ccf81d6 ("net/hinic: optimize Rx performance") Signed-off-by: Xiaoyun Wang --- drivers/net/hinic/hinic_pmd_rx.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/hinic/hinic_pmd_rx.h b/drivers/net/hinic/hinic_pmd_rx.h index 49fa56517..8a45f2d9f 100644 --- a/drivers/net/hinic/hinic_pmd_rx.h +++ b/drivers/net/hinic/hinic_pmd_rx.h @@ -35,7 +35,11 @@ struct hinic_rq_cqe { u32 rss_hash; u32 rsvd[4]; +#if defined(RTE_ARCH_ARM64) } __rte_cache_aligned; +#else +}; +#endif struct hinic_rq_cqe_sect { struct hinic_sge sge; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-08-06 10:53:16.823253686 +0100 +++ 0026-net-hinic-optimize-Rx-performance-for-x86.patch 2020-08-06 10:53:15.812597639 +0100 @@ -1,13 +1,14 @@ -From fae4b8c47c25286e5d87cde55ff16d1bed298e15 Mon Sep 17 00:00:00 2001 +From 989c8ed8803aee11de856ad8c5a27e5ea164e6df Mon Sep 17 00:00:00 2001 From: Xiaoyun Wang Date: Sat, 25 Jul 2020 16:15:34 +0800 Subject: [PATCH] net/hinic: optimize Rx performance for x86 +[ upstream commit fae4b8c47c25286e5d87cde55ff16d1bed298e15 ] + For x86 platform, the rq cqe without cache aligned, which can improve performance for some gateway scenarios. Fixes: 361a9ccf81d6 ("net/hinic: optimize Rx performance") -Cc: stable@dpdk.org Signed-off-by: Xiaoyun Wang ---