From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0092.outbound.protection.outlook.com [104.47.34.92]) by dpdk.org (Postfix) with ESMTP id 50405AABB for ; Fri, 20 Apr 2018 12:45:56 +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=k6Yf+Hf4A33MarGSh3msG7CHrhE3TeVZewpUmXiocyE=; b=JzW5AA6rbDgu2hBHU459H4OpAvQHQ5tA3/Iqx+SclGE1STeoIB1M5Gnvs3konqGmcUPltQ08lUbSz78gsFvg3gjuoIjMYDAbW+Aa4aDg1R3Uer90FUs0fVYDdfS1VLUHbQWnlWKGCABe3j6zTZkdVdjJId4EIvGkdEO8W9yJrsk= Received: from MWHPR03CA0026.namprd03.prod.outlook.com (2603:10b6:301:3b::15) by SN2PR03MB2189.namprd03.prod.outlook.com (2603:10b6:804:c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Fri, 20 Apr 2018 10:45:53 +0000 Received: from BL2FFO11OLC010.protection.gbl (2a01:111:f400:7c09::108) by MWHPR03CA0026.outlook.office365.com (2603:10b6:301:3b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.696.12 via Frontend Transport; Fri, 20 Apr 2018 10:45:52 +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 BL2FFO11OLC010.mail.protection.outlook.com (10.173.160.154) 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:50 +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 w3KAjnHx005045; Fri, 20 Apr 2018 03:45:50 -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 w3KAjhh5022629; Fri, 20 Apr 2018 03:45:48 -0700 From: Sunil Kumar Kori To: CC: , , Date: Fri, 20 Apr 2018 16:15:41 +0530 Message-ID: <20180420104541.21987-3-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)(39860400002)(39380400002)(396003)(346002)(376002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(9170700003)(54906003)(81166006)(11346002)(446003)(336012)(48376002)(316002)(16586007)(105606002)(106466001)(50226002)(47776003)(476003)(305945005)(126002)(8676002)(8936002)(2616005)(86362001)(85426001)(486006)(356003)(51416003)(76176011)(5660300001)(36756003)(26005)(77096007)(50466002)(8656006)(1076002)(2351001)(6916009)(6666003)(498600001)(53936002)(2906002)(4326008); DIR:OUT; SFP:1102; SCL:1; SRVR:SN2PR03MB2189; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; LANG:en; MLV:ovrnspm; A:1; MX:1; PTR:ErrorRetry; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC010; 1:Igd3o8oNXJFuqRcN0egXOkw8P7YvYaWHiq0H7LI+E7nhzIe+qIN2/oxOvRDG7fFDPU1+P5qGgJH2kdthMzz+4mCUylAKoHTPxyarPBna3tTeTYG6MeYRpahyytMywvO5 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:SN2PR03MB2189; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2189; 3:+PaZOVI+XLvX4zVx34kzftXwkccQys2VM3LDeg40uXGu+XN+XIX7oGwR579j22lWDtXKHgtBGKdZwMELZLVoychD+pBilcbvXDeBjY0VonUR5KS2GEJlkFIdJyXHA0rcrmPwMgoDLaVOgzlkkyBmS+mZGwYeMebTGCrfEkXYn8Qt3LlK1NLT0nfmlU6bNJnrXOLFEu00vPIEBpyKuyDP6SCWJGDogqW/xIsvqlCKDlCVfZUrMwOgM/qn6FZPWxHHohawmpe2diA7copPz/PcyPzT3ApCGYc26raS67mnqlcw/BaySHBD5SNWoRytomTsCEzg/6sCQyAOOe2TLdmeIuKDEtPti/RquH2CD4a5t8A=; 25:vGY218/7IpvGZL6cQOf/toMhnqocCRhfggeTHD01SDXcByDANeeLplpWBxv4QoSurVLbyHWmLY7z4s5ZheenvAKvn/H+mt5HJ7mYSwrcvUctCdTIps02gV1NIYyTBbHNIsT7R5M4Hh8lZDuwP2h+eJwdrE9pIehWRPZn2fOTmy64vbQ3nwB05dUULiUlPbLnTNxf939vJuE72cK6Jf+14eMA3DBZgoKWmRjoMHO2E3I0RN6HDVxbHxTR0K+/7Dc/TQrpY/CCDEYKuNa4k2kPfggqP7m+4DYFXvmGRuKDWjkqD30Ax14g7O6ydHn+bJvRbebRLLRvLg+e098YkXH+rA== X-MS-TrafficTypeDiagnostic: SN2PR03MB2189: X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2189; 31:ZyXxdWlBZRSwlD1w2sJKuNvzGy2m/wUA0jyRPwy0H7R+06sJ8l08frCJJv528l9qbfBqwgFtoin1rdtawpvbPxFHKYYhqAzqMlje3skcRC58awxFlbd0CLUEJJJxnB666DEgRVbq3nhMp2D85dk9ykjTymaUz3ltN9N0Cb5gGbROTMHRBnhOaUos60WeZ6yFmDzbIAc9SOvN3YLKlsqIQzjPoEWocSmPQ0IYp1E2+is=; 20:jodBrQ2y3jb1PqvKzlU+Sh80Q1eYUdHEYq+djZicMvVY6QNyoJLBSYfL6yTgz4uHgVSX3qMSG2N7bhjI87OEOccCsQPsChyi0oGtZ/Itk0Pv8ifStZsbWT6bEDvAnXdSDN3yP1NhuJ6mxdjsyW1ULE2XssOExmNIiG5cLC60DIcGZD52CWD0FWXiC5UGqPa2SzM/4/Bt1TEKE697BTvzm82zEiaxhNK1vyBYL0QxXwHilMJuA5mzFEUxtNL6sJx4f/rw9uUWM/wpBng26vokZy9UjREVND3mnBzwW45GSYNP1/aHVCEI6XAHF+ROtwRcWupdVitB3mfaakA3wdzLsisKSUSGPfv89gaWbECV/ECiT7LKPvZydRDbkyiXZV9FL4qe8pHLUsbIQpRK0hZzQOU87/2vb67mlRSDtQ2plY3pRnn4WuBHLhuR/OTYyzhnhbPIS2JGf6n51P7XaC6xRLJHqPBuqECsQo4SlHyQcJsoutSNVTtTm+HB5QcKEjoy1Kyvtr38gnb69reWxGKWgjUWPLah9EeNpkON8KkPwXOg9I+AXsX+cA/ZZ8DJDZ9bE1W1Wm5HgIvQGYcUn1iNnjr6z/pYdzRloiD4bjP00Fw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231232)(944501393)(52105095)(10201501046)(3002001)(93006095)(93003095)(6055026)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:SN2PR03MB2189; BCL:0; PCL:0; RULEID:; SRVR:SN2PR03MB2189; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2189; 4:9QJkCJ4DwSqdJndvQeX3H+EmlP0xhSdaWxrkIHKtg8hx8yZPiG3FxCYoVCevu8lfoJIgglXzNJYerAb0Fiz0bUT3YEm7bPZAajATB7R6ZZ/YLhLNo8AESFlC8+rCnp4PO3hDXNFOWmh2SCeR3/cDHlmQdLDtJ2QnZoyORPGJWGd+Iy3HXFxrzU5DtRaIA0g77wLMXlJveFYcM5y3ooOlBG4OWlNieNc6t6qzj4GsC71d1vy5yXVncIZ0OmCkhwSjI4sta0pht821vhCK6OkaNAHlbSInxGvuFKAqy+hpIE6GpBLLE8xDZdvh0jl1bkE7 X-Forefront-PRVS: 0648FCFFA8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2189; 23:hRbaEmGbl0P+rDrpmRxb7kWNjd6MIIwd+0o3TtIum?= =?us-ascii?Q?LfhLQH+gy42CWb2tr0qKZL/qhLYtK+t38qxrOjztRTv4v55DBWYbyhLrpNUA?= =?us-ascii?Q?Sp4jm47mpomc3KdWPBb3eDBY/fVpWrctFKRZY7mzd1Taq0OUSqLuzrs3ckHj?= =?us-ascii?Q?JglLY8Rw05dOJK3W8R6r0tt2YVMzXGm8v2Q8+jznvI464QBU3m2OPJyK5ix8?= =?us-ascii?Q?wdeWNkAetKJNHc0KPg8QqzUxbHr989sCPIfXSoOLZi95sr6JkiuJoMoD7H8N?= =?us-ascii?Q?Kz8iZOjIqHQHed/TDzndjWSYZYZWG3AUfRPhrGzxYu50PlloSg+I3bGRA71J?= =?us-ascii?Q?xxJxxcwHLeL4DnfhmWmz8Db9f9Y+aQqBfDcIgjPwfJ9wfxZe1wO8rldmmJ17?= =?us-ascii?Q?++ecUmizJiOw8QvGNV5sR0gzWEBYEwA02YE89rJYbGrHbc/YVl3a0KSB/SqB?= =?us-ascii?Q?w9rmEm5vHzzZe44OQRgd0dflJSgqPrLLx9gy9zJF3z/9x+TuFkkJr9UT4Ft0?= =?us-ascii?Q?KJr4J4iJ95xlXJrS82Jyfwljq2vZEJn7hEMWI3FGK5EOhERqTLaR182cPPXM?= =?us-ascii?Q?UlZgJZxDii812USHzGfpKxCV2wnTsSjywWvOg8LREz0EB7jkkEcZxxxhZpRH?= =?us-ascii?Q?9N01DZAJZprvmg0sieLIX7Cpe7p3qNCtSms7XXEY20vyAAAFkAUWbMkAkSsZ?= =?us-ascii?Q?Y8PoktDQBAUwSBVflU1UHGZXmdSMJE0IxJPecEmy4+7R0RhgXqUb7q+JWJ9b?= =?us-ascii?Q?CZW2FgU/r06pM/AdrRkmslSb9IRG3ZLi8D80KWNXnI/AW0/wvKdvkqbzjacz?= =?us-ascii?Q?tAywaXQ2c7PuKzFpKfLRPWf4Ko2Qq8cZFgyIG7xfJE4XqF02FqK976KRgElP?= =?us-ascii?Q?+6g9oSLm3pjjJTJxP+sxCKSXDxWor+VVaJ03HxghOZaSQIFNseyLwOvUhJqt?= =?us-ascii?Q?octbHPKzFepkvllwaMAE5aRvYzNTl3OhIZfb0XPK/5W0TnJkV8eCby+GXkyC?= =?us-ascii?Q?3qDT+UgMnbkd9P+iUei9pTlup9uHtoXqU6TOifCl22eRVVmRnISUkGxorWmM?= =?us-ascii?Q?OdY4RhunSKysqMaUViKTddtQ8NADVAHygTNFkNuoZLFcgXCixTL5gjtrlQOD?= =?us-ascii?Q?toYbPRp0xqfEj8iTj1lQHyH51km7b61?= X-Microsoft-Antispam-Message-Info: ew2ENVkfkEVB45l4q7DzHBDSP6Jzvzb/fVWTJYKNL0c8mLKOAA6JgRD7MAKaOcVAMcYBI2P5K9797YJuKKBVO9fuNt5rr5t+Z5Kk7U2EZhxha36kv8PjdbnWyFhNTPVrYU0IfFO+xR1DhMRur4o2K6MgP2Ev4hppbxfe9OCI6tY0Z83fRDj3phVgnG2E1qwY X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2189; 6:E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i07g2YtzGVZNTVSidngjy X-MS-Office365-Filtering-Correlation-Id: e80d2863-9c82-4d39-bec3-08d5a6abe24d X-OriginatorOrg: freescale.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2018 10:45:50.7285 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e80d2863-9c82-4d39-bec3-08d5a6abe24d 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: SN2PR03MB2189 Subject: [dpdk-dev] [PATCH 2/2] net/dpaa2: 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:57 -0000 Fixes: 0ebce6129bc6 ("net/dpaa2: support new ethdev offload APIs") Cc: sunil.kori@nxp.com Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa2/dpaa2_ethdev.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 54ab9eb..60c6076 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -290,17 +290,15 @@ dpaa2_eth_dev_configure(struct rte_eth_dev *dev) dpaa2_dev_info_get(dev, &dev_info); if ((~(dev_info.rx_offload_capa) & rx_offloads) != 0) { - DPAA2_PMD_ERR("Some Rx offloads are not supported " + DPAA2_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) { - DPAA2_PMD_ERR("Some Tx offloads are not supported " + DPAA2_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_JUMBO_FRAME) { -- 2.9.3