From patchwork Mon Mar 25 09:00:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qiming Yang X-Patchwork-Id: 51614 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 D89FB2C60; Mon, 25 Mar 2019 10:01:07 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 828FA2BD3 for ; Mon, 25 Mar 2019 10:01:06 +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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 02:01:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="285622989" Received: from dpdk-qiming2.sh.intel.com ([10.67.119.132]) by orsmga004.jf.intel.com with ESMTP; 25 Mar 2019 02:01:05 -0700 From: Qiming Yang To: dev@dpdk.org Cc: qi.z.zhang@intel.com, Qiming Yang Date: Mon, 25 Mar 2019 17:00:59 +0800 Message-Id: <20190325090102.85918-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 v6 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 Acked-by: Qi Zhang --- v6: 1. rebased to master branch. 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 | 5 ++ drivers/net/ice/ice_ethdev.c | 158 ++++++++++++++++++++++++++++++--- drivers/net/ice/ice_ethdev.h | 1 + 4 files changed, 160 insertions(+), 13 deletions(-)