From patchwork Tue Sep 12 17:30: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: 131 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 F2D354257B; Tue, 12 Sep 2023 11:12:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C4A93402E7; Tue, 12 Sep 2023 11:12:04 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id CFE3D40293 for ; Tue, 12 Sep 2023 11:12:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694509923; x=1726045923; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ylzSCV1bqKxvAgGS7QsmzbMsfT8aonpZ/BjYxu6l1SI=; b=glSCXy8SuefslTBpOSDACl0GxqL3qL0kULA/kGGK9WMQ0vEErJGGAfXO 3Oa9nKo22jVNHx9/2Fxy5FwIoC8zRqOx04ONOmNfwoVr+FyxFDwCzQrNL h7xwQCoIK5U/GOlvkhSGi6QENxNDL6KJX0p2u89a5rIRn5idW4Z090MEl Q5Bj9prWLyoddHnWUvsWjH2mvuJA0T/mut3LyOjr+7VDphR2BNoCUbm0K MNDNhG0D/weKk+cvwLmT7HfPG7bi9wkgHWeumKSt2Ige9e7F6KjUHMc4R hbWCrGsFxIFqqhzBGWc3leArfhKw8FayrS22u8uHz54uwLfsQwDhvCbjN Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="375652038" X-IronPort-AV: E=Sophos;i="6.02,245,1688454000"; d="scan'208";a="375652038" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 02:12:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="809164369" X-IronPort-AV: E=Sophos;i="6.02,245,1688454000"; d="scan'208";a="809164369" Received: from dpdk-beileix-icelake.sh.intel.com ([10.67.116.248]) by fmsmga008.fm.intel.com with ESMTP; 12 Sep 2023 02:12:00 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, mingxia.liu@intel.com, Beilei Xing Subject: [PATCH v6 00/10] net/cpfl: support port representor Date: Tue, 12 Sep 2023 17:30:29 +0000 Message-Id: <20230912173039.1612287-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230912162640.1439383-1-beilei.xing@intel.com> References: <20230912162640.1439383-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 v6 changes: - move some change from 08/10 to 06/10 patch v5 changes: - refine cpfl_vport_info structure - refine cpfl_repr_link_update function - refine cpfl_repr_create function 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: support vport list/info get net/cpfl: parse representor devargs net/cpfl: support probe again 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 | 621 ++++++++++++++++++++---- drivers/net/cpfl/cpfl_ethdev.h | 91 +++- drivers/net/cpfl/cpfl_representor.c | 632 +++++++++++++++++++++++++ drivers/net/cpfl/cpfl_representor.h | 26 + drivers/net/cpfl/cpfl_vchnl.c | 72 +++ drivers/net/cpfl/meson.build | 4 +- 9 files changed, 1719 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 Acked-by: Jingjing Wu