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 05F0741C49; Tue, 14 Feb 2023 13:36:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8ED2A40ED9; Tue, 14 Feb 2023 13:36:28 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 85EAD4067E for ; Tue, 14 Feb 2023 13:36:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676378187; x=1707914187; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cFNlsg5ZLjBIpo7F5x0iArfTNZ4jKMhH+IGKr5Bb4/Q=; b=Ec6GOsfllAcWbNk/6THh0K70b3HXZWiNjHmz21/R5QyGwuOwe9CHjflO i8BY//38wo1pH/G+rOY90yrQselbsXKoGodnpSp/vVHiz2ua9V2+c66L1 HmlRSPn9acM9wjhELMARoM/8Jj3Myhv9FAPaOjML1728DttzlzhFVWZit kMsYbslGFactqvqQTqdjAqNCLNJ+JtvO/9e7KZB5KA0tDJAiVi3qoAIyk vUN84tMDSfHOnp96Q/aTAyWB1TkwGiKU7NJ54FFo43kmbzOZBci8w33TM OIzDhryqnTUQ681oGhPWXLIH7B2wY+e+n7OsGvjPaADiX/+QFabwxiZz8 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="314793169" X-IronPort-AV: E=Sophos;i="5.97,296,1669104000"; d="scan'208";a="314793169" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2023 04:36:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="699528511" X-IronPort-AV: E=Sophos;i="5.97,296,1669104000"; d="scan'208";a="699528511" Received: from dpdk-mingxial-01.sh.intel.com ([10.67.119.167]) by orsmga008.jf.intel.com with ESMTP; 14 Feb 2023 04:36:25 -0800 From: Mingxia Liu To: dev@dpdk.org, beilei.xing@intel.com, yuying.zhang@intel.com Cc: Mingxia Liu Subject: [PATCH v2 0/5] add port to port feature Date: Tue, 14 Feb 2023 11:38:47 +0000 Message-Id: <20230214113852.3341607-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230118130659.976873-1-mingxia.liu@intel.com> References: <20230118130659.976873-1-mingxia.liu@intel.com> 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 patchset add the support of port to port feature. Port-to-port packets are looped back through the host/NIC memory, without software involvement, using the LAN RX and LAN TX DMA engines. And this patchset only support the same port for Tx and Rx queue. This patchset is based on the cpfl PMD code: http://patches.dpdk.org/project/dpdk/cover/20230213021956.2953088-1-mingxia.liu@intel.com/ Mingxia Liu (5): net/cpfl: add some structure for hairpin queue net/cpfl: update device initialization for hairpin queue net/cpfl: add hairpin queue enable and setup net/cpfl: support hairpin queue start and stop net/cpfl: adjust RSS LUT to exclude hairpin queue drivers/common/idpf/idpf_common_device.c | 52 ++ 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 | 292 +++++-- drivers/net/cpfl/cpfl_ethdev.h | 8 +- drivers/net/cpfl/cpfl_rxtx.c | 855 +++++++++++++++++++-- drivers/net/cpfl/cpfl_rxtx.h | 71 +- drivers/net/cpfl/cpfl_rxtx_vec_common.h | 22 +- 10 files changed, 1272 insertions(+), 147 deletions(-) -- 2.25.1