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 E734FA0567; Wed, 10 Mar 2021 14:56:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60B3D22A6C5; Wed, 10 Mar 2021 14:56:18 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2060.outbound.protection.outlook.com [40.107.244.60]) by mails.dpdk.org (Postfix) with ESMTP id A22DF22A6BD; Wed, 10 Mar 2021 14:56:16 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aUllDQ2WJdAhoXeFW/W83PHgk3NkfPqAsNdiHtHtmw+c9U5Xzumn10rycwC7xD1e2hNGyS1VNM9dGVu1nYJ7Sad0zmX9IGmId0mMutE8vxrcAsqF5m1x9Hqps52z6ZzCGejjUXHB6bzsq0M2eH6pL7rcwkkj4VGDl3hNqYtkZW9pkRonIc1WOEqs8CRfV9grny0ea2NFY7UGcX+3UYZb/fLkTZs99rO2krR581lr3wP8anRKUVQL1jj1ss3qAf7RsL1oqnXFaExmpueYLAjvyd3OyC16iSdhUvmIYEpC6GFMOZMyaWQ8ZOHUgCXmDkVqGeMqQzLCbHlMCRDeoWChjw== 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=Vyq0MzODcT8ZiOh2hMxcp5YIsTffYfNu5lrGaEYX/F0=; b=jy4YRPUiS/nmohU43qfsKZOM9vP8JMKdKIPZaPJTh1SOhpoFRr9+cZJ3Iqexx4fpXmUCIC/QPpe+e+hFvQ/Pw2MVPjNs9WAIFRkaejsPhS3ALGEZObBXmW8Dd20b6OT0KDMVKJ6CCiPB85kjdL0flH76BJOkXKVGBQqzBfh7btJ9Rg2OmkYzKxI+WaBhGxnMcup1qI0fO8k1IaTMhyt8v6eiS5XREmUfnN8je2dniL9ZhaRxEHg7RVgZg6hZFXbdUeZ8jCuAIqpQLTXoz1bckEZRO3obaaJ83CxhVynfK0p+zk43LQM24ofua2uBr+jHKwyz6gEVI7cqAhe1beD0Tg== 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=Vyq0MzODcT8ZiOh2hMxcp5YIsTffYfNu5lrGaEYX/F0=; b=CYtOuKxL0vT3ffQvFUIiywX08NmaIrMFUl8VOY/+NcFcHGg3ZFDIfc2s8K16GHJ4tQyu0v8bNW6zI8KK0U+6OK1ZUMBKnd4dgCpuuYTN3Ay/LGcfoCH8JkwLYmGH5NhnhUvsCbzJNwYvdYk/r8H/ajv/mflp4a1VRxOt24EFFtOmiN5nW/MqzRMtPSCwJ32Sr5OXGUomC2XMwADjms9WvM/FNf6IjvZmpBH43L2XParvGFvagaGiXfawviIYgliUAqLwflW8kHwXLEEUh1MrKiG6fNIXURBVyMFIcmkcfg+bv6rZR57ZWaykLz9Vi5NxuZBIdMx1N/bVR2GjQAx2lA== Received: from BN6PR1101CA0010.namprd11.prod.outlook.com (2603:10b6:405:4a::20) by BY5PR12MB4920.namprd12.prod.outlook.com (2603:10b6:a03:1d3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Wed, 10 Mar 2021 13:56:15 +0000 Received: from BN8NAM11FT028.eop-nam11.prod.protection.outlook.com (2603:10b6:405:4a:cafe::4) by BN6PR1101CA0010.outlook.office365.com (2603:10b6:405:4a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Wed, 10 Mar 2021 13:56:15 +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 BN8NAM11FT028.mail.protection.outlook.com (10.13.176.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.3933.31 via Frontend Transport; Wed, 10 Mar 2021 13:56:15 +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; Wed, 10 Mar 2021 13:56:13 +0000 From: Wisam Jaddo To: , , , , CC: Date: Wed, 10 Mar 2021 15:55:46 +0200 Message-ID: <20210310135546.8680-8-wisamm@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210310135546.8680-1-wisamm@nvidia.com> References: <20210310134858.8104-2-wisamm@nvidia.com> <20210310135546.8680-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: 3a50c2d5-2a30-4271-c601-08d8e3cc45a1 X-MS-TrafficTypeDiagnostic: BY5PR12MB4920: 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: L7SRoaRC/3jroXgFmbRLsDPq6Z8MYyRTYz2lMzjs53ah1MF3GWM/QLZIfKAK7GpmZm/fxeiLMupLfMruYvKoXniRtdQ3O765YRzCtqdRm6VZ/mqDi7vnlTa2qo4mep2PxALKVa28MWw3OI8DC5GtLU/iLuc5H7mqlKaXnCHGryiosUD0t42ueaRlswKkiRW+T/BQyv0QqdpecCsEEJsog9cpfPYzqx/uVp41T0KLJVIfw9WQW1rIVpBD2CNTgT7uU2h3jcHPqHP0LALTQg7unqZ++kGmk5qNI4YO7I/KTyqVJYDSMeshh8iIRn3QP3rgTxojNiP6uhS2kDM+SPe1JHOsKm1joYu/sWdvmX++eS/P9P8g4uUHBEzLcoHbh4Hs6g/91oDAJZrceUtqZF5jwYnAMWl0l8/Kr24BSv19Dp67VjTeLUB8uhKaUdbNd6+2U6HR4VI93/OjpXvov90Dmku60Eo5GsI+BR31MisgdzE77BfZcizOlF1XRxDKPrAIPCqVF2lTzmGnuMpZQR1Ty5vXgmQ59s/raYnLskarpxf4JlJzaOMTgizNueZPEpG9tK5tcXaw/2Dms4X1BjIkrZlGP17CG0/D735WLSVJE9BVSLXeJiIqWWt1iImT+64EEB2IMxQQuXMeG58jfiIO4QTNopkJdcHtIUnZ8HI1HyDS6nduRyl7sL7EUaqzjVeu 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)(136003)(396003)(376002)(346002)(39860400002)(46966006)(36840700001)(5660300002)(82740400003)(70586007)(186003)(8936002)(16526019)(70206006)(47076005)(82310400003)(26005)(1076003)(8676002)(4326008)(6286002)(83380400001)(55016002)(356005)(6666004)(7636003)(4744005)(7696005)(36860700001)(336012)(2906002)(36906005)(316002)(110136005)(478600001)(36756003)(2616005)(426003)(34020700004)(86362001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2021 13:56:15.2319 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3a50c2d5-2a30-4271-c601-08d8e3cc45a1 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: BN8NAM11FT028.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4920 Subject: [dpdk-dev] [PATCH v3 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 --- 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 3d79430e9a..6bdffef186 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