From patchwork Wed Feb 8 07:33: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: 123435 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 902A441C3C; Wed, 8 Feb 2023 09:31:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A89F542D13; Wed, 8 Feb 2023 09:31:13 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id E973F41151 for ; Wed, 8 Feb 2023 09:31:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675845072; x=1707381072; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5ksgl/p2uNNfanDj3gKWxZySkTWJ1f3XKVoMSZJ2iiA=; b=c3XiD5uHNCOCzTFxU0BZ+LHvPWAofOX3OCCLnUI4K0IKX9DZIAd9W0eL Cb1ofpTHIkYIQdFrMGPN09zAc2xljOtx6M1mRcTxB1d+GCpRynn6p3Ilx u0MERQx794GlNpn+4SlW+UEBOjbU/a0F0zmNiWWS1HSKfUL1Wr58i8+yO kij3ph2BcvSUYXfhqsoVjgBLy5uFRsK9E6EbLCQhomaScF+l+r0lyyrt2 fQvb0211UKLk4bptomTXAseZDUmKJYE5LEyc62uaGKowf7sfOth+YqCXH tzdovVZvFvgb5xgfaQVljz6e6m7EUZMTHeZWnko/Ryf8Gyl+TUzuLBBIw A==; X-IronPort-AV: E=McAfee;i="6500,9779,10614"; a="328399431" X-IronPort-AV: E=Sophos;i="5.97,280,1669104000"; d="scan'208";a="328399431" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2023 00:31:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10614"; a="841100064" X-IronPort-AV: E=Sophos;i="5.97,280,1669104000"; d="scan'208";a="841100064" Received: from dpdk-mingxial-01.sh.intel.com ([10.67.119.167]) by orsmga005.jf.intel.com with ESMTP; 08 Feb 2023 00:31:09 -0800 From: Mingxia Liu To: dev@dpdk.org Cc: jingjing.wu@intel.com, beilei.xing@intel.com, Mingxia Liu Subject: [PATCH v7 0/6] add idpf pmd enhancement features Date: Wed, 8 Feb 2023 07:33:55 +0000 Message-Id: <20230208073401.2468579-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230207101650.2402452-1-mingxia.liu@intel.com> References: <20230207101650.2402452-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 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 v7 changes: - change commit msg module from "common/idpf" to "net/idpf" Mingxia Liu (6): net/idpf: add hw statistics net/idpf: add RSS set/get ops net/idpf: support single q scatter RX datapath net/idpf: add rss_offload hash in singleq rx net/idpf: add alarm to support handle vchnl message net/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(-)