From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 668117E75 for ; Thu, 6 Nov 2014 13:44:34 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 06 Nov 2014 04:54:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,325,1413270000"; d="scan'208";a="627625026" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 06 Nov 2014 04:54:00 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id sA6Crvei010306; Thu, 6 Nov 2014 20:53:57 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id sA6CrtX0017954; Thu, 6 Nov 2014 20:53:57 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sA6Crtfj017950; Thu, 6 Nov 2014 20:53:55 +0800 From: Helin Zhang To: dev@dpdk.org Date: Thu, 6 Nov 2014 20:53:45 +0800 Message-Id: <1415278430-17920-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1410706109-30448-1-git-send-email-helin.zhang@intel.com> References: <1410706109-30448-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH v3 0/5] support of configurable CRC stripping in VF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 12:44:34 -0000 To support configurable CRC stripping in both PF host and VF, a new operation and a new structure are added to carry more configurations from VF to PF host. v2 changes: * Put all the renaming and code style fixes into a patch. * Put processing crc stripping configuration in PF host into a single patch. * Put setting the crc stripping into a single patch. * Put the configuring crc stripping in VF into a single patch. * Added several more code style fixes reported by checkpatch.pl. v3 changes: * Added a macro of calculating memory size for configuring vsi queues. * Used array of memory in stack to replace the memory allocated by rte_zmalloc(). * Added an input parameter for configuring crc stripping in RX queue context. * Put configuring crc stripping of both PF host and VF into a single patch. * Defined below new structures for the configuring specifically. - struct i40e_virtchnl_rxq_ext_info; - struct i40e_virtchnl_queue_pair_ext_info; - struct i40e_virtchnl_vsi_queue_config_ext_info; * Renamed 'I40E_VIRTCHNL_OP_CONFIG_VSI_QUEUES_EX' to 'I40E_VIRTCHNL_OP_CONFIG_VSI_QUEUES_EXT'. Helin Zhang (5): config: remove useless i40e items in config files i40evf: Remove 'host_is_dpdk', and use version number instead i40e: renaming and code style fix i40e: support of configurable crc stripping in rx queue i40e: support of configurable VF crc stripping config/common_bsdapp | 1 - config/common_linuxapp | 1 - lib/librte_pmd_i40e/i40e_ethdev.h | 3 +- lib/librte_pmd_i40e/i40e_ethdev_vf.c | 218 +++++++++++++++++++++++------------ lib/librte_pmd_i40e/i40e_pf.c | 134 +++++++++++++++------ lib/librte_pmd_i40e/i40e_pf.h | 57 +++++++-- 6 files changed, 297 insertions(+), 117 deletions(-) -- 1.8.1.4