From patchwork Fri Sep 8 11:16:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 121 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 EA52D4253D; Fri, 8 Sep 2023 04:58:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F37740285; Fri, 8 Sep 2023 04:58:22 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 2431D40042 for ; Fri, 8 Sep 2023 04:58:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694141900; x=1725677900; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DlsGh4cBwtWO9y775cGCQGK+CzQKk7g8xsmAARCJBYc=; b=FpLhwA2zppRu1F45fX+EuBEeUuwDOgLLekfKeTe9aiXF+I1uvzdeNns2 HtLkel3ti+IAry5g6RAj6rWIUeobXABiJlqfKOQAhDgqQvjRItxmnCHFq AAuTs/w1drE+VO0qo50FhzlxyXng08hN6oFv+fSkUokZ6lyr4EJIbl1DL nkxzIQiN8BMOEUKw9Yy/q88Nc4wDQjOU1YfxD42tTjWv0muFOqD5lLfC6 TBFEVdi7eBQzUxZ9GR3IkAePsvo05Ws7fxWdPmu0hI0t1XiWr2enojZIo MZcFqJHG0lXGN2RilWeJDAS+P8vjMYiKjhh+tAQjbx+s4+MFNxvT9tsZF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="357002011" X-IronPort-AV: E=Sophos;i="6.02,236,1688454000"; d="scan'208";a="357002011" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2023 19:58:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="807789794" X-IronPort-AV: E=Sophos;i="6.02,236,1688454000"; d="scan'208";a="807789794" Received: from dpdk-beileix-icelake.sh.intel.com ([10.67.116.248]) by fmsmga008.fm.intel.com with ESMTP; 07 Sep 2023 19:58:17 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, mingxia.liu@intel.com, Beilei Xing Subject: [PATCH v4 00/10] net/cpfl: support port representor Date: Fri, 8 Sep 2023 11:16:51 +0000 Message-Id: <20230908111701.1022724-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230907151606.849612-1-beilei.xing@intel.com> References: <20230907151606.849612-1-beilei.xing@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 From: Beilei Xing 1. code refine for representor support 2. support port representor v4 changes: - change the patch order - merge two patches - revert enum change v3 changes: - Refine commit log. - Add macro and enum. - Refine doc. - Refine error handling. v2 changes: - Remove representor data path. - Fix coding style. Beilei Xing (10): net/cpfl: refine devargs parse and process net/cpfl: introduce interface structure net/cpfl: refine handle virtual channel message net/cpfl: introduce CP channel API net/cpfl: enable vport mapping net/cpfl: parse representor devargs net/cpfl: support probe again net/cpfl: support vport list/info get net/cpfl: create port representor net/cpfl: support link update for representor doc/guides/nics/cpfl.rst | 36 ++ doc/guides/rel_notes/release_23_11.rst | 3 + drivers/net/cpfl/cpfl_cpchnl.h | 340 ++++++++++++++ drivers/net/cpfl/cpfl_ethdev.c | 619 +++++++++++++++++++++---- drivers/net/cpfl/cpfl_ethdev.h | 91 +++- drivers/net/cpfl/cpfl_representor.c | 607 ++++++++++++++++++++++++ drivers/net/cpfl/cpfl_representor.h | 26 ++ drivers/net/cpfl/cpfl_vchnl.c | 72 +++ drivers/net/cpfl/meson.build | 4 +- 9 files changed, 1692 insertions(+), 106 deletions(-) create mode 100644 drivers/net/cpfl/cpfl_cpchnl.h create mode 100644 drivers/net/cpfl/cpfl_representor.c create mode 100644 drivers/net/cpfl/cpfl_representor.h create mode 100644 drivers/net/cpfl/cpfl_vchnl.c