From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0F86F41C2D; Tue, 7 Feb 2023 12:14:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C946A40F18; Tue, 7 Feb 2023 12:13:59 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id E45F840042 for ; Tue, 7 Feb 2023 12:13:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675768439; x=1707304439; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7OZSYy9yuMaTvuv1iaqR47JB6pqcpwpe7sb+ivOjmUc=; b=XSsmTSMfnKXgH6Hl1AxlDnkLrBDsBOSUtXJ50GkpzFiJ6CzTlk3HaSNT rDgzCFtkasq4AnJmIfgESmGVTvSrUO9+MFL+93VkFfzT7WsdFnQE3xeOq sTiIOSaDebKEfRON1OLrxCmrtFDZbBvnHzWIBJJXUgm1phOpKn6aRaOz+ eecVBGt3Fc65ZL/i0BJNY4EK7v3lAM9zM6ubKn9uTtoErQJviz6sIBuwi lbIWfvFdvSSWs+R/ldfHIU/g6WvF9DGaYEJ+I/z9MOtEdz16PzdYVnQbC 1ZiqZmIptkrG00fSabuYMHBpq/lVB/LPc1u75HvPI/vsBdTFN5kbFpP1X w==; X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="415698957" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="415698957" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2023 03:13:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="809486915" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="809486915" Received: from dpdk-mingxial-01.sh.intel.com ([10.67.119.167]) by fmsmga001.fm.intel.com with ESMTP; 07 Feb 2023 03:13:56 -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 v6 0/6] add idpf pmd enhancement features Date: Tue, 7 Feb 2023 10:16:44 +0000 Message-Id: <20230207101650.2402452-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230207100859.2401709-2-mingxia.liu@intel.com> References: <20230207100859.2401709-2-mingxia.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. v5 changes: - fix some spelling error v6 changes: - add cover-letter 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(-) -- 2.25.1