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 D8EA5A034F for ; Wed, 10 Nov 2021 07:33:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D393540142; Wed, 10 Nov 2021 07:33:58 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2080.outbound.protection.outlook.com [40.107.94.80]) by mails.dpdk.org (Postfix) with ESMTP id 8F3D540142 for ; Wed, 10 Nov 2021 07:33:56 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YXrLF5uTWqNnArQ6m1gDxZwL+gxe7/H148kl0MtKSK7n3TODmecSqnSJU7fx8huMDzviAXeQmxtHIZL94frD0G1ZXUsbhN7oOwBgSDVL+7gxWTrEFoG3Szy9EDBJJrcCR3UO8fxtiXoES3tjc+iwiVwXaC+4YYe02+aAKm21pHIL42O5qYPhoPvKDfnix2Ur9DpL+7MRXEYejeg91LNsJ+6IBAt3kZ/E+99m9V/zKVh67ewujhxqDCgKyCt3jnKDrB4n4Og+VT4kgn5todc9zPyU56/uOKSseuqLNsGyCHM9yrxay1+f660Hv8Sofpl5sBnPuvQWtoYlNqO6nRp3WQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YP5Dk70nSxuovwk5S8aUEsIvSSgTnxtghuN8Axh+2XM=; b=UNag82SyGQ+C5NZT8RNS72su9nkHABNsWbzGQkg6F336ublaBGaPsk2nrPvI6OWRHRVV2RFXd6y++DXPcMHnnf9sJ8JVUvNR1FlMp4BH8sAI9MwZ9DIzTNZzu9EvgoJjqf/ZUR/Ib2JpJzJ/Xabj4U6+ocRrp6ZKNItOirYn3W2oYbx719khuS53MQyp+rMtXe+oB10A3BqEc4AZtgJkkxeLkYSaChSjgT/7akptimWG5dkmUPewoM54du1G8IO8wdmmS9ihx++97eiaPmc17WmobKAvoktjdyMOJBqsWqScx6qvSbTGdVkPfTjnn30SVYvAfBnAj4HJBfnyE344ng== 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=quarantine sp=quarantine 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=YP5Dk70nSxuovwk5S8aUEsIvSSgTnxtghuN8Axh+2XM=; b=cKLCu/6yB5yzcOhESTtHQJMUR9eVnIlC0V9wCgrJ/l35vWlV7Il7fYk4CUm5hqfDquiyzPWHJB20D8FAytgsdD3ajgG/aCVuntNKkWyHqEmTQC+dpra4+HnfAGkgfOJmi/GTxOSOA7OGc/swLXrJjkUzTqMyDhvViCj4Sj3yZCyVvQy9x4hAW1ieBZ2DG+bUgWrmZgFZZJND9WaWRWnBqVchCLxTy9vHl7dFnMWhB7VABz7ehdPJJsxedesb+EiFWYU8HkTNhN+egz0usdAmyoCoL5oistyLlAHLhvUaSae1eSxr43HGp3wnLBRSk7NJ/vZ4n/FkgtF3WBSTijI1iA== Received: from DM6PR01CA0025.prod.exchangelabs.com (2603:10b6:5:296::30) by MN2PR12MB3901.namprd12.prod.outlook.com (2603:10b6:208:16c::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Wed, 10 Nov 2021 06:33:53 +0000 Received: from DM6NAM11FT020.eop-nam11.prod.protection.outlook.com (2603:10b6:5:296:cafe::36) by DM6PR01CA0025.outlook.office365.com (2603:10b6:5:296::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:33:53 +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 DM6NAM11FT020.mail.protection.outlook.com (10.13.172.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:33:53 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:33:51 +0000 From: Xueming Li To: Nithin Dabilpuram CC: Luca Boccassi , Xiaoyun Li , Raslan Darawsheh , dpdk stable Date: Wed, 10 Nov 2021 14:28:18 +0800 Message-ID: <20211110063216.2744012-15-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bdd0edba-d8f9-45c1-71ca-08d9a41410a1 X-MS-TrafficTypeDiagnostic: MN2PR12MB3901: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iV8UUu9KLVnitIS71Vp/P/2uCHvfNkTCqbKBjXIyXu19d7Me2QULirBrwOd7TAEuczyF2UlSweqPYttgdjvRldLYpOqCWA76FewEHdFm34jHRe5x6DynD9kl9BF0IutM5noBSy5+BVqjBJ+GlBiW6aYcddTsfM8TsuNa8qqPXdRGmY06OiFcc8Rdrk7rOM/dZU08XljMiRTiolAL+s0sMDCelyQkZ4YhyYkZAcAerq+41rDSAB3/k4Et1akJbgKS+4VOiv0j3yYzHXzR1uuURFo8I61afVlkqVmCHQHl0Lk6vxtEUwxAZuhj6WWNqqggVEIuka2GL/OEmYbwI6zYnTr25jumj1tq0I9SCRwiZGH8h5rgMXFQc3VFRBbEqXiguc+p0LYFWCglgBgI2L4sdvVc1L5ZVKA92QfZ6yPMfZimlPdAG6QyTJILxoQ8YsQ4AWNhr9gzMcvSe83J9Y1hnSErDbKioezbQ0g0miUcIGQceLxrgzJtsFyvCMcTsJ3h2FAMiD2C+hTapHbOZhs7oisW4BkXOcXiKov5410s+bnYauKVK+5Obp/nx7sx8p7u4BFsfNs8aqC/XmzFGgZOCqjLuK0gGLBCWQF41iTUn7YnB8mNGIBxu7llr3VwkBGJGNGng4sa/dNhBTQclQaNSi2wgUtgPyeTPwf0I9x9upPFUgE3mvTXP+tcWaMFTh68g7Falm2VZB6h9Hm/Noro0cCAMddydvQBYuC+17XmYHqjKyk+bdNW5o5ZoQgjou1AjfJdrlggpfSUWtJygB/jocSD+SIUJ7ze3BZDyOKB98Jf29EHUeWXH/NCrJYxRMTFE9XUg1EzFxWkmZZDkeUxxQ== 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)(36840700001)(46966006)(2906002)(4001150100001)(6286002)(36906005)(83380400001)(8936002)(16526019)(6666004)(47076005)(1076003)(55016002)(54906003)(5660300002)(316002)(426003)(186003)(7696005)(8676002)(966005)(82310400003)(508600001)(7636003)(336012)(6916009)(53546011)(70586007)(70206006)(36756003)(356005)(2616005)(26005)(86362001)(36860700001)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:33:53.3893 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bdd0edba-d8f9-45c1-71ca-08d9a41410a1 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: DM6NAM11FT020.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3901 Subject: [dpdk-stable] patch 'app/testpmd: fix dump of Tx offload flags' has been queued to stable release 20.11.4 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.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 11/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/6e5dbe158642933be3be666308359a6f58e56571 Thanks. Xueming Li --- >From 6e5dbe158642933be3be666308359a6f58e56571 Mon Sep 17 00:00:00 2001 From: Nithin Dabilpuram Date: Mon, 16 Aug 2021 12:39:42 +0530 Subject: [PATCH] app/testpmd: fix dump of Tx offload flags Cc: Xueming Li [ upstream commit eeedef704c11bd74c367d62838700bdb8e5b573f ] Fix verbose mode dump for Tx to dump tx offload flags instead of Rx offload flags. Fixes: d862c45b5955 ("app/testpmd: move dumping packets to a separate function") Signed-off-by: Nithin Dabilpuram Acked-by: Xiaoyun Li Acked-by: Raslan Darawsheh --- app/test-pmd/util.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/util.c b/app/test-pmd/util.c index a9e431a8b2..2682259678 100644 --- a/app/test-pmd/util.c +++ b/app/test-pmd/util.c @@ -274,7 +274,11 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[], " - %s queue=0x%x", is_rx ? "Receive" : "Send", (unsigned int) queue); MKDUMPSTR(print_buf, buf_size, cur_len, "\n"); - rte_get_rx_ol_flag_list(mb->ol_flags, buf, sizeof(buf)); + if (is_rx) + rte_get_rx_ol_flag_list(mb->ol_flags, buf, sizeof(buf)); + else + rte_get_tx_ol_flag_list(mb->ol_flags, buf, sizeof(buf)); + MKDUMPSTR(print_buf, buf_size, cur_len, " ol_flags: %s\n", buf); if (rte_mbuf_check(mb, 1, &reason) < 0) -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:02.761982280 +0800 +++ 0014-app-testpmd-fix-dump-of-Tx-offload-flags.patch 2021-11-10 14:17:01.754080379 +0800 @@ -1 +1 @@ -From eeedef704c11bd74c367d62838700bdb8e5b573f Mon Sep 17 00:00:00 2001 +From 6e5dbe158642933be3be666308359a6f58e56571 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit eeedef704c11bd74c367d62838700bdb8e5b573f ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 5dd7157947..14a9a251fb 100644 +index a9e431a8b2..2682259678 100644 @@ -23 +25 @@ -@@ -275,7 +275,11 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[], +@@ -274,7 +274,11 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[],