From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0064.outbound.protection.outlook.com [104.47.0.64]) by dpdk.org (Postfix) with ESMTP id 92E341D8E for ; Tue, 12 Dec 2017 13:53:32 +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=XsSunGoeU2x7YWQuz7ukGHNBr0r4LozRo+QtkHhfNMY=; b=W9oEjgxnYKe//SuLq0GFqp5B4e3UQXkLqDXE/Y+Ain4JpCpYz1+WwbYUAyzkdKjN4z05g4WvaJQfY6Y6eHdV7Qucoog/oZ+zOOKDUS5Hm3yjmxp23gxx5LWvQpR7Iwzgy4hTHHraXlUHsPLk+hyj3BrQC56W0qslEMjwcpQ+JL4= 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.302.9; Tue, 12 Dec 2017 12:53:29 +0000 From: Shahaf Shuler To: ferruh.yigit@intel.com, jingjing.wu@intel.com Cc: dev@dpdk.org Date: Tue, 12 Dec 2017 14:52:44 +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: DB6PR1001CA0037.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::23) To VI1PR05MB3150.eurprd05.prod.outlook.com (2603:10a6:802:1b::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e6534cb8-4bc9-4972-e3a1-08d5415f587e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603307); SRVR:VI1PR05MB3150; X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 3:27CXjzCNm0STQYACa9o+dEUlfe5HOkJc/UwfURuEHMbTlMmJhlgIZYMmwJ+v+YGzETooTtIkNIuhb8H3yDoVhOK7Nb5T4/4VaXg9E1NdQ+IN6D+1gfgCei+ETfDTXbxta8QRbUgL8sslGVKEccu5g0phG6Vj1/Piupfc4n0ndcGIdluzXzqT14MJcBGhIJvBNpQUhN7XD92XylpICg6hFVHxeOvvDH7hJ4beU2eqDo6Ig1fz4x695rN/dbrCzibi; 25:HH4ylCn+yxFYhdOtTWbckLg4cukxfVBaI73hN0wYNlPNFfNZ/+YFy298e5evxNIxvH42M411d+0ECYcMFNAjohsjlERigW+gWjEHiX9WW8I/VbiNLTbLvpIemUbIQB2kw4iSR1GApyNtV5uIvVWuC/yR6aotZQD5UXOO2mgg3gFAqOmfxzpKocOfyiGXjOFN3kP/cmDVULOoO5OUttRK+yWp4A+o1yZueLrvV8ID3rhZPgppUEjQpvy6vyRymB9Ws/LlKqxmtNMpcBV3cXs9FpdLJt7Cr8Ti2SvxX760weDPHO9041iEdBTX/ekR/GKrlE+la/l87MgYHUBePl8EwymljmpEKAMmBtFzok/CJmY=; 31:Mn2sZFp9+ybUN6rYhndSa1zpiPYv3mkNaSwgxGOfIbBXsdnXpbY9pyl2IvX3pjn69tJnnzZPBz7WOx12ppcMyq4HpoSyXSYXbmgTFeK73YJhrZSDk36SuIsLwEL4dZoIBx5ZhQWN8ew8bhM1Jstps7ztJhSp/2h/kqS7SNY3MvaaPpRg2az5lrXOCy/MAi0+rD7g4Ilgv1HjhKb6gqh7Ub7aHJo1Q0A+xCcynnz+lI8= X-MS-TrafficTypeDiagnostic: VI1PR05MB3150: X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 20:jcLuADdx0CAzzLyjSudRYw3I+c5ciz3dx3dEf3Ko54hbq0bilrDdZTDvLCvp4O1R0ElQnY4cJc7G7gbtWEnu9y4UzSZRMyamc6AePBBwVx97QBRmyRCcPIvSiCUgagOnJUUJCD5XBy48DZ1Yq6NRruibvDobzBUjz2hWhuA6Ok8Nd9RdeRfKt4HD2/NdhwF1+mC5G1NnSws94sWip2rqPQvUfgKmYOX3CksCxiRXRTiqLlYj+4dpSkWscrcDmm3OFQYesMU/wmepj4asANBhAoS2UoW6DTfiQHDBkblXCSNPLWWhfVIev/5Rju8+5AzNrooVL7uaSu34MEWd+tkr1K6i6tpcaf/i3/Y94UaPlpFWAB605gA85NubO2szo/73u37Q9GrGtCkgq93sm0j37HkWjEwMY/DkK9zzmy2oDSTqwIAH2XzQM5cW7U+ynMcRkFueACG9kiC0MiC73HnAVpGPBpj3M+fJr4Yp7YBMXT96End8/JjxNdkd4aT0SYJb; 4:SazKuP6810jct2o0MNxtmY7+jS1XS4+AqD4YLk5yjHdAecZuwh4e/eSXqSzmeDq0EA0X78rV5GflhWD4xX1ni3lC/6lvjS0CHjxG84/ZfYz24nbW00tCKCzsvGOU+hJPbq5GP1HRoHOdvUGjmADLBtC6f4x9fCtXrDngiCvxoNnzKlqx9pUa5mWiOAgouB5tzNxcKG3DarGPh+ZmjWbZvs4EKqWQUKS2mUNNVgh64YA9NVTt62V80kExgqFDvp5zNktt3Cz67WcGPyPNqjLeiw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231023)(6055026)(6041248)(20161123564025)(20161123558100)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(201708071742011); SRVR:VI1PR05MB3150; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR05MB3150; X-Forefront-PRVS: 051900244E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(346002)(376002)(199004)(189003)(6306002)(55016002)(81166006)(106356001)(7736002)(81156014)(47776003)(8676002)(305945005)(105586002)(66066001)(36756003)(4326008)(53936002)(16586007)(50466002)(48376002)(53376002)(7696005)(33026002)(69596002)(52116002)(51416003)(478600001)(5660300001)(16526018)(97736004)(21086003)(316002)(6116002)(76176011)(3846002)(50226002)(6666003)(2906002)(2950100002)(8936002)(86362001)(68736007)(25786009)(966005); 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:8GgSHdLeEjt4OpY5Pzz0V0XL8L/khCKZ646e5eWSh?= =?us-ascii?Q?GJh1L9EO316zNRC1AGn6Gec1J+C1aGsBLGh4FMy+S5BI3v4TegByVzJ0QTku?= =?us-ascii?Q?vekmQ9kVbAAhAmPp2PWHfFUL3yTXZDkXQEhgVlzZXF96I+IXcR0PLI+xuIwU?= =?us-ascii?Q?31TZw8dr58PvNu1ECxyzBa5XpBp+KuEtkjXqLqiV5uwvPWCb4iXiqdKk+YrG?= =?us-ascii?Q?pISI2EWn5QEFmMe7vJWxtzO/z1zmTWj6pWx0LgY9DDjIpXjwb16weUEv639F?= =?us-ascii?Q?anxGD3gpeGLYGxfLumBaGyjAG3LfEK9aTo1d+kx+qgpkd21+4CUmqk/cLkCj?= =?us-ascii?Q?FhgDdioHPw6uu36TMHmRY7Tq7FttUfar0sEUCKB0kkTne17pQ/nkKRePLte6?= =?us-ascii?Q?/TyKgKUTZE7PEDrvA5qb3imlOEL1xGUf5J1G7XiM5QJScZHyc40O7eNKEvUo?= =?us-ascii?Q?ahRDCJThJcvUuT/g+7t7YusyL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5CVbdkleAJ5NbseOOtdpH/+zxnzytYeoaOcfbljqLEEMnpob6u6XuJlDb9H4bDxNGBTv4TMuLvXwrXD2cemNhg3uJxjdSWBGCnk=; 5:aOjI7kPVR5d0yp9XzHXpgO2dJiG/DjmRfVBGIUKKpw2Ub60Nl5ljX0IAGGgKzpO35DaeRGw8kzktiUpVSfMTJWiPEtRSBWBlswd9bp3tdsTIqT208dtuBfO/MxSNe4dmWVcmiDFuZ25GxaES3ka8JtFVs2ZdARpCyPBvHQqnTkw=; 24:covhoEtS0Bx3HB2yF19sjbTmR6jQGC/OjqiUz8WEq4suuBN+6V95+GHDpkzH44rgHejvcVnXpRTVWQcERSlTefPL6GIwgn3WrTUuMmzCUiU=; 7:s5KJbGk+rqpAOU66qJmHqJCcDGcX+YkZDjrtHqEqGE2IoW06klXWb38OjPLHhIcnETQSrRlS+KPcWM7esQ80PwqQMf+8jUAeoTT0iv+6lSB9vLBOvpumNhVXAFZ3QvrkHPAUcNQBXaTjNq/bqu4vQEBDQDZWWbwk8YGUXTV3FB/+phumcaRSr/c/IdULISCaePMhhXJgEnjpuTRFwP9rO1VOs/Iqmflu9WKnbkwXfSxklkgg2RGHbN1uW12xTaF5 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2017 12:53:29.8796 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e6534cb8-4bc9-4972-e3a1-08d5415f587e 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 v2 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, 12 Dec 2017 12:53:32 -0000 This series is to convert testpmd application to the new offloads API [1]. 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 | 77 ++-- 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, 541 insertions(+), 403 deletions(-) -- 1.8.3.1