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 DAF85A0A0E for ; Mon, 10 May 2021 18:11:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D022F4003E; Mon, 10 May 2021 18:11:06 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2084.outbound.protection.outlook.com [40.107.236.84]) by mails.dpdk.org (Postfix) with ESMTP id 5259540F35 for ; Mon, 10 May 2021 18:11:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mMWzSnlq6+BjvpdXu5FgEgsvZ2j5fpNkuOpBtx3xMDFRtlGR9c5R7E2bvF4F4s9PxKM8rFLIv4aJHeHBh+hFI/wvagMv69g0ZMBPld27nu3DioUMzCptHikU6q49l6n5HqwTt1XxQCNovA9rGUDtjsMLRHvBty/ALQA8+CbxGopVBMYOclHDl8EC+/2ZwUjTwqg65Cs/f31rdEa61YeaSIACnnnHj4Xb9Ydgc1G8Q/ZCeQ7Z2sPKoJiSXwnsXH2eZMi9gobsCJFtWab6Oul0dDSgyrb0DeWc/b7hZIHhr9Xhuypuuf2qoOLapCvjSHSQunK+V0lNoB29A/2MkcHvQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s6jFXCdpynnSwoZ2y9+ZQ5mFoTIrM5Upog6Xfzlsx0g=; b=Ml6QnKCOo3PmvmDRyNDLHBgDUnxLuwW5lQJhRppS1Px8FBI6eDUq9JIsLocFc/Zdq9JUgpyd6tZ7dUsHjMm3e89JBzHkSt/0kZ/1CX4T9BRYKsLYK8yCkQTtsDcKzYnX1KlhSbP2XLlHSzwtaEbbOEMhNhcH+1mycaATAz+Vvwmjgh7e02tpk/b9o9L5lHpY+jmjDw/p/DmpohUHiZptrzQh5WvLXNviN4DKaSEgjkRpiCmPi6H1v2FFszUErxraHePVlOXyDBrWyAbh6qTOSR++CYrZXloaVs6fhNo0PnVcfQh1aOI5rqgeyYBX3CBX/+ejMecNoHU3Ff0qzqgr5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s6jFXCdpynnSwoZ2y9+ZQ5mFoTIrM5Upog6Xfzlsx0g=; b=JM6BmlRVeCK8OH5EeOAACt6ukajRLhovumPoxd/B+ppSDQKS2iZEk+t3sGUdRbX/7G5eHSqGrfGwLIuoSnrRlSzftMijLKPflbJt14KGmxrwfb/jwmNg8hYEDLYnUYANd2q5JbnV4BNpwUFBd9BTqQ3eo6DcJHbhJHq8onkgTvRx+zr7QuaaN+F1F2bZD0xdlwA0hQgQmfLow6HbSgCmjCRqCdn6QT993981FfyYA85US4imYXZ0g78rMNcK9Xthk4bYVLC3KkkGstqV57owZ8amXufsCHajM/smUGk1e1OLmWjvUCexNNGhEi30qnDWMbDF9PjUVFcKfaQLesSQSw== Received: from MW4PR04CA0319.namprd04.prod.outlook.com (2603:10b6:303:82::24) by BYAPR12MB2742.namprd12.prod.outlook.com (2603:10b6:a03:6a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Mon, 10 May 2021 16:11:03 +0000 Received: from CO1NAM11FT023.eop-nam11.prod.protection.outlook.com (2603:10b6:303:82:cafe::9a) by MW4PR04CA0319.outlook.office365.com (2603:10b6:303:82::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24 via Frontend Transport; Mon, 10 May 2021 16:11:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT023.mail.protection.outlook.com (10.13.175.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:11:03 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:11:01 +0000 From: Xueming Li To: Dapeng Yu CC: Luca Boccassi , Reshma Pattan , dpdk stable Date: Tue, 11 May 2021 00:00:29 +0800 Message-ID: <20210510160258.30982-80-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a8369c3e-7fe5-4d22-c05e-08d913ce3595 X-MS-TrafficTypeDiagnostic: BYAPR12MB2742: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ckaxh0Fcs8A2HnpyKiIPqvvCmatY+cmWK813EJavqoUra8vEi1XkN3R1xRFQFIkPuMXZPlVKhfyNKaJkFkOlg68/4PCzlMvpYh6ljdESKOxaELAccx/AKt15covrZr5NJ1rkg+IJ4GYFO5qTTN5lOszocevMXYtCMHtodYgLcP5zq8Lsea/Cgfc5RRbN6+Mkdhxzj665W2GSXs3V3ckTLYwoNJw2T04qegJ4RlAZBt7b0zzrXAnpuZJP0cOctemt5uhez0eO3c5AsdvmVwdOS9DF//qZGtfQp9U1n7lGXX4DXE8Cy7ea88agBRsMjEqf0Fc3WG6srYCwvuqOdgayK/ma7VWIPww6UbQl/vbZB+KgwD2xiiSF7Af65gbsahywTLvyfK88pfFeCSM1oTXeaeSIRgZus7wHVzxRQbPeGAOVnr9MfRYYVXhjWjf50KYemdjLAwcPMfnXWiMNlyaU7sorJtbA9z82DDuPQlRC7yiJLxnBUylfz5LgrZUBl3+7XOkzQQgBRM9sHReliJ7WwgQTaB/0igRKovaVlCeVZc9RZj+WgnnrmesCgiiV8cUNApSfR8Bx+TGmXwxNnmMkzNRNhq6Ws2Z1ObyFiEflspn/ZuAMciWvUN4NOhagAUI8s7XtLmmruy2TwEI/+DL0QGCzL/Yi5b6Bdwc5Pbb1S5HHIXU7vSbjG2O/uIArdg5EKzUBmxsq0V7nzhJqrNYltdNmpIy2vFWaKlObuNQBKKjE1UmEGwEklx1SrUkLa3IMNQSJ0o8Ga+biUX6RW0KZOQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(39860400002)(346002)(396003)(136003)(376002)(46966006)(36840700001)(36906005)(70586007)(316002)(478600001)(7696005)(8676002)(55016002)(26005)(356005)(6286002)(5660300002)(186003)(7636003)(2616005)(36860700001)(966005)(16526019)(36756003)(8936002)(53546011)(83380400001)(70206006)(54906003)(82740400003)(86362001)(4326008)(426003)(336012)(82310400003)(1076003)(6666004)(6916009)(2906002)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:11:03.1713 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a8369c3e-7fe5-4d22-c05e-08d913ce3595 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT023.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2742 Subject: [dpdk-stable] patch 'examples/packet_ordering: fix port configuration' has been queued to stable release 20.11.2 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. 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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/a8c9a82b541be6ef71e74bf308a9534946cd68e8 Thanks. Xueming Li --- >From a8c9a82b541be6ef71e74bf308a9534946cd68e8 Mon Sep 17 00:00:00 2001 From: Dapeng Yu Date: Fri, 19 Mar 2021 15:11:18 +0800 Subject: [PATCH] examples/packet_ordering: fix port configuration Cc: Luca Boccassi [ upstream commit c99f115bbd9d56630fc5a8d404443e0761684832 ] A global ethernet port configuration is assigned to local variable because in this way the local variable may be updated as required. But this local variable is not used as input of rte_eth_dev_configure() in original implementation, and cause that fast mbuf free feature cannot be enabled on port. This patch use this local variable as input of rte_eth_dev_configure(). Fixes: 6833f919f56b ("examples/packet_ordering: convert to new ethdev offloads API") Signed-off-by: Dapeng Yu Acked-by: Reshma Pattan --- examples/packet_ordering/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/packet_ordering/main.c b/examples/packet_ordering/main.c index 4bea1982d5..963b11d6de 100644 --- a/examples/packet_ordering/main.c +++ b/examples/packet_ordering/main.c @@ -290,7 +290,7 @@ configure_eth_port(uint16_t port_id) if (dev_info.tx_offload_capa & DEV_TX_OFFLOAD_MBUF_FAST_FREE) port_conf.txmode.offloads |= DEV_TX_OFFLOAD_MBUF_FAST_FREE; - ret = rte_eth_dev_configure(port_id, rxRings, txRings, &port_conf_default); + ret = rte_eth_dev_configure(port_id, rxRings, txRings, &port_conf); if (ret != 0) return ret; -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:28.706922800 +0800 +++ 0081-examples-packet_ordering-fix-port-configuration.patch 2021-05-10 23:59:26.440000000 +0800 @@ -1 +1 @@ -From c99f115bbd9d56630fc5a8d404443e0761684832 Mon Sep 17 00:00:00 2001 +From a8c9a82b541be6ef71e74bf308a9534946cd68e8 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit c99f115bbd9d56630fc5a8d404443e0761684832 ] @@ -15 +17,0 @@ -Cc: stable@dpdk.org @@ -24 +26 @@ -index ff670747fd..bcbda05f5e 100644 +index 4bea1982d5..963b11d6de 100644 @@ -27 +29 @@ -@@ -297,7 +297,7 @@ configure_eth_port(uint16_t port_id) +@@ -290,7 +290,7 @@ configure_eth_port(uint16_t port_id)