From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0051.outbound.protection.outlook.com [104.47.34.51]) by dpdk.org (Postfix) with ESMTP id 8FBBF1B731 for ; Mon, 9 Apr 2018 13:30:03 +0200 (CEST) Received: from BN3PR03CA0112.namprd03.prod.outlook.com (2603:10b6:400:4::30) by CY4PR03MB2517.namprd03.prod.outlook.com (2603:10b6:903:39::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Mon, 9 Apr 2018 11:30:02 +0000 Received: from BN1AFFO11FD006.protection.gbl (2a01:111:f400:7c10::135) by BN3PR03CA0112.outlook.office365.com (2603:10b6:400:4::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.653.12 via Frontend Transport; Mon, 9 Apr 2018 11:30:02 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD006.mail.protection.outlook.com (10.58.52.66) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.631.7 via Frontend Transport; Mon, 9 Apr 2018 11:30:01 +0000 Received: from sunil-OptiPlex-790.ap.freescale.net (sunil-OptiPlex-790.ap.freescale.net [10.232.132.53]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w39AR7dB012580; Mon, 9 Apr 2018 03:27:08 -0700 From: Sunil Kumar Kori To: CC: , Date: Mon, 9 Apr 2018 15:56:00 +0530 Message-ID: <20180409102602.24294-1-sunil.kori@nxp.com> X-Mailer: git-send-email 2.9.3 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131677470016618801; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39380400002)(396003)(39860400002)(346002)(376002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(8936002)(6666003)(26005)(97736004)(316002)(16586007)(50226002)(498600001)(2906002)(5660300001)(77096007)(1076002)(59450400001)(476003)(126002)(51416003)(106466001)(47776003)(68736007)(486006)(105606002)(8676002)(54906003)(53936002)(36756003)(86362001)(2351001)(104016004)(81156014)(48376002)(50466002)(81166006)(305945005)(356003)(2616005)(85426001)(336012)(4326008)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2517; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD006; 1:hWVo2LfTvMh/c2KZVxQzu1URUMNGfcpYCOu3hhAwtHtKW8sDv7AO5sjvK2F/sKR3eQHv622e05rFKGRKPAgvtjpjV/y6LKMqqgxgTRTn+m8BLMM3MZeeUf4T6ZggCMo2 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d185a531-8e06-46d5-4131-08d59e0d3bba X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603328); SRVR:CY4PR03MB2517; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2517; 3:/fseJ2IGbzm1j+7WWVnz2qCORocQaDbNEYmqJa5m5L9V217JXAyIXuPtsqgVLpzBmTGcdc6ukKJGUkcVzWq5eCbf7KxmqSws+TeE9bclpFBiF17Rd3SXh0ScSOSn/DCvsaNbwOk3rRAhEDulsKb6FUSvsvL9RmdsfhchnckgOhrCYd81aVZQifowFJVw8bumiPRHNbUFafqezUqYbr2m2UAH6S3C4jfsOTwpfJFAN3ZdeleNxXtBDrphqNQQO851IChDA24sFq43I/kpYpLs3l7CzyHA0IhRcNyrBOp1KAy6fecZloynioI5BiqUPmV4QKvUokZcfkmDstphhOFUAN8lxstoBw/4gyO9ljfW2lE=; 25:69mnSOnFSIE1dbTkjn6nZbkizg/FqLO9mJm9B8lVr4oxyzMFteQUP8izxcij1DDJZXwouI1ShUtiHt54IntyqVGP3vrRQBagX6k2tBI2+UwqDJDfVVwOy+Y9ESWgBnooYoerghpGNWTkJTqDHBCJ24d/xbC7kPaWzy0mrqok/5XJZPlsMTCasVadQwu0zRg7k/DDEC0uA7K/TOPJg2oUq867jokbCWHa83OCc9PbK15xZfca10X78ZsO2Lp1cp3MMYDVikBMpcaVsLkxevcCTOCe3FhlKR05E8ZGI4GeRG6Ve1m2uFt3yrPMszvTUPFP7vLwwOt62ALXS5XR34fW3Q== X-MS-TrafficTypeDiagnostic: CY4PR03MB2517: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2517; 31:ig5rndz4c3NIQGTpJ7WW2RFWOUkbobAYIg8uQbtiL/cORieymHMkYG130qySKCH7GBvddmasc7gjMGrw/Rs856WReaLe2dYfzkpEGwrv9VTfxthB8l9vrJN8KV1ogsAjVgh9uHvWdscWtoXOYN8T1rKNUw1h+dhLauvhhwi6c280HF3vshk0qjQ8LimXbo+SEdX5a99Whyl4iuwo1wfvCTqCYjjUx+AIYagP31XZo7Q=; 4:E4XACXjrtg9VJr6kwu/nab+bejtXrFn9wwb7uPXNBRIv4fmthnL5fwO9cVWGNXDCPKbnbBNPJVFIGuy85xHOXvwV5VKQO1BMwOQLltZLeCuid5/qJQ5QarUI/RdlA858TE1x3iF/ZyKwg9PFVk0237cFU+Gqhi5uRetfWNFengzbJMPbirnjVQPfA2JUJ6BaVOb463clFvtFPp+yWLia7YcXfsvf0yq3FlrhcxQZnBuHjkJPSKo5p4dREaEHH5Nmz9d987dyCLI+CpzSbv1CCQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(944501327)(52105095)(10201501046)(3002001)(6055026)(6096035)(20161123556025)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(20161123561025)(20161123565025)(20161123563025)(201708071742011); SRVR:CY4PR03MB2517; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2517; X-Forefront-PRVS: 0637FCE711 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2517; 23:/2M6AV9YOKUBINxFT0RigQ7xe+VAex3vTd4w7vYvv?= =?us-ascii?Q?PuJcUv7bPgUuU+Iq4dFcC/UWz9uU9vXmLTWq/DAUnRn9FebesxfMNddfFgH7?= =?us-ascii?Q?DxEv0Us4NcD3C/X3UXS3lE0isP3Krwcba5FWOI8yRwnk580NT7SI6abij/v+?= =?us-ascii?Q?Bowdj9CnPTilFPmzJQLlS5wlFFCXlVSGpsN338i7dPNN1t9GKGRjsQqveGfQ?= =?us-ascii?Q?ROf8hmBt3ILRfB4+Gg4o/DvRa5/lW2eyeuuJUbqyYmFsCAB1XaiqifLcTXCx?= =?us-ascii?Q?mMef+QFC7+d6UOSOD0Xb3Ae0Y+pwRs78ioTpT7IZBn0XlSbYqXwLJQuR8FQH?= =?us-ascii?Q?bgFtXZ1rtyg8Rpv4NvGhFY87Fln17/f4YDTYKfFMrOh4tii+JK9Y/EdWH6PN?= =?us-ascii?Q?W5MJQ6sGfZCkrWoLpWFaWbT8e4ZCDhU9RKpfIAyqUn4L6ZoX2gRqz2O9j+DE?= =?us-ascii?Q?4FdpxCN1sbLj+LzAIe3sNGoWVS3PYrgka7tyHjnKy4sWYB9WO8Y9gTrjKWHm?= =?us-ascii?Q?ynli4repbIX/E+kP3K2ogOQvce8kt6jQPXg8Wxnr1CesZh8y5gkMqoO7xYue?= =?us-ascii?Q?JwrFaBUl3kS3LqppMbTCJdoGSLnAV3pKfLMQDhraMJW9wdUbmHcuCM44mpFi?= =?us-ascii?Q?ZvC1iFbXaVQgQMsl/YYAGaNjc87mOgBIbWu5XCHZW6S8N6hhNoBANPAB3UMF?= =?us-ascii?Q?l+0u2nvadOuLa8+ipbRQSU2Eo+nN/HBIidz41GxxbeIH/LpxYmaC8Z/AWMwK?= =?us-ascii?Q?l23hX8wgnJryYztaaTccQnRfzF3lhTae0XrHIVMm0+q8XYvpNadNQiDOLu92?= =?us-ascii?Q?GSL669418drXpPSR38YjngsL5I8HcwsXTF6Q1S7dYPunhvQ47SlCcOkPoxiL?= =?us-ascii?Q?peqUNgzmVYpK7ZpYW0nfQfEtbJ3GkTVKbUd06l7UakxMEJ2dM2hJv5qNjtpe?= =?us-ascii?Q?TQyYwdJ6NVJ3kQ34adMWC8QrE+URk/5ZCI2gkRu2lrG8t0oz44083j9WzHxt?= =?us-ascii?Q?7th7UurJzmbpRTDExSTSlN/gsfi8kqCVdydaU0OFtKTOI91YCk/9DG4n3JSG?= =?us-ascii?Q?6Do+y+zKiQ6HS+ifCd8NfYn9BUJoZ2Hx3Cmz71rAVhpyDjHLohkisYZFyzer?= =?us-ascii?Q?X9Fh+L2xcpyTIp7NCHPslZGiF2WdyQ6?= X-Microsoft-Antispam-Message-Info: 1gfxdNKPPYb5kJSTZoIGXTAkSoqHsqggMPPDYTVsAeIl8SBGGNDvBI3DnGAjTkZOAbtXnY5HU9PSlsYPntyZFFG2ES/ixkkIsrwYm4eHHKrnmqqwutTVzmPNqO2myu+MibCLKSIgWybP656FjtD8NAv54eYh7Q24etA3fz5bMrXjDkHCqZXF10vPmWzG/YUx X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2517; 6:ms1cWamN56QNZhOafVkW4mSAeHquiQWREVc/zngl6rq0uTP+xkFoO3sUYPHSlFhxL5sCEMvN71ZPblz0amTXWbIhbaefqtNzzWzLLh7dbdisllHujBvkekkayjQK1rV5/1xv+raXDw65UuMDJGLd0SLedYJkgDlOXzmSuvAI1EKmiu3GFZ8/Pn0QgPwhDAZcPRZVvyhONvFhoUTYvpTHzuuT4Y0GArZ/L9GjCaLz51UBiGaPTjojjFMN7NVAlb7NasGbbqifIwYDhvUFfO2OXj6jKpLS/8CpsGwqRACqaltPqdPSgvnje1Ym5FZG37774z+LzM1EZPnaKWPrklDOZ4KpMWrsC5sNhGxOd583WHOsFo5CgvS/ddtofvu3YMgumz24w67bHhrT40MsR24jXH7RY9edZdubQJv/n9m/bTEJ6k/AfFBGSgVc62FudD5XcuB3HlFYA0NJgysQS10i6g==; 5:MPO9RG5AOaAB82XWpysYHGdRLWmCrWI30B8DJUJsG1UdW8YUyZdFdYUBS3z0q/1djwV8WyYq5FU/uFqlCo8NNGu5gZOzvhdDcTH3Rug/vVgz1aPfcRkyXq3v73G4XR9ZTujdtISCJNz72oz9G5vADk+dAdGhKBWGWBBu5a/299o=; 24:GbFIyusVmZ1/PrnBLs4/g3ZiI+zoX4TxYkyhHhUJt44D5qOO1xp0zIZFXg47JZdex7CZqAUl3eT5dGdIVhyBKkTsNVekCQhJlqHwkiyXx/g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2517; 7:jCz1hSXVdrZ8CfLY0GOyZFf0hyzKAyiYF1E6KeGhPj8M/AACO6t573X05GV6ahu7fLifD1zVYr03IS7ythkqdDEXQVQl1pJEQOGddrH0lysMFQRDPJKVzxFyIr4VA3kLxCQn4sDMRmrNrCteVRJYMLEBFSI3sL5q+rCuh8F253p4U0z0mTg4wK+0svO1WyapKlqAP+PJBQDZNBuc7GDUYQzSA5WYFMyILucO6LosB2G/ig3jr2Ex5gEFskTRpc6V X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2018 11:30:01.4902 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d185a531-8e06-46d5-4131-08d59e0d3bba X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2517 Subject: [dpdk-dev] [PATCH 0/2] Support for new Ethdev offload APIs 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: Mon, 09 Apr 2018 11:30:04 -0000 Patchset contains changes to support ethdev offload APIs for DPAA and DPAA2 drivers. Offloading support is categoriesed in following logical parts: 1. If requested offloading features is not supported then returned error. 2. If requested offloading feature is supoorted but cannot be disabled then request to disable the offload is silently discarded with a message. 3. Otherwise configuration is succesfully offloaded Sunil Kumar Kori (2): net/dpaa: Changes to support ethdev offload APIs net/dpaa2: Changes to support ethdev offload APIs drivers/net/dpaa/dpaa_ethdev.c | 46 ++++++++++++++++++++++++++--- drivers/net/dpaa2/dpaa2_ethdev.c | 63 +++++++++++++++++++++++++++++++++------- drivers/net/dpaa2/dpaa2_rxtx.c | 32 +++++++------------- 3 files changed, 105 insertions(+), 36 deletions(-) -- 2.9.3