From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr80087.outbound.protection.outlook.com [40.107.8.87]) by dpdk.org (Postfix) with ESMTP id A8D3C1B402 for ; Tue, 26 Dec 2017 10:44:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=laCqwWOfopwXtiPkQQDevVJD5Tl+FOf4FfZkFxHkxmY=; b=ynasqOm2+aN3SjpT/qp96by4WN+qfd7uP6Ik1RQssLw4K0yA8zCNM3Yf2ze9ToyOFFM77czg4k8J98BOoTCYjsLBZYcL0au8brHUuUHQv1NtI0Lx92YLQqhIrq/z2kedP85cc9jplPoB51Sf1ehO5wTi1BBq1POWdOgbhHby/BM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; Received: from mellanox.com (82.166.227.17) by VI1PR05MB3150.eurprd05.prod.outlook.com (2603:10a6:802:1b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.14; Tue, 26 Dec 2017 09:44:53 +0000 From: Shahaf Shuler To: jingjing.wu@intel.com, ferruh.yigit@intel.com Cc: dev@dpdk.org Date: Tue, 26 Dec 2017 11:44:14 +0200 Message-Id: X-Mailer: git-send-email 2.12.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [82.166.227.17] X-ClientProxiedBy: DB6PR07CA0012.eurprd07.prod.outlook.com (2603:10a6:6:2d::22) To VI1PR05MB3150.eurprd05.prod.outlook.com (2603:10a6:802:1b::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b41746f1-fb7f-42c0-cc5b-08d54c45512b X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(48565401081)(2017052603307)(7153060); SRVR:VI1PR05MB3150; X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 3:qiALOvuIS5AHMF2GfqQpmkUDdqrWMIBuv0Soe/1mwb25fCX0nRsayftD62mcvN6OvaFJ5wsfr9dI0dpgmUZWodMOijv3/LVdX6Bg6rq4T6YVmd5qJL/3yqQCQTBDn1DiGzspNM1HMGLcMmvasd6g4IFP62g+sGilMIquaHFGFM/TuWG3I5aoAcgfsuKM09S6tTaiiFzlE2PWNAOo5UEx5v5JEjWJjXXhvCqq/xzAdhy8KfoS1NYEJ6DLrFr3NpoT; 25:ShGoEa8rNur/4/xbx0kqVkXfaC6ntNf6WL6y6ZnctdMAc+Rx1NiyHElIneDebyq6Yv0I2JqLlL0qhZbvigQLQR/R77SmudDwEc3NVIoqmgkzGKy3TZppauvAKtN020a6ak9xUHJ5MoW2b6WDaoDBVcH2nCQ9XBuNfpc0blAvw+tsgWJvDidUUE52VRx09qx2u4P9b3iG1SoVc8iiijAaTVJUKZEY9giusrcBtSzKGefHujkEddtYWwA6xB+2DTg64rK6vJk/SATYHMa1dQJC+itPilBvRmt3Y+065vc2mop1/F7fN/jBoFcJC2tUQ9+c947rpKTD6OuHOhSCMQJGgQ==; 31:eY84iNIvtyhp0mr33d0XXiLUv9kFaXMTokiocqZJ4hUJjmpUHa6hwNYt4s92LyVHdstq5kz3nfn+AXYlB11YW9G3EFLzBB5lxpFu1qZB3MkYfCB/zgI9gvno6gbsOPEwaP9pQF0s4iuklIpmsxZ2EhW+dOK/IZmUf/0niwnuRihHHBPkCuFKJhu0fK0f0c/DEL7IO+YG/7D+e9c9yAUSdy1BXtnEDlKUfSNICyjX/2I= X-MS-TrafficTypeDiagnostic: VI1PR05MB3150: X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 20:nZj8b6RTZstdBEipS6O23hOZLQtDNLbA0adhbhEr2id0kZp+8lVg7b2zCNJIxR9UwR0DxNdSk8sHMqcY42zuhLwpLVZBa4SISRLAvcDWDrIW217teCtVMShgPjyOtsEcBJNidrvZIvETcDib5Lkmuewr96etb8tWYmOmi2Py/xbGcJKg4goqGdq1yauxnMFoAlatG+4a+0wkK8XOL0TUz3JmZcmCNIz+4vKU2U3tI13nRhiwmdW6M7KYeDTmP4R3Hwq31DTdnDwR739JJ/LRdXzw6dWA8H0GEpykkDMhZqBvmMisOONvAgsNGnKnuBwWY6oDux/U5oPXyNjtWVWBQFO2rt7gSD5VOaalE2obqChuN8uKy1yY+cgY7SOxfY1uOEnWFRELHjhtti/ao1oUyRXXCmtcxapgQvN37a2+OXNjzO8Vi92pOKt+PAk+9ZZ8H+f7aGlj4sz+phZCetNu+HHJA9mTCxzsy3n7r+kArU+3EnfBjzNN9bjRWm6ALHeg; 4:SdNYM9smq9+WST/2QjU+Mks/zuAu8UEoZuOPdvesxg8bkR/ZulqYHrkWtZ5Uc9LWMEevHJbJ0knJJ9/QlCzA+hW/EJ/SziUmymyxucVw4CRgiwEkAX9cnrsg3gxRbkkF9IoLU490wA4xLTkS3VvHNmoCgOy4op5BNrVL4SjbEh4vgNgnoEPmmSs1qNSkkaV3j8T9kDSQOH5H7Y8dtCkqoAvLuhk+sUxhww+pwWEdwdpeWvR95G8GelVo7oW3YpYSh8PEz8DhqmbW1aPHYwukpg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(944501075)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041268)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR05MB3150; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR05MB3150; X-Forefront-PRVS: 053315510E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(366004)(346002)(39380400002)(376002)(199004)(189003)(33026002)(50226002)(52116002)(51416003)(55016002)(8936002)(76176011)(7696005)(81166006)(36756003)(86362001)(6306002)(68736007)(3846002)(81156014)(4743002)(6116002)(386003)(16586007)(316002)(8676002)(53376002)(50466002)(69596002)(48376002)(53936002)(2906002)(25786009)(2950100002)(6666003)(5660300001)(16526018)(21086003)(4326008)(478600001)(97736004)(106356001)(47776003)(305945005)(966005)(7736002)(66066001)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3150; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR05MB3150; 23:VBqWFJh3RNr6ijUnpV57MOUoLjxWQWtZjA2+58+bk?= =?us-ascii?Q?0ljULP4YIBbyEfMUGBV+Ax+RiHs+swrG/IHTDABcR0DOBynCBombODItly87?= =?us-ascii?Q?J6FdZbhYfPfBt5cVcxzLuupfvv60Ua20jkdqddXIXL1CJsMDMgu4uq9KiNTo?= =?us-ascii?Q?QZv7sgfh4ppGv2J/HMNFFlxm++ewxEOZzflma/HZQVUfOS713nAkSL5kByTa?= =?us-ascii?Q?OOXXyeneggz6GwWlva4NgjEu9gPtCEh5+gw/udfv9Iy/YzrQD8Y8F8aO9AK2?= =?us-ascii?Q?tnEtCpotAasF6ZMLT19xH8NhG5gDZ+BM6Ndy2AMC0HxdquAPdfR3nekxx4j0?= =?us-ascii?Q?XbPuI1tLh4r0GpsxeM3/kveZJ+CeQui1usluaIiNJ7Jl0ewH1XjxB0cA/ntB?= =?us-ascii?Q?0b8f7hhQtmwPjEgVujO09x+F+8+h7hagnSTqCYnvo15s0Klo33jAvA0rNWRT?= =?us-ascii?Q?WUywlnA7sTP/Ddc4FqQbpwuXyj15HnxQm9KSu7WPFYoBOdTYJ+sqrQj7dmUy?= =?us-ascii?Q?n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qocHhaGMDLkXjY2u3s/KaBWE+tWKywk0C9gHIIXIMjTuyR6z3LKCv0TA2AYLQIgu/YNwwmwrGmsWhk0lPGTdwlaPnxaZJwrL3Yq4HUxW49yovBDp92halS9h8TFrV7/MrXhM/Uzx94sQxvztfmHdHyhxme4=; 5:rBzwBRqcNzSRQjFp8yK1WKSig3uvS7BZpOx0MtqbXB7C7JScjaeo0QH+PfMKZ/P0dM/hVRzvHwv5q/wnUgCLPlTKCJ5kh611EkceOd0HAMjsMhUhwyXV3L+7SICMIQAmCftagOLa8iDFS6sI8IxF1i62OJxQICtD4q7yZZvgTXo=; 24:NpSRS05NwCwZneVT3JoDhJ+hlscb5C5xWAHwIr60PBP9ua+3myS8+ZkMwTfzi326HC70aPhwd4Trfw0NoBnoRlzPoUSArjaNuIdiLmenf/c=; 7:CFWaTijeL2hAqOMYqbF0JzsLcDvAQpBpKsbtJucEvIjgmtiEZvuxawF7RFtSP4uJbPoF3Eck4/QJmqa2H+XkTVtdfeCkHq1OS7uUpPH6QBrRPnZf/Wuvg0CCeMRS+nLQE+cWPE1b0QFlxVbfE1rjsdR6y1vREBHHjemCoSChwQ0GZ/K+Qh2POxqHc+T3Dlc+93UQ7hJan3JnPtuew/1QZr4liv1CfA/05kIAouVg1IOO/v5UvYkWY7qDb2iWxk+f SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2017 09:44:53.4822 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b41746f1-fb7f-42c0-cc5b-08d54c45512b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3150 Subject: [dpdk-dev] [PATCH v3 00/10] convert testpmd to new ethdev offloads API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Dec 2017 09:44:55 -0000 This series is to convert testpmd application to the new offloads API [1]. on v3: - Remove warn prints on bad offloads configuration from application. on v2: - Splited the patchset to multiple patches to help with the review. - Removed wrong comments. - Removed redundent parenthesis. - Fixed port print parameters. - Introduced a new method to check if single port is stopped. - Cleanup for internal Tx offloads flags. [1] http://dpdk.org/ml/archives/dev/2017-October/077329.html Shahaf Shuler (10): app/testpmd: fix port configuration print app/testpmd: convert to new Ethdev Rx offloads API app/testpmd: support check of single port stop app/testpmd: convert to new Ethdev Tx offloads API app/testpmd: fix flowgen forwarding ol flags app/testpmd: cleanup internal Tx offloads flags field app/testpmd: add command line option for Tx offloads app/testpmd: remove txqflags app/testpmd: enforce offloads caps app/testpmd: fix on the flight VLAN configuration app/test-pmd/cmdline.c | 501 +++++++++++++---------- app/test-pmd/config.c | 177 +++++--- app/test-pmd/csumonly.c | 40 +- app/test-pmd/flowgen.c | 12 +- app/test-pmd/macfwd.c | 8 +- app/test-pmd/macswap.c | 8 +- app/test-pmd/parameters.c | 59 +-- app/test-pmd/testpmd.c | 52 +-- app/test-pmd/testpmd.h | 26 +- app/test-pmd/txonly.c | 8 +- doc/guides/testpmd_app_ug/run_app.rst | 17 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 - 12 files changed, 516 insertions(+), 403 deletions(-) -- 2.12.0