From patchwork Thu Sep 7 15:15:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 116 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 1DAE642532; Thu, 7 Sep 2023 08:57:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3AB54029D; Thu, 7 Sep 2023 08:57:24 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 0AA8B400EF for ; Thu, 7 Sep 2023 08:57:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694069843; x=1725605843; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JIfrPfDRL5JhY2uAVdxkyvP81u/NAoQKSN9L8vH1Q2Y=; b=NQOJr2Umra2PjCGLxgGXwAv47GR+uOcnU0kTjKbwrUXOkGa3H9t4ct/6 +/VmM6OanAtHaMnq4hZr+9THI4tztZ5iRnpKn7gAR6ldQ7OsAqTe3j3NH fZv/rP+fYkpWer0RyBlNjQw6zrxyYfSyxr5OTB6OrpcUsT+mtTaimFBgZ iR2xu4IMl0VxoQbfTB1iuVRDe0HCqQNMx/x/oUZcdhUY/Gn2diszpbVbE br8qIQeAaQzUBqjyrJbEyWECZ5QAbXjD5F5hHTP/rhmLvFa0Qsby49tyh nrIDw4klwoYARL+jqbODQ9g8o4Qlzn44vFp7ebSSje97ORHSCf2rxQfI8 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="356758093" X-IronPort-AV: E=Sophos;i="6.02,234,1688454000"; d="scan'208";a="356758093" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 23:57:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="885035750" X-IronPort-AV: E=Sophos;i="6.02,234,1688454000"; d="scan'208";a="885035750" Received: from dpdk-beileix-icelake.sh.intel.com ([10.67.116.248]) by fmsmga001.fm.intel.com with ESMTP; 06 Sep 2023 23:57:07 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, mingxia.liu@intel.com, Beilei Xing Subject: [PATCH v3 00/11] net/cpfl: support port representor Date: Thu, 7 Sep 2023 15:15:55 +0000 Message-Id: <20230907151606.849612-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230816150541.144532-1-beilei.xing@intel.com> References: <20230816150541.144532-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 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 (11): 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: create port representor net/cpfl: support vport list/info get net/cpfl: update vport info before creating 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 | 101 +++- 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, 1702 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