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 9E54DA04B7; Sun, 4 Oct 2020 11:46:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C607B1BD10; Sun, 4 Oct 2020 11:46:14 +0200 (CEST) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id 620EB1BD06 for ; Sun, 4 Oct 2020 11:46:13 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sun, 04 Oct 2020 02:44:22 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 4 Oct 2020 09:45:27 +0000 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.55) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 4 Oct 2020 09:45:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i9xN2a3uiTzQSFMmCtRcOUr6Lq9ya61cYFoYrI9jaODcjchquF3JZ7W9jgT2n24tJ/8lY7QHF42PVV9Xz2jiaRcVqbGiRhBPf45rs9xk192Kt+5dvx118D0oDZ6lW/cTOfc59Ej3z9pLzblWmKZ5Yhl/aQ2IDHyJzeuPwSWcDz3tNJ6kc8dPGdTuxYnBi+RqJeH0LEGuAZ15I9zaK2RYF1KEsp8ae/Jyxz2Z/SQP1DDepxteEnHyRWMjYOPgpaYs5NM4uxceRpWBZBprb9JebasD5dws+BRJAP/fQ2pNgZO/VbRAQv9IFYbajS/n64RfrzhJnJJxTMwZnOlZHYqShQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c/o7B2ajMY40/ocfb9jZqc1fX+d+L7FTf8IY8Qn1KhQ=; b=hw2cxgA1IO4q2pETSUJMQzwaVieSI6I7OG3PKuJ3TeLhpQhbpk6jMAWWwj/pakzQAbbEcjsRJ/ZQDjIOQoYvVfQg0hx1qpoG3lbbhOBUW22ubJIcz8bG1X6YINlWlXZEBTxJF/W7rerxmjvMdwFkbzb8AKLIAyjrLj5XdgCz4rVzuzYT9hbU9Rt1Inj/iuoLEn7mxNSPlvsWh/De2DI+stl09Mj9uVK+GWkd5L2kHsra8b+Ean2OoEIw7DeUYaCkWe+eMAB//Ee/jD2Tw4b+c2KR98iXCNxTa/a85wK19eeJEDAAmjECggyNwxv+5ap7ZIcgM2wnKrCOF3zgfvKUFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MN2PR12MB4286.namprd12.prod.outlook.com (2603:10b6:208:199::22) by BL0PR12MB4866.namprd12.prod.outlook.com (2603:10b6:208:1cf::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.35; Sun, 4 Oct 2020 09:45:26 +0000 Received: from MN2PR12MB4286.namprd12.prod.outlook.com ([fe80::61fd:a36e:cf4f:2d3f]) by MN2PR12MB4286.namprd12.prod.outlook.com ([fe80::61fd:a36e:cf4f:2d3f%8]) with mapi id 15.20.3433.042; Sun, 4 Oct 2020 09:45:26 +0000 From: Ori Kam To: Bing Zhao , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.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" Thread-Topic: [PATCH 0/4] introduce support for hairpin between two ports Thread-Index: AQHWl4mGzW5QBmRw3kakGNgPbh4AMKmHNigg Date: Sun, 4 Oct 2020 09:45:26 +0000 Message-ID: References: <1600012140-70151-1-git-send-email-bingz@nvidia.com> <1601511962-21532-1-git-send-email-bingz@nvidia.com> In-Reply-To: <1601511962-21532-1-git-send-email-bingz@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [147.236.152.129] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6b3dcb2d-6051-4bde-f679-08d8684a38fa x-ms-traffictypediagnostic: BL0PR12MB4866: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0yTvUALRLYDKo1huGJGrKIlrifGi5DlpjlMMCOUhPsRvLflilpSbxuVrLAUTWLCqNzGmsUslhmhE69jJD/Hc19oyrKGu6mhhJK9UkI/mKhZbm7KzKFYd/IqyPE7j3ICTvmQkVPCS+YPmXjzGjasC6racSjEZMMHFLAX23YkFdzCCXoGFTzQ6aglbwEPLTut+oJWLxoMYC0TbfLHSQ005Fkigf3maZvV5sXonxghjBvHyNNC8xum32AsXLmGe6D7i+db73coTG7g/gP/nxNTJ6ospFAs9E8flXDFNYum4h8B/TzTPZxEKh9hiDoTnqqTAudPnzKbpuy9rj8FuAx0+OA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4286.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(396003)(366004)(346002)(39850400004)(478600001)(83380400001)(71200400001)(186003)(8936002)(26005)(9686003)(55016002)(8676002)(86362001)(2906002)(66476007)(316002)(52536014)(110136005)(5660300002)(4326008)(53546011)(6506007)(33656002)(7696005)(76116006)(66556008)(66946007)(64756008)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: i6YT8g9LNp3kkC/1q1M8GmM30zndqywnc0/CviUEItTnFmGXXANK1NSNDj9UwrfwkXVPRa40WfnS89EbvubxR//eR45LK9L00E7VgBkSs9tFV9Fry2f80Vj92g/Lk8JgiWLhvtCHB74+RFWVVzd+4Kkdqww3he/eI6faSJwYhF8sE6Xa/MnEAKO7s0++VBG8aA68aUT9NpFus0AxkdugoD6TMQnZqkpAGRuUxTwXT02KTmt/r4wINT7pXcAs6+aBCHBPbzXRKRfJVbv6mi6bFykW5WrpTyd2cBrNnq3c/ZezOWhS0RVKoC3zN7OTff2ARO6Ux/xEa6GClfYy8w9n/O1F2GWEkG8nv/UksxG7qD/TY9JXAWo9iAUg0Hj6aI7ajxFVSwZBVbx8hAkMVX7HAn6fs0g5+jjmhFOP01AX0oqLcvNQm4Iddnt/D+CMEHOXGykomBLY3nzJoAA1/YW2//fGJ/lgocQ2eOuAqRfP1HqEsybzdQSG1EMSokiXwmacpxmMXyJEnhRHtsqiHaFJ7U7g6U59pOIcexzJFSF7PW+2QMvTKZJL6CY9PZs+003WmwwLifzQrjQtVlezbyHkyOFzfx9jFNOIIIpkqZRTtfTIJJW6HcCoPtmGiacQgYiQf+DNLvP4ZQD0MqFUflF6Dw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4286.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b3dcb2d-6051-4bde-f679-08d8684a38fa X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2020 09:45:26.4759 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TK093E6NRyFOaGoeV0KhmB5FDtjVSemdDkmZF1H4vLRJp5L+9uK5VCJ/vXFeWi5rclvmpfsH9TROKleLE6bePQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4866 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1601804662; bh=c/o7B2ajMY40/ocfb9jZqc1fX+d+L7FTf8IY8Qn1KhQ=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=EtrY9Wj7M4BFa6hxum5HaY7axte129NXqUeBEFzGekuXpyQCJ4nh9erOnm2GnUV6k qcOaPjFAkNkjed/KsB/JlQ00mnCpsXfQ/UQFtvCUlpfiIqKlmiOyPgdo4JbOz86OYN OVqSLOzoclBGlQA61Ps7RD6+SxuzokYbfNbJXMGlp5IG1+BoTRJjvy8jJi/4LZgV/S M5nKl7xmbZIyhHl2XAIT7qM1c+RljPnCLSePDEYjZj3p/46D/gVSPqO8N/s0uI69kG 02IoYsddu7d2+vRpy1QiiOoLe1uRzGBoFnk5sUj7wbLFOPbh7Ab4cF9Tq37dpZak0W SFGGgaqYqLwcA== Subject: Re: [dpdk-dev] [PATCH 0/4] 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" Hi Bing General comment I think in all of this patch set you are missing the=20 documentation part., for example the testpmd doc. Thanks, Ori > -----Original Message----- > From: Bing Zhao > Sent: Thursday, October 1, 2020 3:26 AM > Subject: [PATCH 0/4] introduce support for hairpin between two ports >=20 > This patch set will add the support for hairpin between two ports. > In the meanwhile, the compatibility of the previous single port mode > is taken into consideration and kept. >=20 > The patches contain the following changes: > 1. new APIs to bind and unbind hairpin ports in manual binding mode. > 2. new internal APIs for PMD to pass the queue information and > configure the queue pair. > 3. new attribute members in the hairpin queue configuraiton structure > to specify the binding mode and enable explicit TX flow mode. > 4. Testpmd support to configure the hairpin modes for two ports > hairpin verification. >=20 > Bing Zhao (4): > ethdev: add hairpin bind and unbind APIs > ethdev: add new attributes to hairpin config > ethdev: add APIs for hairpin queue operation > app/testpmd: change hairpin queues setup >=20 > app/test-pmd/parameters.c | 15 +++ > app/test-pmd/testpmd.c | 68 ++++++++++++- > app/test-pmd/testpmd.h | 2 + > lib/librte_ethdev/rte_ethdev.c | 162 > +++++++++++++++++++++++++++++++ > lib/librte_ethdev/rte_ethdev.h | 69 +++++++++++++ > lib/librte_ethdev/rte_ethdev_driver.h | 160 > ++++++++++++++++++++++++++++++ > lib/librte_ethdev/rte_ethdev_version.map | 5 + > 7 files changed, 477 insertions(+), 4 deletions(-) >=20 > -- > 2.5.5