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 425DCA04B1; Wed, 9 Sep 2020 08:02:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6195D1C0BC; Wed, 9 Sep 2020 08:02:44 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 4247F1BE0C for ; Wed, 9 Sep 2020 08:02:42 +0200 (CEST) IronPort-SDR: Hp87xWKEy95SOOYhXU1LcumoxlGuVPbxgIucr9Ro2NvasAHfbPVehBzyk06eCby+fw5grFd0fz 1XvUf9kU21Nw== X-IronPort-AV: E=McAfee;i="6000,8403,9738"; a="145994982" X-IronPort-AV: E=Sophos;i="5.76,408,1592895600"; d="scan'208";a="145994982" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2020 23:02:41 -0700 IronPort-SDR: ZLQLqyMylqniaL0KkQdXysi/isVbQB5lgfaqgX+Le3GypG4USCr4L0gWhhiGv8e8E5BE1fzrko G4bmbvBDSIOA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,408,1592895600"; d="scan'208";a="341451486" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by FMSMGA003.fm.intel.com with ESMTP; 08 Sep 2020 23:02:41 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 8 Sep 2020 23:02:40 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 8 Sep 2020 23:02:40 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 8 Sep 2020 23:02:40 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.59) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 8 Sep 2020 23:02:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A0lpgPpCNkRpeCp+08P4eQqblo6xk3/m2j6aWrFNuaHWagjjCx6AxyzSH8Yq3a4eIpHcYJlZ9LDTI0zL3ot2dkY1UzIHnYHhXmq0Ht0U5aJESne2QIiee/TKGlzZlWe8ctssTGr8jV2kaszzKVK8qQcFtSevkFMeJH67mmChBh9dNVG9vLUXHx0n/8iOoijKEoj/pUE03/dm2fD9z5z8ueYCGJG+iVLtt4otlUflwZ4WgwlIUkTMUiwd3C/4dFPrjzxPhTgdJxzxfft1TOfGGRlaZL6IyoLTs99WbCEQQEE7WUAFaCae3OR1W/KRUk6CdKylGxIOvmqlfJbwAjwsiw== 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=4TZC2IdL2mtpX+UVCh4m+zWvzbl2gdf+ZJxegti7glE=; b=IZJx0DuSHbrs9MYTmC2Gxb2AEXSU9n01jWekmCJa+/JhtNQyOyUybGY2Tfh6xhJ7/LH9pCMExndvfn59VSlDiVpq1F+IyU4WutSoFtvJ44i9Cd7HVeqOd8eZKbESsMaBAUaUKcVM/dHaV/yrkRhIwa21GQCk1hdx+x9rW8OBfGfSuK1SdPndZTxWlVQ5R1Z2uCIaZzT3E7/Fpu6x4Q8wR1/H9UoXYu3sp5EL9GEV/Xp+Mypu0bIeahTLSLe+NpKuxcYZET81iMjBUvnF4IZfRlF7GrMWWL3DAeEijbZfovMp07kkusv0+K8sCP6n+h036Z2lUPxUCCccgHiq0tPq4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4TZC2IdL2mtpX+UVCh4m+zWvzbl2gdf+ZJxegti7glE=; b=wxEdcxPHep63bxEvPkI62JEAIMt+rWM/KkkVPZ5AD+XLWjb5JA4ww0jw1lNHQEkPKp2c4RVxN6XEn3/WkMQjU0rF/1yDgm1CCbbFngqXVhJP5Afnz/57kR+rshc78BKR6Knj88WHXdXfVq0MS/SEa0i6SLHW70QtfaWPX5AJoGg= Received: from MWHPR11MB0032.namprd11.prod.outlook.com (2603:10b6:301:63::28) by MWHPR11MB1405.namprd11.prod.outlook.com (2603:10b6:300:21::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.16; Wed, 9 Sep 2020 06:02:32 +0000 Received: from MWHPR11MB0032.namprd11.prod.outlook.com ([fe80::88c9:ad8c:fcf2:9177]) by MWHPR11MB0032.namprd11.prod.outlook.com ([fe80::88c9:ad8c:fcf2:9177%6]) with mapi id 15.20.3305.034; Wed, 9 Sep 2020 06:02:32 +0000 From: "Fu, Patrick" To: "Wang, Haiyue" , "dev@dpdk.org" CC: "thomas@monjalon.net" , "Yigit, Ferruh" , "maxime.coquelin@redhat.com" , "Richardson, Bruce" , "mm6021@att.com" , "Wang, Zhihong" , "Wang, Liang-min" , "Ananyev, Konstantin" , "Miskell, Timothy" , "Liang, Cunming" Thread-Topic: [dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirror API Thread-Index: AQHWhkA0AygvfBSVV0CvB3a/S+oJHKlff1sAgABRNVA= Date: Wed, 9 Sep 2020 06:02:32 +0000 Message-ID: References: <20200909002247.864844-1-patrick.fu@intel.com> <20200909002247.864844-2-patrick.fu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.205] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: febd7ef8-6683-45e7-7ffa-08d85485f138 x-ms-traffictypediagnostic: MWHPR11MB1405: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Wvn3BSE7Os6rLB16rusuPHGT5K2DvXYLmpeM+7SMn00Vw//dmxbdylx4twn7lRvIzAQkq7TaySE7KMf1qKWQrFweKr4l20kvlIieXcO604RobYFJqCZ30sxjc0LC44CeOKm5F+Kqj0yqQtYCH/0HnMNkDJCV/GkKpmtTvzkYoq84uTj1LwtQYBl6awO9c311qizYM3KIVFHTJbcIv28RI6uWMmfdr6AlbnUSUqpp2YWvTzW3GqMuuVqDe3ZJq2OGIYLVk7UiRu8+n2RZR7Z+ruvVV+mq4jJ3B4bsbHw5lWVk0bDoROlxl5fdN5enSSGyh7UFmsZlbtc1MmIHu0Dzug== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0032.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(396003)(376002)(366004)(346002)(54906003)(110136005)(316002)(6506007)(53546011)(4326008)(83380400001)(107886003)(2906002)(8676002)(8936002)(66556008)(66446008)(66476007)(64756008)(5660300002)(52536014)(71200400001)(478600001)(9686003)(33656002)(55016002)(7696005)(66946007)(186003)(86362001)(26005)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: WFEvDexHCpgru0ctacakcG/351Ls5oNQcwmuWO7LnoEq60mGHqkR0o4Z9emXTNeX7iJ+QSLcOs8o7INQddZeMCTlIupH2PoUBve1o3yVYEche2LoO7sAiq+lxa5q6SsECKfrqASGU3i37FSjsYrsRAsZZ2IjJFUxOEBGbIwXVYJMMPOtt/XBHXwzCVckF+CysfQfoS+4q0uzrMOZLCBWFDHl7fzwjG8IrVTID/T5dpPSxGnuJJg6vOectyZHT5kZR0OYI1XYSCsVGRtv9megFUAkRxxGXTw5o1vCtKwrBD4zFQGvH6WUxsY8p9xnmGEH2PGax1uHMGhUP+TrXfPIjlDz826uSrN8ziq2Q9Ih0ObLQbme/sqVcSaLXe1YjC7u+O4LUlmalqHAW9jw4d264VDEWzSlcjeW5BXkLb6/drk+Gu7DBtYFUimlKxmRBs3TOtwr/yjEVxk4idGfyrTfQ13aW+d+br6s+ZftMyMvWwK4H07X3CIX592E4jut3AqD6jebCDoBRbZLWZQTZDzlgows5qjkf9fw4yiyQJtZehci+cpbeXOjJyTgC726XzENJdL9ysKfadBy/8VeftgaYXDmluvjF/43+ZL0nQNdEGaWUE/3LdiccZasLUvMy/XzCnO71/ZGUQa7wqKOjQurpw== 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: MWHPR11MB0032.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: febd7ef8-6683-45e7-7ffa-08d85485f138 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2020 06:02:32.4722 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nnsNMyeABEtChcKpDHkkZJ83NCs5ASr7DtaDirLTZDq1nEwZlecLQZAWPqkSxRBeZmxtHIlgOfDofMKQC5WuCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1405 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirror API 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" > -----Original Message----- > From: Wang, Haiyue > Sent: Wednesday, September 9, 2020 9:10 AM > To: Fu, Patrick ; dev@dpdk.org > Cc: thomas@monjalon.net; Yigit, Ferruh ; > maxime.coquelin@redhat.com; Richardson, Bruce > ; mm6021@att.com; Wang, Zhihong > ; Wang, Liang-min ; > Ananyev, Konstantin ; Miskell, Timothy > ; Liang, Cunming ; > Fu, Patrick > Subject: RE: [dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirr= or API >=20 > > -----Original Message----- > > From: dev On Behalf Of Patrick Fu > > Sent: Wednesday, September 9, 2020 08:23 > > To: dev@dpdk.org > > Cc: thomas@monjalon.net; Yigit, Ferruh ; > maxime.coquelin@redhat.com; > > Richardson, Bruce ; mm6021@att.com; > Wang, Zhihong ; > > Wang, Liang-min ; Ananyev, Konstantin > ; > > Miskell, Timothy ; Liang, Cunming > ; Fu, Patrick > > > > Subject: [dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirror= API > > > > Network Test Access Point (TAP) is the network monitoring service > > commonly adotpted in SDN-based network infrastructures. When VMs are > > inter-connected over virtual switches, TAP requires vSwitch to mirror > > out network traffics from specific workload VM ports to the TAP > > device/VM ports. > > > > This patch introduce 2 a new APIs to support high-throughput packet > > mirroring: > > - rte_mirror_register() > > - rte_mirror_unregister() > > Applications use the new API to setup the source traffic port and > > the mirror traffic port. Packets flowing over the registered > > source ports will be transmited to the mirror port when registration > > succeeds. > > > > Signed-off-by: Liang-min Wang > > Signed-off-by: Patrick Fu > > Signed-off-by: Timothy Miskell > > --- > > config/common_base | 5 + > > lib/Makefile | 2 + >=20 > Makefile has been removed now. ;-) >=20 Thanks Haiyue. I did forget to make the patch meson only. Will update in th= e next update. > > -- > > 2.18.4