From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0121.outbound.protection.outlook.com [104.47.40.121]) by dpdk.org (Postfix) with ESMTP id 1FD47A49F for ; Fri, 20 Apr 2018 12:45:54 +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=DOLG2FH4TigJpWTRd2fhpDcFg7czJSQhbaaLDaMZNuM=; b=ZxMoVxEGWukQOzj0FviLw92/YId27pfncSw1ED4aHMmoDj0T4U6TXiZVhy1hWjfVQpgPJCrxyBigKQOkyBzFUOCI4kgVGk+X2Pt22SMvuhLoriwTpzZNIyEUH4K8zVM6y5W5nTkMGOjvez0LkVYfojNAEHBbmdfNvNdZxWyGRVU= Received: from DM5PR03CA0029.namprd03.prod.outlook.com (2603:10b6:4:3b::18) by BLUPR03MB392.namprd03.prod.outlook.com (2a01:111:e400:884::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Fri, 20 Apr 2018 10:45:50 +0000 Received: from BN1BFFO11FD028.protection.gbl (2a01:111:f400:7c10::1:150) by DM5PR03CA0029.outlook.office365.com (2603:10b6:4:3b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.13 via Frontend Transport; Fri, 20 Apr 2018 10:45:50 +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 BN1BFFO11FD028.mail.protection.outlook.com (10.58.144.91) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.653.14 via Frontend Transport; Fri, 20 Apr 2018 10:45:48 +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 w3KAjlSb005034; Fri, 20 Apr 2018 03:45:47 -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 w3KAjhh4022629; Fri, 20 Apr 2018 03:45:46 -0700 From: Sunil Kumar Kori To: CC: , , Date: Fri, 20 Apr 2018 16:15:40 +0530 Message-ID: <20180420104541.21987-2-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)(346002)(376002)(396003)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(9170700003)(11346002)(76176011)(54906003)(2906002)(50466002)(16586007)(48376002)(316002)(356003)(105606002)(5660300001)(81166006)(8936002)(50226002)(77096007)(2351001)(51416003)(498600001)(47776003)(2616005)(86362001)(336012)(36756003)(476003)(26005)(8676002)(486006)(85426001)(6666003)(305945005)(4326008)(446003)(53936002)(8656006)(106466001)(6916009)(126002)(1076002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB392; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; LANG:en; MLV:ovrnspm; MX:1; A:1; PTR:ErrorRetry; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD028; 1:t9mBGRUIlwfo1W8u78QvqNyBurhE0+z4ZT7XCL5UXmhPJxQaRxLIJ8i1Csqj5S1WvPQQp3Yx4T1GXPwkhvpkEHbBlvIBFvsfBzAQaPL0CyqyZgLws2jMF9T/MG8jY6Hy 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)(8559017)(2017052603328); SRVR:BLUPR03MB392; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB392; 3:vzLhcn+GrxEsOZf560Xyb87NcgYrfIWwhg1zl4xqNs9vRWj56oYzJa/nn8B9sltlO7OgurnMx3y3P8rCS+bhLN+Riwq8XuizVtYpJ1W1Tt70tfUiJ4IMbWfaWxAoWuR3pDxvf1n6/9UPEbcVpK7LwquVl7L1H5P82zdPQ7aN2YN+TelcuhL2kpJ7y7zlOG2KWSB3fmwIHhGqa4VOGI1kOSrGb42xKlSSmnH41b+PIOBhzlgl0IcUHjAaICzY3YhxamKWzIERuOJ628fE1HwT4hqPcWx/JdHpmASF6jUpvOLcgrHERIGkMOvffQJsTT4R406dwEK6KvUGE30p58om1jF7J3scf7qxOF8H+nTxbe0=; 25:OfYwbWzZFhVOMNiXy+keJEwlzocjV2okghItsxI4M9GdgtIARQZ6orbtrlePhZ18IA82PUi/pxzGANNthWmbz9SRPL8VDpxv5nDfFEIv8IOPSPxGeOQTHY0hySfKu0Jw3Lc5zklmCsDntAGDRYU3Fihtq7igEXq7ea3jfWfoeXhJ1IPHTZuoUyY0hsUdWLci+ZXXEQkQiggyfwPyxBwc6HFWnjOQ0V50W97YnBDro5M32YenO0AJK2NsJLvMw1Z+AAGa80iIml6zgyZ6r6m86xfHRGy326oUvOD1yxmYhqlnr2Nvu/gPLl1sT3nuDxFIo30JXPgRrqL9pQxnqEVEWbcyaBK4s6Uqi0m146uP5XA= X-MS-TrafficTypeDiagnostic: BLUPR03MB392: X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB392; 31:GgxgmSOVRq5uVdKP4crJWXHsdIGyKp2p3fXTR191+/jsTtu/Zh39ZzWJq6e6yrG3WlSnm6vOj9j3n3+OGTTV7o8qL1Hs6bVAtt6e3a55bmENTtLXt0qSYSXX5P+lbQfnAhbCs753hwRdQUi5ga2BIekIxJ+hEyVWrjJ4r8r84y54EglJU27iMZ+BL3oIIOPgORTNc+cPrFFOOCuf3d3Q6n32czUd0l1JThkP7Uaale0=; 20:ep0IzP+d2vKcz8DsMD9RBaLMSDQG9mofmIRB9nmOuev+CfNZEsbhnExXPPqerMg91C8awB73I3HnrDV1AOPBQX/+WF7s2JKH2EbAQwK/exPcOOuCsXojpMeLquLqYO3oAuGMnRJA3UKxi02rmbgtuIK2Iq5HuwZO40/Gz/R4nJ7MyCGqiY8/8aRgu06Gzp7SV0SN67RbROyoRK/SJjQEQEQCidDrhmvxI6gYWM97aPhASCvq4T8iNq/EEX+hz2cnbLaDB9BkU2Uw80NwPXN6Z5gGypPigaO8D7R+/cNWVNz1AXg+we7viQnWzfmZCB4Ur2Rfoml7OAJ2gfhGTx4Ee/96wB9tdGMUov+EzHUDXVYhXkujr4VdxTO77FeMgDXqE5X3okHFB5zR4SLdY8ic+dSjVh4Je5EbwjGE2WbJWT74CpdS+8QjI6heLGw5i1MlqK88hBKl8Gw1S1SkXNvCFz3L5PcSc0c2smQPTqksytCWVNk4HlImjZLfXhR4Dst+8P1DGP23Ylvrnxo4nIiUJUwgafCuzFdiX1SVkOp9YjMGJ52miQd4+iWISK53OeuLQ0o9YNZ0GfIOtfxpC6XncOY3T/0IQWeDFW0N8Yj80fg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231232)(944501393)(52105095)(93006095)(93003095)(10201501046)(6055026)(6041310)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123564045)(6072148)(201708071742011); SRVR:BLUPR03MB392; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB392; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB392; 4:TEOyqGU292226TNgnhhVpXRI8tR2UvCubkT5/S0y9SzVdGh7ZW3CWmV8aUAbhLF07PsBZVovNQkrsFY873N4jYsUsw0DeS8l/Rq3UJLDx9cZ3tXjFNz3H7sc4ZmUuHL7lyhMftOFfmDiJ89AmKBae7fwZDhX3lX2us/k/PwB83cht/ysz5BhEvfi/02Kzinqjxwex5GOgaQESDsGtF2ckmPQFRQ425pRhGsNuUSTI0gHJxX3shpDcAEbDy7vw4QmXGxlmOsKUbfUVrXiDaF6JAB1X9a3onmGAPUerwwwblcgTCN3EIl/IY2oI05TszkP X-Forefront-PRVS: 0648FCFFA8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB392; 23:8viOE+/HPzdDFGSYpeisNxQLhmeXcWi9ET5a//XCN2?= =?us-ascii?Q?mL4myFzhKSgkypkfWDao6De/oCDy+xrK/JvnfVs5Rl5KAkz6s8Djdirt+HB5?= =?us-ascii?Q?5jgSxQlAm0JUNPTq+54YHolTsX+5Bx1C8utLFgGAvnAMzpLKMYi7eDAjdRlW?= =?us-ascii?Q?J67fHVLV+c4+WjpabCq/U2lsXfeiOKoAr8XBg5N+AGhxshpAH60h3JKmg2UK?= =?us-ascii?Q?IqBxDi53Maw8F1BXJQ3wMuq9d5kr3ZWZk0lT6E0Wis0JNj+XjL2ozaUSbPuH?= =?us-ascii?Q?sIs1uh2dryPtLtuh1nThKV2pi1C1+4bFoUGmhVSrm8GgtI6f6kZfj/lgT0Jr?= =?us-ascii?Q?zOrs1jzG6j3WgwxyTWJrGLjs6G9XsURmFLpBfwQl474CwnVjHzkzB7nHgCTy?= =?us-ascii?Q?nRySb9rftIzbd096JL8FIBOgIKF5tLXcP8BKKbQtlFq8rGXwpVzWmjlbHA56?= =?us-ascii?Q?slYTf6VafyF+b40q4FqaolV1yPayDFSiM6u1PJulDuK0NVMOC2luAFw8NDbg?= =?us-ascii?Q?JpWCX6cenbWVdoT0OEZ03C8mfVd9UVqynU1Esyml6CW2KVBhuNCyfwO8Zo+e?= =?us-ascii?Q?B64JTaJq2m2tykjUAI2ufMvoHLyKGI0Yo+NdVS4+yLEuplxdLaK/djQ9iM/d?= =?us-ascii?Q?vSMNGzFmgPVgn3XAov4jAYqBN03viRp+rVMEa26Yoku5dHtRcB992+Oijo9y?= =?us-ascii?Q?oxSF/KJNtKJGXvnurigsC8QcN7hV+jR800nRFZrtgqpsFQYi6LlwabGvAJ9C?= =?us-ascii?Q?8Mw8tv916l9u9EwCiRc02gxciHE8aRahuICfojx5X0GtMa5be9b4qkaTcsI2?= =?us-ascii?Q?Gte/evC+jfut4JaapCRNOiuKE1ufXc5bZAaBTn6rBeazg/DsOeedNl4LU7K9?= =?us-ascii?Q?HxLpQ6jcCv4Uw5dexZkMpiLeqL7dJxu6SNPCy4PFP51NzawQfwFIdVLpam4l?= =?us-ascii?Q?YPo6AGduZnH/zkHtW53LZBlYiXKqPUNxhmhNOVGoeJwKsTkJxmEY8H5GxlJ6?= =?us-ascii?Q?Lr/Oml5CUQ2H4iyLWX4yga+jrZzhLiHx/5udw9M3s7gSwMv6yP41g/+W0Gtl?= =?us-ascii?Q?ni7tNIfbrzUIDLPOpfSfKjMeMifBJzlmGGfxgN+kVAXw51DDn2mHdqaSPg4q?= =?us-ascii?Q?9112ItkncorfWCvFHqvfG4CvzGieds?= X-Microsoft-Antispam-Message-Info: J8RzDyn00QAIWV4PbDULKOZJY3QuXf1pnPquM7q7YXLwO4QA47tgwrF1ZtD2xQ8Te81XfPzDG4Kb6GfQfgtiWxt5UjeqrvnGuxketspphGiaUDPFi3MV3Mw0sswqsH70BTDfwnCoNFpvzl2D6Q2NMCXXmK61v9SJD/hfPq7/ajCNTLjW97luC6fSXPYHDJcu X-Microsoft-Exchange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ED9HT6+yAxb/CaDmyEl/xAUcRPbt7yTYfJTmCEu X-MS-Office365-Filtering-Correlation-Id: 830f1137-efe5-4fcf-fd16-08d5a6abe106 X-OriginatorOrg: freescale.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2018 10:45:48.5871 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 830f1137-efe5-4fcf-fd16-08d5a6abe106 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: BLUPR03MB392 Subject: [dpdk-dev] [PATCH 1/2] net/dpaa: non supported offloads are ignored with warning 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: Fri, 20 Apr 2018 10:45:55 -0000 Fixes: 16e2c27f4fc7 ("net/dpaa: support new ethdev offload APIs") Cc: sunil.kori@nxp.com Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/dpaa_ethdev.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index b2740b4..b368f7e 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -151,17 +151,15 @@ dpaa_eth_dev_configure(struct rte_eth_dev *dev) dpaa_eth_dev_info(dev, &dev_info); if (((~(dev_info.rx_offload_capa) & rx_offloads) != 0)) { - DPAA_PMD_ERR("Some Rx offloads are not supported " + DPAA_PMD_WARN("Some Rx offloads are not supported " "requested 0x%" PRIx64 " supported 0x%" PRIx64, rx_offloads, dev_info.rx_offload_capa); - return -ENOTSUP; } if (((~(dev_info.tx_offload_capa) & tx_offloads) != 0)) { - DPAA_PMD_ERR("Some Tx offloads are not supported " + DPAA_PMD_WARN("Some Tx offloads are not supported " "requested 0x%" PRIx64 " supported 0x%" PRIx64, tx_offloads, dev_info.tx_offload_capa); - return -ENOTSUP; } if (((rx_offloads & DEV_RX_OFFLOAD_IPV4_CKSUM) == 0) || -- 2.9.3