From patchwork Wed Aug 9 15:51:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 27 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 F179B43016; Wed, 9 Aug 2023 09:33:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A40240DDB; Wed, 9 Aug 2023 09:33:11 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id CB8ED400D6 for ; Wed, 9 Aug 2023 09:33:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691566390; x=1723102390; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=pzrgcWyhCOy4fPSeXRUfk+3gi8ucwXiTg3FjXrPHeh0=; b=A+Nb9NPFAbmbb0xk7bLq6HO2zov9kF5XkZQGZO2UOXIhJSVKurm9tfa6 O+a2u2UHlBEcqyDg5mEDhRuyBiDRLnOWH/2at2cA/QRduiJ3UERSL7JE4 4/9S+0oI66hpFU9QySchP72d7CLelh23WAykGYJnUU25LIo4YmBd5Dbjq 7mxHWEvjrLiIi+CqUck8XbZhK4y6pjpHHdQvi3ojMouB6iohonXnNvUXa MRdIBWLpdXXztijcbl4LBZ9UX2g3dBKcE/xzciw6OIN7J0abcTwI82JuW 4ebUtpkrzRHYhxJyv2scAT0WiWdIVTmlvS+KJ3wUF/xiSuC0Joc1Gu8zd g==; X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="356014433" X-IronPort-AV: E=Sophos;i="6.01,158,1684825200"; d="scan'208";a="356014433" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2023 00:33:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="1062337375" X-IronPort-AV: E=Sophos;i="6.01,158,1684825200"; d="scan'208";a="1062337375" Received: from dpdk-beileix-icelake.sh.intel.com ([10.67.116.252]) by fmsmga005.fm.intel.com with ESMTP; 09 Aug 2023 00:33:07 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com, mingxia.liu@intel.com Cc: dev@dpdk.org, Beilei Xing Subject: [PATCH 00/19] net/cpfl: support port representor Date: Wed, 9 Aug 2023 15:51:15 +0000 Message-Id: <20230809155134.539287-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.34.1 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 Beilei Xing (19): 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: add exceptional vport net/cpfl: support representor Rx/Tx queue setup net/cpfl: support link update for representor net/cpfl: add stats ops for representor common/idpf: refine inline function net/cpfl: support representor data path net/cpfl: support dispatch process net/cpfl: add dispatch service doc: update release notes for representor doc/guides/rel_notes/release_23_11.rst | 3 + drivers/common/idpf/idpf_common_rxtx.c | 246 ------- drivers/common/idpf/idpf_common_rxtx.h | 246 +++++++ drivers/common/idpf/version.map | 3 + drivers/net/cpfl/cpfl_cpchnl.h | 313 +++++++++ drivers/net/cpfl/cpfl_ethdev.c | 884 ++++++++++++++++++++--- drivers/net/cpfl/cpfl_ethdev.h | 120 +++- drivers/net/cpfl/cpfl_representor.c | 935 +++++++++++++++++++++++++ drivers/net/cpfl/cpfl_representor.h | 26 + drivers/net/cpfl/cpfl_rxtx.c | 268 +++++++ drivers/net/cpfl/cpfl_rxtx.h | 19 + drivers/net/cpfl/cpfl_vchnl.c | 72 ++ drivers/net/cpfl/meson.build | 4 +- 13 files changed, 2783 insertions(+), 356 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