From patchwork Mon Mar 25 02:29:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qiming Yang X-Patchwork-Id: 51549 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 0D3E4137D; Mon, 25 Mar 2019 03:29:42 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 64FAA10A3 for ; Mon, 25 Mar 2019 03:29:40 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2019 19:29:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="285554999" Received: from dpdk-qiming2.sh.intel.com ([10.67.119.132]) by orsmga004.jf.intel.com with ESMTP; 24 Mar 2019 19:29:37 -0700 From: Qiming Yang To: dev@dpdk.org Cc: qi.z.zhang@intel.com, Qiming Yang Date: Mon, 25 Mar 2019 10:29:32 +0800 Message-Id: <20190325022935.74302-1-qiming.yang@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190321150232.13536-2-qiming.yang@intel.com> References: <20190321150232.13536-2-qiming.yang@intel.com> Subject: [dpdk-dev] [PATCH v5 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. Acked-by: Paul M Stillwell Jr --- V5: 1. improve as community's comment. 2. fixed time line error. 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 | 157 ++++++++++++++++++++++++++++++--- drivers/net/ice/ice_ethdev.h | 1 + 4 files changed, 160 insertions(+), 13 deletions(-)