From patchwork Wed Aug 16 15:05:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 62 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 B68554307C; Wed, 16 Aug 2023 08:46:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8534040041; Wed, 16 Aug 2023 08:46:32 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id ED970427E9 for ; Wed, 16 Aug 2023 08:46:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692168391; x=1723704391; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VX8Jq1ME8oTuZY2OEIoaggNnY9zlvTFQVGNrUmvK3Rw=; b=nd5fGZ2OUzPUqdQhgiDy3guiYJe1dWrWqlrUVr0tOz6tO4BT272o7K/W PnH4quee7PGhd0mCHRUPDbmgrohufc8WtA4EAxYMC2fZ9KBbsxCSb8IOo Eym9O9ahx5ZdpjBuM7Uzq3nmz7MfVl2aJuxkHEj3JK8OB8zy9OmpHID/P iQaBaA9zMXzvhNUx2PXV+fkoGXqVFqCCpDXYpvU3autXefFhgqCFrKMOT kStAfHEG1elhUjo3FofHEud5WndcCRSCHL9JdyWfibFmkkBonRvleVH0z j/b8/AV0DPnecY0AkIijJWgrVrzESBYn57fPl5PZGUEIrQVI7N/aGO1p2 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="436357086" X-IronPort-AV: E=Sophos;i="6.01,176,1684825200"; d="scan'208";a="436357086" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2023 23:46:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="1064714768" X-IronPort-AV: E=Sophos;i="6.01,176,1684825200"; d="scan'208";a="1064714768" Received: from dpdk-beileix-icelake.sh.intel.com ([10.67.116.248]) by fmsmga005.fm.intel.com with ESMTP; 15 Aug 2023 23:46:26 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, mingxia.liu@intel.com, Beilei Xing Subject: [PATCH v2 00/12] net/cpfl: support port representor Date: Wed, 16 Aug 2023 15:05:29 +0000 Message-Id: <20230816150541.144532-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230809155134.539287-1-beilei.xing@intel.com> References: <20230809155134.539287-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 v2 changes: - Remove representor data path. - Fix coding style. Beilei Xing (12): net/cpfl: refine devargs parse and process net/cpfl: introduce interface structure net/cpfl: add cp channel net/cpfl: enable vport mapping net/cpfl: parse representor devargs net/cpfl: support probe again net/cpfl: create port representor net/cpfl: support vport list/info get net/cpfl: update vport info before creating representor net/cpfl: refine handle virtual channel message net/cpfl: support link update for representor net/cpfl: support Rx/Tx queue setup for representor doc/guides/nics/cpfl.rst | 36 ++ doc/guides/rel_notes/release_23_11.rst | 3 + drivers/net/cpfl/cpfl_cpchnl.h | 321 +++++++++++++ drivers/net/cpfl/cpfl_ethdev.c | 619 +++++++++++++++++++++---- drivers/net/cpfl/cpfl_ethdev.h | 92 +++- drivers/net/cpfl/cpfl_representor.c | 619 +++++++++++++++++++++++++ drivers/net/cpfl/cpfl_representor.h | 26 ++ drivers/net/cpfl/cpfl_vchnl.c | 72 +++ drivers/net/cpfl/meson.build | 4 +- 9 files changed, 1686 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