Message ID | 20200408062210.34003-1-leyi.rong@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0C3C5A0597; Wed, 8 Apr 2020 08:31:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E1372BF1; Wed, 8 Apr 2020 08:31:14 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B25A32B83 for <dev@dpdk.org>; Wed, 8 Apr 2020 08:31:13 +0200 (CEST) IronPort-SDR: luPmTFqyGhQqfCrvEoq7jrtYEZsOHFCeIwQBihqfK+O3zQWpDsKPZ6P0xuFLauqOiIISX9HkH8 bRMeGX3kzNSQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2020 23:31:12 -0700 IronPort-SDR: AhO9TJ9uTPu5X7r1JJPnaogEQW7fuPD2E0KYbCJQrg3PSCySuFaGJ47CeAThE7J6002j033KZM CwnCENowAxkg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,357,1580803200"; d="scan'208";a="251474341" Received: from dpdk-lrong-srv-04.sh.intel.com ([10.67.119.221]) by orsmga003.jf.intel.com with ESMTP; 07 Apr 2020 23:31:10 -0700 From: Leyi Rong <leyi.rong@intel.com> To: jingjing.wu@intel.com, qi.z.zhang@intel.com, beilei.xing@intel.com, xiaolong.ye@intel.com Cc: dev@dpdk.org, Leyi Rong <leyi.rong@intel.com> Date: Wed, 8 Apr 2020 14:21:59 +0800 Message-Id: <20200408062210.34003-1-leyi.rong@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200316074603.10998-1-leyi.rong@intel.com> References: <20200316074603.10998-1-leyi.rong@intel.com> Subject: [dpdk-dev] [PATCH v3 00/11] framework for advanced iAVF PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
framework for advanced iAVF PMD
|
|
Message
Leyi Rong
April 8, 2020, 6:21 a.m. UTC
This patchset enable framework for advanced iAVF, includes flexible descriptor support, FDIR mark id and RSS hash support. --- v3: - Remove patch to query DDP package info as it's specific to DCF. - Specify fdir_ref_cnt as per VF value for enable/disable FDIR ID parse. - Move fdir_enabled flag to per Queue value for cache benefit when access in vector routines. - Store extracted flow_id value to mbuf without judgement to avoid branch speculation fail, which is benefit to performance. v2: - Revert macro RTE_LIBRTE_IAVF_16BYTE_RX_DESC deletion as it's defined in AVF spec. - Typo RTE_LIBRTE_ICE_16BYTE_RX_DESC fix in iavf_rxtx.c. - Move flex desc definitions into iavf_rxtx.h. - Up to date to match with the latest version of virtchnl.h. - Extract a new internal func iavf_update_rx_tail to call. - Remove iavf_dev_rxq_count_flex_rxd()/iavf_dev_rx_desc_status_flex_rxd(), as the accompanying legacy ones can deal with the flex desc cases. - Move rxq->rxdid assignment from iavf_configure_queues() to iavf_dev_rx_queue_setup(). - Unfold _mm_extract_epi32(fdir_id0_3, i) to fix build error when using GCC compile option -O0. Leyi Rong (11): net/iavf: flexible Rx descriptor definitions net/iavf: return error if opcode is mismatched net/iavf: flexible Rx descriptor support in normal path net/iavf: flexible Rx descriptor support in AVX path net/iavf: flexible Rx descriptor support in SSE path net/iavf: add flow director enabled switch value net/iavf: support flow mark in normal data path net/iavf: support flow mark in AVX path net/iavf: support flow mark in SSE path net/iavf: add RSS hash parsing in AVX path net/iavf: add RSS hash parsing in SSE path drivers/net/iavf/iavf.h | 6 + drivers/net/iavf/iavf_ethdev.c | 8 + drivers/net/iavf/iavf_rxtx.c | 540 ++++++++++++++++++-- drivers/net/iavf/iavf_rxtx.h | 248 +++++++++ drivers/net/iavf/iavf_rxtx_vec_avx2.c | 700 +++++++++++++++++++++++++- drivers/net/iavf/iavf_rxtx_vec_sse.c | 518 +++++++++++++++++++ drivers/net/iavf/iavf_vchnl.c | 46 +- 7 files changed, 2017 insertions(+), 49 deletions(-)