From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 769181B620 for ; Tue, 3 Apr 2018 04:55:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Apr 2018 19:55:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,398,1517904000"; d="scan'208";a="30550613" Received: from dw2.bj.intel.com ([172.16.117.110]) by orsmga008.jf.intel.com with ESMTP; 02 Apr 2018 19:55:30 -0700 From: Wei Dai To: wenzhuo.lu@intel.com, qi.z.zhang@intel.com Cc: dev@dpdk.org, Wei Dai Date: Tue, 3 Apr 2018 10:54:54 +0800 Message-Id: <20180403025456.735-1-wei.dai@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20180301185431.26204-1-wei.dai@intel.com> References: <20180301185431.26204-1-wei.dai@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] net/e1000: convert to new Rx/Tx offloads API 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: Tue, 03 Apr 2018 02:55:34 -0000 This patch set convert net/e1000 to new Rx/Tx offloads API. All Rx offloads are per port features. All Tx offloads of e1000 are per queue and also per packet as they are enabled in Tx descriptor. In the new offload API, per queue offload only need to be set in queue_setup(). So if the maimum number of queues is only one in Rx or Tx path, let all offloads in the path are per queue for better convenience. --- v2: add offloads checking Wei Dai (2): net/e1000: convert to new Rx offloads API net/e1000: convert to new Tx offloads API drivers/net/e1000/e1000_ethdev.h | 14 ++++ drivers/net/e1000/em_ethdev.c | 58 ++++++++++---- drivers/net/e1000/em_rxtx.c | 155 +++++++++++++++++++++++++++++++++--- drivers/net/e1000/igb_ethdev.c | 60 +++++++------- drivers/net/e1000/igb_rxtx.c | 167 +++++++++++++++++++++++++++++++++++---- 5 files changed, 385 insertions(+), 69 deletions(-) -- 2.9.5