From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0078.outbound.protection.outlook.com [104.47.2.78]) by dpdk.org (Postfix) with ESMTP id 31FFA1B16B for ; Wed, 10 Jan 2018 10:09: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=txUvMAlAqz3C/0RstaIcsdKb5mznwyq8Hm+sAnzQ6c0=; b=pVi65xMjcxhHQTA80MWrOg8aqO+DdKWb1PoaurNGZqR5/kptwPHRkS/+ctxqwbG0tA67Iz0rR/WafzlIWI9a+y3IwWN4WC9Uua/epnyLgrr7GudvSMbDxQLd+K8yreeUm5SwFgBujP6BLMBv87gp6eSf0e7hD88qOGuXCInDPjs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; Received: from mellanox.com (82.166.227.17) by AM4PR05MB3137.eurprd05.prod.outlook.com (2603:10a6:205:3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Wed, 10 Jan 2018 09:09:53 +0000 From: Shahaf Shuler To: jingjing.wu@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com Cc: dev@dpdk.org Date: Wed, 10 Jan 2018 11:09:08 +0200 Message-Id: X-Mailer: git-send-email 2.12.0 In-Reply-To: <20171123120804.143897-1-shahafs@mellanox.com> References: <20171123120804.143897-1-shahafs@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [82.166.227.17] X-ClientProxiedBy: VI1PR0202CA0030.eurprd02.prod.outlook.com (2603:10a6:803:14::43) To AM4PR05MB3137.eurprd05.prod.outlook.com (2603:10a6:205:3::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0b75aec5-b120-4174-9a27-08d55809e99b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM4PR05MB3137; X-Microsoft-Exchange-Diagnostics: 1; AM4PR05MB3137; 3:qk6VW//J3ZdW2aag1k6puP2qpl4cZYoX7/ESA4rQ9yVKMh8u/Y2th1ShUMGAr45pCw8Hsa9Qk+dZmkSh6auKDD5XmpOXjsmdPsmdBiJ/QBpazXmjEp+r44aAIN2fzljfo0VsSjP/i4vklOFDdNT8WoymuLBzFR+AyNfTwsldZXG2F6W5SBrheUe8ZfXBnY97LNnBH1f91x41PTfj9iKs3t4Mg54vqOywUpLjn/On58Kyb67BdIGSnZ9Nbd5eRTaH; 25:6LQyf38qL7B2XP0OK9JByB2g/9ebMYlslFSNuoJG0/PuGCe2Jkfy2Fa0D3i4voBR4o17XHvIF6ddzio853IG2pUHS5/wcQ3Pq/rSDxiCVH9kGTmI4dG49NumEoLyDaAbq2zR9IZL44XyNDSc06p9KVOMfYYyrgMmLDnZhBaToUFX7/fngd+mT2NWMCmHU9ELVan+BHu15UfzjJZzV2mLXjVCeuN6aHoQv2CeVwQmH3EULSariQQGN/R30YV6Yy+my03Fjrlhu1SBzZAjPl4P+xv5kLhU3WCd6Hr+l5v9ZiUdB0V5JM1Zh7XBEjR+kCwFS2eTzYcWYh7uapccTm6AOg==; 31:9xdYrjVlwnnxtCGwAH9H2qWKwKdTaSQSYLOvOFzmAG24vGk+8NMC0HQe9CuCOrD9DtQqpvIKBSv9OTvdUQhT3EgphkEF6q6eoifSHBN54af5rrr5zlq+28qDhjt+hmABc30bEpxoAf8D/5Gz5rcp3nDkqqLcqGyNnoNTPEVHTlOm9NC+99pZY48KrJZv9Y3YH9H89QLycaRyFFyibkay0E9ksah0quqtbo9IYevHzNQ= X-MS-TrafficTypeDiagnostic: AM4PR05MB3137: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; AM4PR05MB3137; 20:jNJ87bVpaY1Ygqfsu9Z631JOQngnZlutt6cfoh/ZK7CnhFYMWBumrs1i1/A8jwYa0IIwEXke9GUZz9jQm4oquLbSTffUcH68VJdpCbHWZGkl1q8LCiMNl5v8VvSsiORbLN3vPNeYcCWSvGdxHDdtfZP2VDaa9MDcfMG0V6LLZXPYg8cQlzQC9mprbeEPUM3lX9qr+Oj8bfqAdbTjrHAnuCZtwbbqr9gJbGmNwW/3rnL9NK+4jvpEwxwe3rP92hBGR8KIkSUAKaO+97465GgiTSE2qZX+dzsF4I6wYgVQEh5GAsbZXeHOzPbxC53cPrufKR8c2As8u5nLYhecrVjG6lXDHF+ZegxQKLzhJf6iUTDnJ3/xKAyVok8zpHIHEAyqTfNKDqHuAhVrRZjRGkfd+0ksK/6ldlK34Ws8/50U5p/uFqkDScAXxSJCAAOXJWOjKkwaiEOZNHjK9dRAEAiHnq+JBZPF9Gf3QkBFZPlUK5B3aUzP9ipL4p7zCbh1pMXF; 4:r59GvtnJlhpFDozBJV5x+2cd/L6dZSaSGx53pfDhmfuAFcP3cCxjeG6oK8s9xY1r8p6zDvEPTnPhTGFwWZh+XtPCSMtR3ci+p4GUYXN5nrhslytWEfMEGF1Yv+Qctrbrc5u5rcJHdoa1YwXrxntwxILbfca5n47dn9ztG5iHMb9O3KGbPbJlPi6jb8W2bdxwaug0Giosrzf5BAoqw3kEJTwMNNLlrZ1gTLBGnPBsJJ5HAuJaljNyvV4NCXdZyyNFbRJ3dakziHLOWmeZA7ARtw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231023)(944501075)(6055026)(6041268)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM4PR05MB3137; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:AM4PR05MB3137; X-Forefront-PRVS: 0548586081 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(396003)(366004)(39380400002)(346002)(199004)(189003)(6666003)(478600001)(2950100002)(5660300001)(8936002)(50226002)(8676002)(81156014)(68736007)(86362001)(81166006)(305945005)(7736002)(6306002)(55016002)(2906002)(21086003)(6116002)(3846002)(106356001)(105586002)(316002)(50466002)(69596002)(386003)(53376002)(16586007)(36756003)(4743002)(4326008)(52116002)(76176011)(51416003)(7696005)(97736004)(966005)(16526018)(47776003)(53936002)(25786009)(48376002)(33026002)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3137; 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; AM4PR05MB3137; 23:ylgbtxTU6x6tK+D3DmErcdBKXNB4e4NnZKndzTql3?= =?us-ascii?Q?vmsDy+x8PC8QRRVZa8Vgtzmx/UQq4Em4gi6U3VEvump+bMDGv9TVAB1MYNGa?= =?us-ascii?Q?2cA+JNc0XJc6VxL6C8l2SagJurSMeqzGA9U7xC2513p7nXOsKdtFWnsbjF3c?= =?us-ascii?Q?ySmhU5V7Hb6eVUvA7osomsltKV61Jt/Go8QtxJP9oSEH2s0XsOpLZAUWcvxC?= =?us-ascii?Q?npVfCwL4fDYuHq+aBpAQuBqpy1LFwF2/yPGUDhdAOzm3IiZrsk4pQasGBib1?= =?us-ascii?Q?DfqmnK/prXqTb62VWlYzCfIPfjEpyoj/vbfihfSsYkUBPkZtvk+FyAZzUrD1?= =?us-ascii?Q?+6hUKaO+wm2UJPNKXglB/SkS+Ib14Rp3DZPOVVD7MNKn0ofEMWiVaGeL+q+Y?= =?us-ascii?Q?rNW8gIB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2ub7huqykH50PfOfOZlpxFBw9rjCElc0S032qbAPTOrPdPMdWwWCQ2erl2JcFw4ehGyJT079ALFpK1uCoCGstSC0QTr2dK5+TLv6dWcxuwqA4LsVOD6DDQWnyoziIF4m7JPzlHRSwsWHKVwo3JNxSley/JZLQ29nBMmTXnMzbBxs6m7m6n6ELFI3VihKHMdnB/8bDxPoTTxCGCBeUNZvBMyaOUIPBni66jaeLdXlStbGsCmeTF+VmBQdkuPCocTDaRwIOhczVvihI4hLq8Vb86byczit6IUefF514=; 5:zl3DgSZ2tlUCVRmjoXhQFUWte7y5/AXnEQ9et7GeamqLth+dGJfMkBPloMb9ByuwJBo1NSr1GMjLsBfTV0fGfo9j3VFlA4T2dW2i+CmUCP/oyKOMwm9EMiwHiwDuwQ+EDpysUTmsWxeBgPkrG0GwMmHm6rHKSdc3LafUrO0MeUM=; 24:eCpBYqXdzHHgl0Ydm7RySHJM43x2FBifBCQutv56lR0pjSzmuDJgjuG7SH+RZ7xM2oZJthUzspxgD8Tq5GHGQkTW1QvT3JNi78VBfv4LE64=; 7:6Bes8AV3rBExX5I2FDLT61vTeoGBVNwQADUfNMiNDERK2u8H64LrXDQxdiyOSS8iQmnbITxEgI9L9cq+N96GHS9aB1kReZabamdypz99E7aKOTOpVINa2aWoN/6Rw7IPBhIQoiqSE3KyBPYTrM+WoiYRgpfHxFBk+Gr19Gl031Thx9qPr4SiojGGH8nL7iZ1D9MPzTKen0/2P7+GcENOTE0SLphSSKDvHzw5/Jtukq6fpKn+Vcnx1qCR0s1Wcu2+ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2018 09:09:53.2375 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0b75aec5-b120-4174-9a27-08d55809e99b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3137 Subject: [dpdk-dev] [PATCH v4 00/11] 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: Wed, 10 Jan 2018 09:09:55 -0000 This series is to convert testpmd application to the new offloads API [1]. on v4: - Enable FAST_FREE Tx offload by default if device supports. - Fix commit log for the VLAN configuration patch. 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 (11): 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: adjust on the flight VLAN configuration app/testpmd: enable fast free Tx offload by default 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 | 58 +-- 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, 522 insertions(+), 403 deletions(-) -- 2.12.0