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 CC0D8A0524; Sun, 14 Mar 2021 10:55:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 482FE16091F; Sun, 14 Mar 2021 10:55:01 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2054.outbound.protection.outlook.com [40.107.236.54]) by mails.dpdk.org (Postfix) with ESMTP id 90FEB160912; Sun, 14 Mar 2021 10:54:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SQkVxs1EDD0jw9wpzMp1FwTKbzgcTyKDQ9VQFhQg7UC/ubRIvCwcsBg0xUYjEEPG6ndjrcs5PDN2CLd3mERh9LJw3AOhvG0AugRgEKUZJMcJMeh4TAH3fo4q6oirC1k8koXRvT1cKeM23BkQLnfqtZkk+oGNeWzlkw6jYbt6ywd0AwNYGoH/nDTBwz1R5FQKklKHHT/ICYNqWCH0SGQ8O0N88dCSxJiesxtUlo/ilX23vH/rfHv3SfVudC+/nMrbBdG3NIXLBuPmil271RMg4eGFaebPAIDrqFh8ZZKjXvNPPoPJs00nKFxIdkiW61urouUDPwuGnhxHPD8tkYK+rg== 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=RYvo/U/AindWbfj8p56RRePmtlARomE5nKYFQaXzdBs=; b=lvjWQI9uKZppnz8G/RJBzIOpSvG54DlScpKER//1qbRzRQjIDVU22z+jFkhzHWt4PZbRRtXBKZIypSFi+VPoLDnfnbFsZsIKZGQLjC4uexbYDVL5C9/4kuBfjCbuCSvQHqrlSty8pRuwqf2GTVV7jSDaw9V4ldY//jCH2kMwYr9p/X9H1X/E0r8axS/FIre9JxzuLRkbnVaHL2NhnuJFgPx6k2T4xhylXldy0MayBDdNJHkyMNBh2L93yveV3kZy68nbhBStaxNVc72p+qcnDj6rGDMbXezU9jl14UNxdOQIYQw6mCri1t86pv7D03PVpkX+6V49dvc9GHCs52XEPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org 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=RYvo/U/AindWbfj8p56RRePmtlARomE5nKYFQaXzdBs=; b=JtmhDanUULC0UBruAXwqxsobKKW6HHcIo5aQyq7qpe+BDVRJHuUy0OMZH+3KsRUxA4fIroUatZN2zWC4/IJqrPd4IJdrEI7eQoNjOZZXovcTkHhU3emgH0MbA6wN+CUweXjIqnE/U7GHWArGE5CU4kreApr8Hboafr/gn2zLYzNkLs/mrFoJEH7Fy9ssg8eFVRK9WN7gNSBfSH/zD1sEkujok6mamM3HCpf/VSVobjQTsg6yvPJ2Qdl0iWIAL9HZcdZDcLepbSi7+TtV5O/s/hw9ofq/hOcXUvhq1EbBp2t9tcP/j6zi7RDLRntIO2Je+E8gGfWWwWITu2kwz4+zSw== Received: from BN9PR03CA0451.namprd03.prod.outlook.com (2603:10b6:408:139::6) by MWHPR12MB1181.namprd12.prod.outlook.com (2603:10b6:300:e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Sun, 14 Mar 2021 09:54:57 +0000 Received: from BN8NAM11FT047.eop-nam11.prod.protection.outlook.com (2603:10b6:408:139:cafe::92) by BN9PR03CA0451.outlook.office365.com (2603:10b6:408:139::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32 via Frontend Transport; Sun, 14 Mar 2021 09:54:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; 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 BN8NAM11FT047.mail.protection.outlook.com (10.13.177.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.3933.31 via Frontend Transport; Sun, 14 Mar 2021 09:54:56 +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; Sun, 14 Mar 2021 09:54:54 +0000 From: Wisam Jaddo To: , , , , CC: Date: Sun, 14 Mar 2021 11:54:27 +0200 Message-ID: <20210314095427.10101-8-wisamm@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210314095427.10101-1-wisamm@nvidia.com> References: <20210310135546.8680-2-wisamm@nvidia.com> <20210314095427.10101-1-wisamm@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.145.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: 6a80e06c-276f-4e77-3555-08d8e6cf3935 X-MS-TrafficTypeDiagnostic: MWHPR12MB1181: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RSMI79QgyMy6/7xVWWX8QPVKJ3MUm3x9GmVMhC/mKrPJjxR1lpD0kBZE1nZN8VW8YMEn4sfbi8hg2ZY9Lbn2VpV3UwH8ngupfmSCMEMLYAx8H4qSeEg4Qa/PC5pnMT2gXldiOfLHFYqje4rBCRAeN82laNuT1ie3gQ1tJ5OkNa8Yj8MlQvHId6pZJvHfBKfkknQnExlmT6lYgLA2U4MfTc1ahySfhuBI4XEEFw5haNZNQGlbuMG0S3ofkUSmnznlC0sWPTHZ9ftmqkEKcxcLy0Pz+r4oEZHao6mGveLL62e4i1Z/8hZoIEJR9Fytl5u5zXclLRPGPe3Cp8o4rvuQS6r2ff/BsdgUiRyLJoZysAgJn5T2coeaAY0nqLlB9RGRjja0Ld7RqPB1FPDtFaL0TcLGw0H/wp2GSLTAxTLTA+bazXuzNS7InKA29uSUlT+F8ke5SfYDJaGskBc+QNTOd8Rc12nKDaq/h8vjRNuXfm3/ZPN2Pi8EXNQSKrt7q6lqlhwCr3mv4f9oiJdSJ1HQQgiM7MuR4nqcSGwSj8zfrrfY7HPhZovG6UvLhusHoQgLi690KNJutcpFj9jKUw45IW0fX1TjpgO+kmpjxW0ESXb4t0zGTUOiuh4WIgN0czrVPRxyyF2rnYrZFd8EFgKAi+r7JGl9ucrMA8z4chDNJPAQNPQFa+jZLp0uTOyitIAY 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)(346002)(39860400002)(376002)(136003)(396003)(46966006)(36840700001)(1076003)(82740400003)(47076005)(34020700004)(2616005)(36860700001)(4744005)(6666004)(70206006)(4326008)(426003)(36906005)(5660300002)(82310400003)(478600001)(110136005)(7696005)(70586007)(186003)(26005)(2906002)(83380400001)(6286002)(316002)(8936002)(336012)(55016002)(86362001)(8676002)(16526019)(7636003)(356005)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2021 09:54:56.3683 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6a80e06c-276f-4e77-3555-08d8e6cf3935 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: BN8NAM11FT047.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1181 Subject: [dpdk-dev] [PATCH v4 7/7] app/flow-perf: fix setting decap data for decap actions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" When using decap actions it's been set to the data to decap into the encap_data instead of decap_data, as a results we end up with bad encap and decap data in many cases. Fixes: 0c8f1f4ab90e ("app/flow-perf: support raw encap/decap actions") Cc: stable@dpdk.org Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index d33b00a89e..97a4d4ac63 100644 --- a/app/test-flow-perf/main.c +++ b/app/test-flow-perf/main.c @@ -730,7 +730,7 @@ args_parse(int argc, char **argv) for (i = 0; i < RTE_DIM(flow_options); i++) { if (strcmp(flow_options[i].str, token) == 0) { printf("%s,", token); - encap_data |= flow_options[i].mask; + decap_data |= flow_options[i].mask; break; } /* Reached last item with no match */ -- 2.17.1