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 3DF5641C2D; Tue, 7 Feb 2023 12:06:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2C95B40F18; Tue, 7 Feb 2023 12:06:05 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2EC1F40EF0 for ; Tue, 7 Feb 2023 12:06:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675767963; x=1707303963; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kSZ/nQeX8ISX2AAdbSFBJhZvps9cRw+XHu9SpFEu+KM=; b=JbT6ZdvmKQhAnRIK3QN2ToIxHAzfazaCAat8Zt6Q8smnqvCziX5E/7aH E8JkTtM2Aij6wUs1zv+S6Cx3nW8EfaFN7RJxWODkk6dFxDxyeWSNaqGBP Upyap1epUazK0leNX3stE8hitxRg9wEoGcS20paqkLlika9b9oUouUDv5 CfoxNFDwxeek+yBT7unFKmflM24kuw5XmeQt3VkkaiqpWNQuXYVj1WDfA d5h2ljNDAWdNhVLpel5z1kLDV/rLqA7f5aKJFcKdxdd8HVx+qHj3D7YOV zqe5pmSXMyABlOp3Xv1mSLQ0wEWdjT+8/xd7I6PVniG5zcZrZj+SMynjo A==; X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="313124771" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="313124771" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2023 03:06:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="668750296" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="668750296" Received: from dpdk-mingxial-01.sh.intel.com ([10.67.119.167]) by fmsmga007.fm.intel.com with ESMTP; 07 Feb 2023 03:06:00 -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 10:08:53 +0000 Message-Id: <20230207100859.2401709-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230207095701.2400179-1-mingxia.liu@intel.com> References: <20230207095701.2400179-1-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 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