From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F5394240D; Wed, 18 Jan 2023 15:02:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C8474067E; Wed, 18 Jan 2023 15:02:44 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id DEACE4003F for ; Wed, 18 Jan 2023 15:02:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674050563; x=1705586563; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GJP8c+oWjYKO4xHbnd2tqQ7YzstllEs9w4xuEJbx+JY=; b=D4oxv7Su8sw7Xad3Ry9JY6Dgk1WAhhcb+PBeQHYk3S4esu4RGwiky4xb +fMVyDMosFpPL9c17Y7y5xBoSvcAx+JgfgmqcKn94g7xt55CqfUM5o376 x2dcDJ7pm9/tS/1PVpbmrwpwUJ445ffGKtrhAeNZiEpTaOXSBfvkLJSJI rSm/JkFCTLUUPa9j1x8sOLd//69p9Ape2tCCyHS0G6UTahuLervjP62sY rCj1swfFqI4y25BwvK0pxmy1MYXMRcutcKEfeCh88M/Kryjvo7PWPodSX NPsUTLLZrpr3yf8VQtkrvBRAlniK6Oic3TxUwDMMQFCbSuLEkJpj5Nto/ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="322675810" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="322675810" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 06:02:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="690198869" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="690198869" Received: from dpdk-mingxial-01.sh.intel.com ([10.67.119.167]) by orsmga008.jf.intel.com with ESMTP; 18 Jan 2023 06:02:37 -0800 From: Mingxia Liu To: dev@dpdk.org, qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Cc: Mingxia Liu Subject: [PATCH 0/1] add port to port feature for CPFL PMD Date: Wed, 18 Jan 2023 13:06:58 +0000 Message-Id: <20230118130659.976873-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This patch add the support of port to port feature. MEV can loopback packets from RX port to TX port (can be the same or different port). This feature is called "port to port". The main principal of operation is that port-to-port packets are looped back through the host/NIC memory, without software involvement, using the LAN RX and LAN TX DMA engines. This patchset is based on the idpf PMD code: http://patches.dpdk.org/project/dpdk/cover/20230106090501.9106-1-beilei.xing@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230117080622.105657-1-beilei.xing@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230118035139.485060-1-wenjun1.wu@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230118071440.902155-1-mingxia.liu@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230118075738.904616-1-mingxia.liu@intel.com/ Mingxia Liu (1): net/cpfl: add port to port feature. drivers/common/idpf/idpf_common_device.c | 50 ++ drivers/common/idpf/idpf_common_device.h | 2 + drivers/common/idpf/idpf_common_virtchnl.c | 100 ++- drivers/common/idpf/idpf_common_virtchnl.h | 12 + drivers/common/idpf/version.map | 5 + drivers/net/cpfl/cpfl_ethdev.c | 374 +++++++-- drivers/net/cpfl/cpfl_ethdev.h | 8 +- drivers/net/cpfl/cpfl_logs.h | 2 + drivers/net/cpfl/cpfl_rxtx.c | 851 +++++++++++++++++++-- drivers/net/cpfl/cpfl_rxtx.h | 58 ++ drivers/net/cpfl/cpfl_rxtx_vec_common.h | 18 +- 11 files changed, 1347 insertions(+), 133 deletions(-) -- 2.25.1