From patchwork Thu Mar 21 15:02:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qiming Yang X-Patchwork-Id: 51440 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D9CB11B3EA; Thu, 21 Mar 2019 08:39:24 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 8D3C11B3DD for ; Thu, 21 Mar 2019 08:39:23 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 00:39:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,252,1549958400"; d="scan'208";a="143894175" Received: from dpdk-qiming2.sh.intel.com ([10.67.119.132]) by orsmga002.jf.intel.com with ESMTP; 21 Mar 2019 00:39:20 -0700 From: Qiming Yang To: dev@dpdk.org Cc: qi.z.zhang@intel.com, Qiming Yang Date: Thu, 21 Mar 2019 23:02:25 +0800 Message-Id: <20190321150232.13536-1-qiming.yang@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190320175948.105277-1-qiming.yang@intel.com> References: <20190320175948.105277-1-qiming.yang@intel.com> Subject: [dpdk-dev] [PATCH v4 0/3] enable package download in ice driver 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch set enabled package downloading to the device. The package is to be in the /lib/firmware/intel/ice/ddp directory and named ice.pkg. The package is shared by the kernel driver and the DPDK PMD. If package download failed, driver need to go to safe mode. This patch set disabled RSS, QINQ, checksum offload in safe mode. The patch set also enabled RSS for UPD/TCP/SCTP+IPV4/IPV6 packets. --- V4: 1. free memory when package download fail. V3: 1. fixed compile issue. 2. split document update to each patch. V2: 1. fixed errors in commit log. 2. removed unnecessary code. 3. improved as Qi's comments. 4. removed devargs. 5. added document update. Qiming Yang (3): net/ice: load OS default package net/ice: add safe mode net/ice: enable RSS when device init doc/guides/nics/ice.rst | 9 ++ doc/guides/rel_notes/release_19_05.rst | 6 ++ drivers/net/ice/ice_ethdev.c | 158 ++++++++++++++++++++++++++++++--- drivers/net/ice/ice_ethdev.h | 1 + 4 files changed, 161 insertions(+), 13 deletions(-)