From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr60057.outbound.protection.outlook.com [40.107.6.57]) by dpdk.org (Postfix) with ESMTP id 4F0F21B233 for ; Tue, 26 Dec 2017 10:24:13 +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=Rn1L4c/OYBBDdbRVCXZYfwK4jj/QMmF5JMggCoDHGQI=; b=S8AYs9+s6vDb2IomcMqszPIuJoISoEW190kbpOxmUg1xXfp4L353D97pAfhxJE+aVn0f9hKeYl/CtlZSrU8R4OfWCFLwHOMSouBzZwDB9hGWUA2Hw/JrR00HKAdsmypKBhj4YYxRaUmiwp2Z7JR+1YUyson1V3y6IVPVDVHy/bY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; Received: from mellanox.com (82.166.227.17) by HE1PR05MB3148.eurprd05.prod.outlook.com (2603:10a6:7:36::18) 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:24:11 +0000 From: Shahaf Shuler To: dev@dpdk.org Date: Tue, 26 Dec 2017 11:22:59 +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: AM5PR0102CA0023.eurprd01.prod.exchangelabs.com (2603:10a6:206::36) To HE1PR05MB3148.eurprd05.prod.outlook.com (2603:10a6:7:36::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3109c5ee-230f-4c91-7806-08d54c426ccf 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:HE1PR05MB3148; X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB3148; 3:IBPMYEl7PVz21e0/Q964PC4jIy4LM71eK9e3POXOUkbc0ufe+twb//fZH0Zq7JMnyW262AeFdSeanRqy5O/+D1p/Wc+ppu4WrAYcRi5MPoAuhE4oLPhShpCd25DTs9EGMGiXhACh/t2CUVKhkzCeRdQjJ3KeRkJcdJQZsqHg5Q++HBYwbpn+Qlc+jyJurkYIcDb1xj49SSFVJoywHBpBxpC3aYF7Axr9Jj9qKd19RT/H+cUweBfEcGw9PtcBmQgj; 25:Ar/LEGnTpbeqk1ef44DC26BPo6JlBf3+1/E/ENGq6cMig0tIWIrEr278HsT3OLns1KQ7ixWNehXnBkkikfR7fr1Ne1argMPho4HZfzRU9h7ELn+bTnfKpuLI4FjQ0VDWH4x/M1S1OpZtRXuoiaTk2Xk4dTBY022DYv5zF7Ljns/0XsXu4vzeIc1zu70oANq790623SkyzjmqLWMqPOZtYJ51kbhLFCHtVjaoLIasOzZpes/cF3PEJVdRwOPeoLpRrOQRX7OIuVa/6UnJ9d+oVT8QcZMnuy6JrqTwJtW9BPPXkCHM4If7mZhc2iW1giFIgwl3LF2sV+/PV0B76HOnfg==; 31:8k8/v8mtsfZJm1SytXHUx+z2ZQ84Sr8iZOCp9TWYpHul/ICFH9nFm7cFX3uZayJPXHTYAqxbyabeKCnjkCh69HDokYjk6iUv2ldHCYAm2/bI5wQBB2NUKtOiB0s0BaxIXIkozMZl8x0CRmEgO2pkIp+3uYAFT+oNGp/0S+MbEmA7zy1tsb1TXDOLbxhknfyX7ZpQSExbYlx9/svJkE2E1QkfIpJXuskpVXBJhKqfu6w= X-MS-TrafficTypeDiagnostic: HE1PR05MB3148: X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB3148; 20:aH2P6eUro0+yMRfYP5naD8Flq/icOi4+SVJgzJroAFiUDiLSWk9xeTLvGU/kMduQXmUCYnxb8xEwTy879IVi4S6h5y+hr4LWi+Co4xn8Cy21SPqDNYpHIK48mBFmnDYkNFkMta4gJd/yDX5jLZr/Y+OWf/gyOy+FBVFoLegFsmHnki53liEHeJuWrzTkz0kWc445hos/x+cyk7NSpGD4yJS6canKsfcbNoyRDpjYiUEJL1bQd10bLs0025lebCoP9mM2Jq379eKid0Npq+FMqMDVEKZ+GRb/XgyuUiK7u3b8Mn+CJFCjA94yExGXJ0lPXsq8foqZE8PPbmYX3B7NHiAzbX51aRgmkW6iPxblyI4427C3sEfv3oJ15zbBdILohzb9Jkf+plEjr3FK/ErNgJY/yWfoycCFldmiejmPq7uMwmUAWakB7vnetmzDWz60xdlWjC7F50UZdSV7PV9zkv1AoYknqbQ+ioRf1qiU1NYJN6iN4WiK9R30m6MtxRtU; 4:DYufZ4w1j/1P2x6XPFzykKD5hDnso+NDebiyosvOP6hNi0F+m7Q1Q0HyWXoN+vB4sfa/UO/sxt0FmRR3ks6wYS9U4RVJEL5ML3RWUsnWwhmavvEdSVE4lL16VOMPo+xjOqu5bADaPvRXUw7QIcc8DV8cib5oqXRFpzf8x5mAotCogcQTPQyPkncCVUHQeacrFRNsagL2mL+HFJCZGp5ru3sKvc494tr5SPltV7EfsMnmJ3DY3mEWP2YG1ZeiSY/+QYxd85zA+kgiMQMhMh7AwgtFnOZT36qbmzBToC3aijEcuaEoNctWDhiTQc7tXLAE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231023)(944501075)(10201501046)(3002001)(6055026)(6041268)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR05MB3148; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:HE1PR05MB3148; X-Forefront-PRVS: 053315510E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(366004)(39860400002)(39380400002)(376002)(396003)(189003)(199004)(316002)(6666003)(6306002)(55016002)(105586002)(478600001)(106356001)(69596002)(16586007)(51416003)(7736002)(48376002)(76176011)(52116002)(305945005)(50466002)(966005)(7696005)(2361001)(2351001)(33026002)(8936002)(25786009)(5660300001)(50226002)(66066001)(47776003)(21086003)(16526018)(53376002)(36756003)(6916009)(86362001)(386003)(59450400001)(2906002)(97736004)(53936002)(68736007)(2950100002)(81156014)(81166006)(3846002)(6116002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR05MB3148; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; HE1PR05MB3148; 23:3wvntNn8MY3qu0VS4SU5SyKWJbm+IlyZQJAUWdEnm?= =?us-ascii?Q?v2cwRbYbSn/dM8xCKpIccISSKUjbjukJK+7BgVp+mM4AyMGRa4dcdWsImZ7N?= =?us-ascii?Q?GdK/GJZ+mgEVZYD5wKFNWDtPctjqHwHEid02L+EASSPWVuZBlNN2I44psTW3?= =?us-ascii?Q?AViYphUQuvIyO/NDrzjmWaSf0ibc96hfET/024EU4QYesyoEjPlOnc80eeuG?= =?us-ascii?Q?+hVep47Maj+7kORVCxEwFrs961t+QES6ZS50Q/ERzomSqMPpBH64cc80Miec?= =?us-ascii?Q?X2HQIbytcGJbLDxD99F+UaP5MP7mcjm34lpeTztzttmoa/Z7vOB3SN6E4cHq?= =?us-ascii?Q?5OXbVh5dRLIO7Nm9WLj/eLrwD6frXdXzOdNVscV+sJWkiYorTcRDoEM89H8e?= =?us-ascii?Q?fWEdntHbwdAg9wt3BO7f+KgPcPWjF/yX+iN4CPdZJPwQzOrGZtXvq0dY2Qea?= =?us-ascii?Q?08bnEpcVxKUxzjxDSE8HWJmTY9Z46NUOER8jixH82t6vweybFFrYEkp+lpo8?=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iN2j5MsRLb2qsyFlgCryFqH/Afr4DY2PsTO4DrOByHAogN4Jk4ev2XhrMFtvCC8UjwWiLk2vqbQLtKfULDtflyuOUV/tUfXey7ajHAUWJVke8eDsaGJeYWutA2J4SCblkJBrys2MtVUSlkWY7jgzx3zU1jc2Sq3Rm4OycLYx7G053OQcVmDBTf64QoMPd8yRWICHnKBWKcKQ624TFN6g3rFz4K5KDNxo=; 5:A4emt3Aax54kooBI0N4Chdj/ZBkZZBmZPzjjsDnWNwUDPejMd8musylIqK7nUPXH6jYTWN6rYPWutVxjv34QsR2lD78yKhzFRg/rIbR2mezmt+du+vEkbONF0IpAq8Ut9rMRZodky8W9bD2EseeCl52rE1+k2ShhHUBLGcx02vg=; 24:Zh9J4SL/xmMHbZ5FVVe+ODMRLLvyPdBbRCxtRoTamJf4A91DFhHF6lwKZB3tbK5aDEx+7cG/MY9dkP0gBpuYq+xhuDAzipEzowqF6two7zs=; 7:wixnHEOEzOmHR/XIe6hSLuS4zWqrkjDBwxG7FyGRcrZ4IwxDm9Bv/Vv7gcqvR0vONtdh17I5/hBfb+pF30AEgWCSc6ZurTlQbdDpIpKyFUFf6Q3EVH3vp9ptWP6rHFMmj/d+axOsI8QxHc4Wx08yN0uGkNOWtAejPKxv/99AYnXYCRupdFwAWNt7fGfYpdtGx81kLBHdnUPGBOy8PXW6fmu9OUb6ZPewaVuzQ4OEfifyxSWyvEEMmz+BcUqJMdpu SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2017 09:24:11.6756 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3109c5ee-230f-4c91-7806-08d54c426ccf X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR05MB3148 Subject: [dpdk-dev] [PATCH v3 00/39] convert examples 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:24:13 -0000 This series is to convert DPDK examples to the new offloads API [1]. on v3: - Set DEV_TX_OFFLOAD_MBUF_FAST_FREE only if device supports. - Remove error prints from application. - Fix configuration of mutiple ports without override the global port config. on v2: - Add DEV_TX_OFFLOAD_MBUF_FAST_FREE offload of entitled examples. - Instead of masking the un-supported offloads print a warning and let the PMD to fail the configuration. [1] http://dpdk.org/ml/archives/dev/2017-October/077329.html Shahaf Shuler (39): examples/l2fwd: convert to new ethdev offloads API examples/l2fwd-crypto: convert to new ethdev offloads API examples/l2fwd-jobstats: convert to new ethdev offloads API examples/l2fwd-keepalive: convert to new ethdev offloads API examples/l3fwd: convert to ethdev offloads API examples/l3fwd-acl: convert to new ethdev offloads API examples/l3fwd-power: convert to new ethdev offloads API examples/l3fwd-vf: convert to new ethdev offloads API examples/bond: convert to new ethdev offloads API examples/exception_path: convert to new ethdev offloads API examples/kni: convert to new ethdev offloads API examples/ip_fragmentation: convert to new offloads API examples/ip_pipeline: convert to new ethdev offloads API examples/ip_reassembly: convert to new ethdev offloads API examples/ipsec-secgw: convert to new ethdev offloads API examples/ipv4_multicast: convert to new ethdev offloads API examples/link_status_interrupt: convert to new offloads API examples/load_balancer: convert to new ethdev offloads API examples/multi_process: convert to new ethdev offloads API examples/netmap_compat: convert to new ethdev offloads API examples/performance-thread: convert to new offloads API examples/qos_meter: convert to new ethdev offloads API examples/qos_sched: convert to new ethdev offloads API examples/quota_watermark: convert to new ethdev offloads API examples/tep_termination: convert to new ethdev offloads API examples/vhost: convert to new ethdev offloads API examples/vmdq: convert to new ethdev offloads API examples/vmdq_dcb: convert to new ethdev offloads API examples/vm_power_manager: convert to new offloads API examples/distributor: convert to new ethdev offloads API examples/ethtool: convert to new ethdev offloads API examples/eventdev_pipeline: convert to new offloads API examples/flow_classify: convert to new ethdev offloads API examples/flow_filtering: convert to new ethdev offloads API examples/packet_ordering: convert to new ethdev offloads API examples/ptpclient: convert to new ethdev offloads API examples/rxtx_callbacks: convert to new ethdev offloads API examples/server_node_efd: convert to new ethdev offloads API examples/skeleton: convert to new ethdev offloads API examples/bond/main.c | 48 ++++++++++++++----- examples/distributor/main.c | 13 ++++- examples/ethtool/ethtool-app/main.c | 7 ++- examples/eventdev_pipeline_sw_pmd/main.c | 15 +++++- examples/exception_path/main.c | 28 +++++++---- examples/flow_classify/flow_classify.c | 17 ++++++- examples/flow_filtering/main.c | 19 ++++---- examples/ip_fragmentation/main.c | 31 ++++++++---- examples/ip_pipeline/config_parse.c | 13 ++--- examples/ip_pipeline/init.c | 15 ++++-- examples/ip_reassembly/main.c | 31 ++++++++---- examples/ipsec-secgw/ipsec-secgw.c | 26 ++++++---- examples/ipv4_multicast/main.c | 27 +++++++---- examples/kni/main.c | 50 ++++++++++++++++---- examples/l2fwd-crypto/main.c | 28 +++++++---- examples/l2fwd-jobstats/main.c | 29 ++++++++---- examples/l2fwd-keepalive/main.c | 29 ++++++++---- examples/l2fwd/main.c | 28 +++++++---- examples/l3fwd-acl/main.c | 36 ++++++++++---- examples/l3fwd-power/main.c | 42 ++++++++++------ examples/l3fwd-vf/main.c | 35 ++++++++++---- examples/l3fwd/main.c | 36 +++++++++----- examples/link_status_interrupt/main.c | 28 +++++++---- examples/load_balancer/init.c | 27 +++++++---- examples/multi_process/l2fwd_fork/main.c | 26 ++++++---- examples/multi_process/symmetric_mp/main.c | 22 ++++++--- examples/netmap_compat/bridge/bridge.c | 7 +-- examples/netmap_compat/lib/compat_netmap.c | 16 ++++++- examples/packet_ordering/main.c | 18 ++++++- examples/performance-thread/l3fwd-thread/main.c | 37 ++++++++++----- examples/ptpclient/ptpclient.c | 14 ++++-- examples/qos_meter/main.c | 38 +++++++++++---- examples/qos_sched/init.c | 21 ++++---- examples/quota_watermark/qw/init.c | 28 +++++++---- examples/rxtx_callbacks/main.c | 17 ++++++- examples/server_node_efd/server/init.c | 19 ++++++-- examples/skeleton/basicfwd.c | 17 ++++++- examples/tep_termination/vxlan_setup.c | 29 ++++++++---- examples/vhost/main.c | 29 +++++++----- examples/vm_power_manager/main.c | 17 ++++++- examples/vmdq/main.c | 17 ++++--- examples/vmdq_dcb/main.c | 15 ++++-- 42 files changed, 741 insertions(+), 304 deletions(-) -- 2.12.0