From patchwork Tue Feb 7 09:56:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liu, Mingxia" X-Patchwork-Id: 123224 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4154741C2D; Tue, 7 Feb 2023 11:54:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB5D140F18; Tue, 7 Feb 2023 11:54:07 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id C7F4A40EF0 for ; Tue, 7 Feb 2023 11:54:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675767245; x=1707303245; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=W1RTe2Zfdm2b+8lUQfANlFJ9c2TvVkusuD3Gqm6ttag=; b=iebN9UXm2ZxpkFJUjglB0M5FyTT49sfYGykGLyY+HvAdSUiVTrVQ95uH fJG0N62AAnS3TNfP+4XgRf1iqKHi3xXOsN082b63f438uavlUSDtZMGTB LWh3YPnWKNo3E2ye1IAJuUxlchxf2gVOiXpyEt4KqG80VbB/yXPaKNfxr g60Rg+GXzfcWTQgiTaxV9A53HlkhVMgSK0BRfHsVwF29Q0lsADHrBYuIV UqhXrOdaVtcA1q516X49xeycdDNqvXbCQNOEoOFj2aIOBo8lURfwtCzAH YNbWbjv7gbg8LElTCdbKLIglcRz1Hsg4aSQc8W9+PK11rFz9bh/WTQRxv w==; X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="391873448" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="391873448" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2023 02:54:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="730388562" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="730388562" Received: from dpdk-mingxial-01.sh.intel.com ([10.67.119.167]) by fmsmga008.fm.intel.com with ESMTP; 07 Feb 2023 02:54:03 -0800 From: Mingxia Liu To: dev@dpdk.org, qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Cc: Mingxia Liu Subject: [PATCH v4 0/6] add idpf pmd enhancement features Date: Tue, 7 Feb 2023 09:56:55 +0000 Message-Id: <20230207095701.2400179-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230118071440.902155-1-mingxia.liu@intel.com> References: <20230118071440.902155-1-mingxia.liu@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patchset add several enhancement features of idpf pmd. Including the following: - add hw statistics, support stats/xstats ops - add rss configure/show ops - add event handle: link status - add scattered data path for single queue This patchset is based on the refactor idpf PMD code: http://patches.dpdk.org/project/dpdk/patch/20230207084549.2225214-2-wenjun1.wu@intel.com/ v2 changes: - Fix rss lut config issue. v3 changes: - rebase to the new baseline. v4 changes: - rebase to the new baseline. - optimize some code - give "not supported" tips when user want to config rss hash type - if stats reset fails at initialization time, don't rollback, just print ERROR info. Mingxia Liu (6): common/idpf: add hw statistics common/idpf: add RSS set/get ops common/idpf: support single q scatter RX datapath common/idpf: add rss_offload hash in singleq rx common/idpf: add alarm to support handle vchnl message common/idpf: add xstats ops drivers/common/idpf/idpf_common_device.c | 17 + drivers/common/idpf/idpf_common_device.h | 10 + drivers/common/idpf/idpf_common_rxtx.c | 151 +++++ drivers/common/idpf/idpf_common_rxtx.h | 3 + drivers/common/idpf/idpf_common_virtchnl.c | 171 +++++- drivers/common/idpf/idpf_common_virtchnl.h | 15 + drivers/common/idpf/version.map | 8 + drivers/net/idpf/idpf_ethdev.c | 606 ++++++++++++++++++++- drivers/net/idpf/idpf_ethdev.h | 5 +- drivers/net/idpf/idpf_rxtx.c | 28 + drivers/net/idpf/idpf_rxtx.h | 2 + 11 files changed, 996 insertions(+), 20 deletions(-)