From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5A029A04DB; Fri, 16 Oct 2020 01:05:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC72B1E4C9; Fri, 16 Oct 2020 01:03:23 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 837281BA9F for ; Fri, 16 Oct 2020 01:03:19 +0200 (CEST) IronPort-SDR: yg8wklP53WKDDx6E6gMTtdYIhHPrmqTdoIYJZ2L8lQkkMslW+Dhsy/ixio3h6liUrowLPReadg 0Rsg0piQOEwg== X-IronPort-AV: E=McAfee;i="6000,8403,9775"; a="153399849" X-IronPort-AV: E=Sophos;i="5.77,380,1596524400"; d="scan'208";a="153399849" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2020 16:03:17 -0700 IronPort-SDR: Xat7mSQEoIVMR+3uYjnTZCkk6WtEPE3+2qr5P7u849TVzrI9CO0c/bJHLTL5Dm4rrGBDPostoY Q4WRhI3oQQyQ== X-IronPort-AV: E=Sophos;i="5.77,380,1596524400"; d="scan'208";a="464474074" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.251.84.112]) ([10.251.84.112]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2020 16:03:14 -0700 To: Bing Zhao , thomas@monjalon.net, orika@nvidia.com, arybchenko@solarflare.com, mdr@ashroe.eu, nhorman@tuxdriver.com, bernard.iremonger@intel.com, beilei.xing@intel.com, wenzhuo.lu@intel.com Cc: dev@dpdk.org References: <1601511962-21532-1-git-send-email-bingz@nvidia.com> <1602767335-433464-1-git-send-email-bingz@nvidia.com> From: Ferruh Yigit Message-ID: <3bd8efd7-b9b3-ec24-a24a-561bd033f31d@intel.com> Date: Fri, 16 Oct 2020 00:03:10 +0100 MIME-Version: 1.0 In-Reply-To: <1602767335-433464-1-git-send-email-bingz@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6 0/5] introduce support for hairpin between two ports X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/15/2020 2:08 PM, Bing Zhao wrote: > The patches contain the following changes: > 1. new APIs to bind and unbind hairpin ports in manual binding mode. > 2. new API to get the hairpin peer ports list. > 3. new internal APIs for PMD to pass the queue information and > configure the queue pair. > 4. new attribute members in the hairpin queue configuraiton structure > to specify the binding mode and enable explicit TX flow mode. > 5. Testpmd support to configure the hairpin modes for two ports > hairpin verification. > 6. documents update. > > --- > v6: > 1. Coding style updates > 2. Using "Rx" & "Tx" instead of the capital formats > v5: > 1. Change EINVAL to ENODEV if port id is invalid > 2. Description fixes and other minor changes > v4: > 1. squash documents update into patch > 2. add more description of the hairpin conf attributes > v3: > 1. add length to protect the pointer to the array from getting corrupted > 2. change the direction from bool to unsigned int > v2: > 1. add documents update > 2. remove all peer ports logic from rte API > 3. conf structure optimizing > 4. new API to get the peer ports and testpmd change to support > hot-plug / unplug case > --- > > Bing Zhao (5): > ethdev: add hairpin bind and unbind APIs > ethdev: add new attributes to hairpin config > ethdev: add API to get hairpin peer ports list > ethdev: add APIs for hairpin queue operation > app/testpmd: change hairpin queues setup > Series applied to dpdk-next-net/main, thanks.