From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0131.outbound.protection.outlook.com [104.47.33.131]) by dpdk.org (Postfix) with ESMTP id 566164CA1 for ; Mon, 23 Apr 2018 14:33:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freescale.onmicrosoft.com; s=selector1-freescale-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jE58R4oTdQStBGtzE7yRj3RXteN/HqM1uSU/FE5CMKE=; b=Ne0DtPBER5zdiS4S9uDC4gPosKM9UMt2yZ2G8Plv9qWOLZ+bW1Z5cr44UCD0pX0E5IkfjXBbS3fvlX5PVibsh9JqsD0kifGiCNiEcqhdxzUr2n6lysQagktOCMn4G11wfdRIZwha8EvGBnIoi/t8FwZ6GAeBIs9GpANEDck7S4Y= Received: from BLUPR0301CA0024.namprd03.prod.outlook.com (2a01:111:e400:5259::34) by DM5PR03MB3113.namprd03.prod.outlook.com (2603:10b6:4:3c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Mon, 23 Apr 2018 12:33:47 +0000 Received: from BY2FFO11OLC002.protection.gbl (2a01:111:f400:7c0c::121) by BLUPR0301CA0024.outlook.office365.com (2a01:111:e400:5259::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.13 via Frontend Transport; Mon, 23 Apr 2018 12:33:47 +0000 Authentication-Results: spf=fail (sender IP is 64.157.242.222) 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 64.157.242.222 as permitted sender) receiver=protection.outlook.com; client-ip=64.157.242.222; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (64.157.242.222) by BY2FFO11OLC002.mail.protection.outlook.com (10.1.15.178) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.653.14 via Frontend Transport; Mon, 23 Apr 2018 12:33:44 +0000 Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by tx30smr01.am.freescale.net (8.14.3/8.14.3) with ESMTP id w3NCXh52026397; Mon, 23 Apr 2018 05:33:43 -0700 Received: from sunil-OptiPlex-790.ap.freescale.net (sunil-OptiPlex-790.ap.freescale.net [10.232.132.53]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w3NCXfYg016265; Mon, 23 Apr 2018 05:33:42 -0700 From: Sunil Kumar Kori To: CC: , Date: Mon, 23 Apr 2018 18:03:35 +0530 Message-ID: <20180423123337.5653-1-sunil.kori@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180420104541.21987-1-sunil.kori@nxp.com> References: <20180420104541.21987-1-sunil.kori@nxp.com> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:64.157.242.222; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(396003)(39380400002)(346002)(39860400002)(376002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(9170700003)(77096007)(86362001)(53936002)(36756003)(48376002)(50466002)(2906002)(5660300001)(6666003)(6916009)(305945005)(106466001)(105606002)(47776003)(26005)(498600001)(2351001)(50226002)(59450400001)(8936002)(4326008)(16586007)(1076002)(356003)(54906003)(51416003)(85426001)(76176011)(81166006)(316002)(8676002)(476003)(8656006)(126002)(336012)(2616005)(486006)(11346002)(446003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR03MB3113; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; LANG:en; MLV:ovrnspm; MX:1; A:1; PTR:ErrorRetry; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC002; 1:LdImdCmJ6mrihRAXnM4mQrIgjsJjwjXMNPGmg4akrfqXs0m++6QxJFWsiwV92IZ+LwG7FXReiP68B9HNgLbCTopFkN8SaWPO5+Mji3oiYwlRDf3bQvvjKmFC5gcWF3N3 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(2017052603328); SRVR:DM5PR03MB3113; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3113; 3:DXsubH+ChNBHL0sC3NQDtZuJKKqAY2PHgoCqjiSMvkl2S300JGZw/lssSjhguWi5ucexYGIISkIWdjFc3/V+g0uBJ/W6eAlwiv6iLAwrBY3gcQjxtfv+6sLUuSH8497iohTfij48qkd2gpxcqhFHeuZU4/T4EIjIE43ATwOrICg81R6JjlLjeals9EX40AJmgKQPn6mvDhW2pzaDCQWjxItla1fYASoXIFKkV/99UYsEFMDSL5fMydPeQZozUqzNYVqK1eNDj59n134/d+9lKPNOh9JhrdWC7RRD6W1lGlmw/kizDAQK/5KCwy2MXBFKb5Nuvh4lhxsfz7vsXTre1xiQ+4QMaUKPGI47oNeokaM=; 25:HRf1+0k2Wnle1J+Ab6hXfdjnja4QJq81QLYuEjwXTPwNq11+dmvsF8rkIecxCGlR2hKUa4InPzztTYUJCVh/YEX22ii64mxYHvYL9Yp7lJNMkNMmDYSspSaQJS213Kw9TqsDy1nkHkf2kSXvb9H1Uw/BSG/PvcWml+7sLPPcGd2AcyhdCgtJGaZF9Lo1I9+U1wo4xUtMNN1D8/oHkWAAVUt80C/x4TcpKFNz4g/6vK1MKq5SfUGlN5vJFwy7LcvTBmd9NgAFJUHXRPO1ipgTBzZL4aOiA9JwibYjrAwpys0O9WOrmNrRdh0sA+NTj0aW8/mm313MgvKqCDYrQh/KgA== X-MS-TrafficTypeDiagnostic: DM5PR03MB3113: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3113; 31:Z09OYBZyf0pnm0OedW9Mb97kStOeSXoBqx+F3OSIeSPqPe9ghiYm0zChA/HB1JHb6cxu+/zJCFPOHlnU94HbDANQFPBAhAWMDMDxhn1FBHgIBJMJQhQVZwEIvg5SMQZW5GuKEkGFiF6iHIk2yfT9qqVHR7fIORvWDfkhuOCbPG5UflZSx5OLvDCHq8o/PGrShHjSqFsCe+GCkiuB2XlrSksxur+PJXLajx43YJwlTQ4=; 20:m5SjGQnZU8sGkPGOQgEiCUwVFuvvFPj6eIOBgJMzzWi9V/UT9B74jKvfZiUxcJDVOFyN5Q/p/wlyA7tPUzkPRcp1dZWvFd5+bv1FN1gm8P/NitTLazvwGcn4swlVZRWpcDJTS11E06ViFNVmztSf+tosgo0iMIpuNcQH6Xp8R/QG8JgLZRQ9PZ63rAyJ97eUgFSHkP8TJHWdtMnUCRHDTwLILzHUCHYQXEsujpHs/EZqhkyPABCMKxmldEVo0I/tG0tDwVwNm6Ok7ZQM4+siJSvjhaooP6ZXL0LZdqoogIuH0kDNiqw+AS8Hj+MStjOTTfE7q7RFJw5NCBLN2Tw0ZSMG/ABx0c64bOVAeJAxLV9SdvxFdbZ6DIgEJj0Ll2+2PLyDvRy7Y/E/ia9vSKiUcuuk8G74VdxaKhMEjNZRkMxgIP+K69nuwiS9Oe1yfnMshsfvoqfHBPAj1RhzOyWEHG1GQWJZCTa/yf/1+Y2sYsz76GucAb1kKYFJ2xcEjXeqqt+A/WyeFnO0QCPkTLI5UjP3OUd9umegVko/QLXGVzdxxjmhd0pSEYmxul9EkzQSwNMAkJq3sgxJIq1vuAEXd3bHgCd1Ly5a5KrJ2Tl//2o= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231232)(944501410)(52105095)(93006095)(93003095)(6055026)(6041310)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:DM5PR03MB3113; BCL:0; PCL:0; RULEID:; SRVR:DM5PR03MB3113; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3113; 4:4E7oogLo868dQt5fPCC77XNxzhR2w/38y1OV9PLkmHmT9nsk0pwbpsTeR1x78eesEfU3GukC1ek0ASLwAqc8Kpu2zvQYI1KHuSaob8iOuDU9yOKsxhZibICdFABZkyY/c9i9pUzDAXvN+qx3m8+dPZQdHwUVOy1t6bx4DpeXezO8ZCGHtWTMdVdUi6PYraNeUFWfncf19Gc5Q0abL4XMQnrU3jHLwvpBuC2AQuThkWGEpjOq1T2cf1RYKLcRqn2jW5/lZvcwl4AWpzz9op5qyg== X-Forefront-PRVS: 06515DA04B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB3113; 23:tvVXduPgebgh/1hzAM/h7mo9JIgE1VVY7Ux7+9VgW?= =?us-ascii?Q?lGeAdqvx1ctERZd9ll2/wOWUVrJ0sN7HGEIprpa7TKh8Eam8rjzIA1QVhPnj?= =?us-ascii?Q?bdwpobKQNurcyj/IFMCIeG46uSoUmcKMlK+8XelahElyrYR+G55nC7YDZVv5?= =?us-ascii?Q?D6aEh9fabvEhIhIZYIiQSc7ecNxj1jk8x3vlwByRw8+j8vciZ7zXvVV1yLfd?= =?us-ascii?Q?fttKyZXDyJau1X1JhWvvAXRDt9E9OGfiRllWt6QPVQNWEy5UbCZu2jWaITgf?= =?us-ascii?Q?QilnoY+5JIU+ISv05PL0O4bKV+/8M+4CiqWxc8YSyd171pwnUED8aJZ6N0Zy?= =?us-ascii?Q?bdSh9SA8sdHzt01Yaoa5mFie9zjl+2iOSKaKe5cSA/vMZKdl+fLMWN77N2c0?= =?us-ascii?Q?qyoWIHZrcdJ7IzwvPQqR0aH4pSmj62+1BEAGjPovfLqjQgWcJOxc3GnbS5ZM?= =?us-ascii?Q?4YbKBsRxWkk+TbbsfwJ2taS3rVjQ+7/ap/3oXP4NDizYsiDBVsVHTIw+wncN?= =?us-ascii?Q?SGvm9ycIYuZrlobKhgmrLlFqKHIQqiRFGvwMXWd5CQrrH/OBHEL0eNU1frcG?= =?us-ascii?Q?K3HqK7TArFjN5KNmCYrkunluZu+lKhCctKl/4Caa5/v+TzdCazLdq1zkbfUw?= =?us-ascii?Q?Fz5cLR8VPCfAKWMXVN0TnhS4KXZe+phaopwUPdva6rFJaa67J+l2rejtxZPd?= =?us-ascii?Q?8s18oQBxM0u/2cxbjv1njP5ue+m9CnF+IbuT4fHj0sk4MxTdVZO++H7nnutQ?= =?us-ascii?Q?PmxhZhi35m5DJbMGPdQ0SU7SbreIE7zh/ulFAzzdtbKPfsqluJZgDgTxzY9H?= =?us-ascii?Q?M3DUMjrpZy0ZB2QoYN6k10HDHGgmJubFGykuffUGfJJpjfa9MxIghsEaXSTp?= =?us-ascii?Q?ryNUHDGa5110gAPgcz3Eq5LrW4dOjTT0xyoCD3ELHE9n3xHlxzG0QA/XEii8?= =?us-ascii?Q?weUwXFCnENdENBQw6dS7PWCwnl7Z6aN5ReracRiMOOPVCu0L4Yg1gI1qF8Fl?= =?us-ascii?Q?71tJ+i8KUDS2u9k7sR1zJxmo0HTbStBJPKujzbX09+4kFmQYyTrvTIj0Kxt0?= =?us-ascii?Q?VD8LnN+PZQkwmuGPvp1KxCTNermPHelKdSur20nVGmrC28ndQyQI4o7IpWLC?= =?us-ascii?Q?GaKnrIRkgbAulak2auXIjLrYzs4TrLh4Bl4aX7fNOAJ4QcwsDuiUg=3D=3D?= X-Microsoft-Antispam-Message-Info: FAaZ5L0vySYcyN8dSz8aVZsjncgzBkYAELph61gSsXZl2Ydy2GDcGVRb84xrREYzi51TboYUs014TlXWpk6jEbdpUcBcQCr6gQsihIKgO6if+hU5MasLcCa3o8Z7Stidy6YT2CIVTc6Xmq/S774dz/I0A77Lkdd7UV42eX0rGb7zWhbRCObE/WcRy0oe3AXm X-Microsoft-Exchange-Diagnostics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YPhEzCUYol/Lb0kxA7Rgvy/InCHV7A9IkaY X-MS-Office365-Filtering-Correlation-Id: fc44ab55-c9aa-4584-ba2b-08d5a916751f X-OriginatorOrg: freescale.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2018 12:33:44.9545 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc44ab55-c9aa-4584-ba2b-08d5a916751f X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[64.157.242.222]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB3113 Subject: [dpdk-dev] [PATCH v2 0/2] Non-supported offloads are ignored 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, 23 Apr 2018 12:33:52 -0000 Currently DPAA/DPAA2 driver returns error if non-supported offloads (Rx or Tx) are requested from user which causes init failures in multiple application. Some offloads may be enabled by default in many hardware and cannot be disabled. These offloads cannot be part of capability as toggling is not allowed (Like CRC STRIP). Thus DPAA/DPAA2 driver will ignore such offloads and rather print warning message. Change History: [v2] Incorporated review comments Sunil Kumar Kori (2): net/dpaa: non supported offloads are ignored with warning net/dpaa2: non supported offloads are ignored with warning drivers/net/dpaa/dpaa_ethdev.c | 34 +++++++++++++++++++++++++++------- drivers/net/dpaa2/dpaa2_ethdev.c | 37 +++++++++++++++++++++++++++++-------- 2 files changed, 56 insertions(+), 15 deletions(-) -- 2.9.3