From: Sunil Kumar Kori Subject: [PATCH v2 0/2] Non-supported offloads are ignored Date: Mon, 23 Apr 2018 18:03:35 +0530 Message-ID: <20180423123337.5653-1-sunil.kori@nxp.com> References: <20180420104541.21987-1-sunil.kori@nxp.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , To: 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) In-Reply-To: <20180420104541.21987-1-sunil.kori@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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