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 E9E1FA04B1; Wed, 9 Sep 2020 03:10:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 563641B9B7; Wed, 9 Sep 2020 03:10:06 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 507AC2BAB for ; Wed, 9 Sep 2020 03:10:04 +0200 (CEST) IronPort-SDR: rfDjeKP4lP0F/PvQI38DEjcHrLsKCAV2pRW3xzY0b/TjqGsU6mhn10nfE9BapUXD4pTfO72B0i r8k418OS/c8g== X-IronPort-AV: E=McAfee;i="6000,8403,9738"; a="137768337" X-IronPort-AV: E=Sophos;i="5.76,407,1592895600"; d="scan'208";a="137768337" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2020 18:10:02 -0700 IronPort-SDR: It12bmSXSc99m6/2f7IG8LXHn5CPlK0VVN5e9RUGHHrGH14Mo/K3/sNfmWI8x0YPQj4Uh7OGVd TsbY1eRP4GSA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,407,1592895600"; d="scan'208";a="480267891" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga005.jf.intel.com with ESMTP; 08 Sep 2020 18:10:02 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX606.amr.corp.intel.com (10.22.229.19) 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 18:10:02 -0700 Received: from orsmsx106.amr.corp.intel.com (10.22.225.133) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 8 Sep 2020 18:10:02 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 8 Sep 2020 18:10:01 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (134.134.137.103) 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 18:10:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bgubIu0J/nO1WhkBmtxJzQU9SSCv78aalXaoUmTyvKrHnikeH+/wIGv6kS8IfDiLfwEuwr1tTZTE/wgdFDqvn5c75PeNTRWZGC5Ov1AbFH74Qc7297sZGRRzyNkATK+c5bsXXSWTQ/ycIQhKpfQ9ZpmLdR/FAUjfhuQhCssKiByV0459h96lkeZotRs30gzTG2jOqevIzhfmeEICwxfx84pHDPDsYt8TqCYWv3olOk+KqrOa1+aZ5N4MyGttNHvWp15wwHriNLEwUmVO/XRrJgMPzg4O2IY0W7ECuqhubtmUvnqfMbg0wqG5sNeTWB2evV96TrF79pzp7kSB3SKqUQ== 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=1Tq2tMbObT6cGYqQ4ZriMj09gSQaPk6L8XgeW+0xoOc=; b=BKyXY4Dvnt7MHGzK+kr4CM4RUQJHNMeScfXIQq7n28DN6h4gMdbHrgl5K8sE7BIYLizOYffPgDJKsLZaaan2/DejXdIJt4hM1TpRHtH2z5ocaS4AnmwP2kpfVN1RnqzTAzXrdjz+i7qCPf+RZ/7Oteb6mq3KerKuz0E46rzvK//TaeG+9DSgNbTzybZgpYFhceA3R1i1tJB2YmgFBujNbNVpNIQn5oR2BYZWP6htDcg5DJYAScTaKXLOrc42nwiNbLiRFkc1HTJMIA5KfCIcUCkDdvf+w838yzMpfZFllUeBVU7taSxSAEfMNAFzegoIshqm+2kyZszAzIDjbdNusg== 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=1Tq2tMbObT6cGYqQ4ZriMj09gSQaPk6L8XgeW+0xoOc=; b=PQC4gkkZ5VwLzT3tAqmxnWJT9lwTlp+4mS/xbPb3XRN6CAIKWA3heIoirdeuh6Fne4jkszuQlLx4/XcFJZ7V/Y9GdH13Ous+SS4ZInVumYzwMKJfp3RxBQoF2cF4N2kCxIhoFqleaNpcls2VRiKcxP/n2vLSX9w7RiVi8+cxUio= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN6PR11MB1729.namprd11.prod.outlook.com (2603:10b6:404:101::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.17; Wed, 9 Sep 2020 01:09:57 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::dd0f:7f49:bc5f:2fde]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::dd0f:7f49:bc5f:2fde%5]) with mapi id 15.20.3348.019; Wed, 9 Sep 2020 01:09:57 +0000 From: "Wang, Haiyue" 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" Thread-Topic: [dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirror API Thread-Index: AQHWhkBCwsirqj/Ns0W66TaW9+8UZKlffyEg Date: Wed, 9 Sep 2020 01:09:56 +0000 Message-ID: References: <20200909002247.864844-1-patrick.fu@intel.com> <20200909002247.864844-2-patrick.fu@intel.com> In-Reply-To: <20200909002247.864844-2-patrick.fu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 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.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e781720c-342f-48c5-c174-08d8545d1151 x-ms-traffictypediagnostic: BN6PR11MB1729: 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:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6uU6LrxTCWe6Us9eAIjdEteXCVpFXNxs5PZ6B8IXLdSeZ5UmOFAZN6kXjQj49l3UJXukHKTuiQop3f7qTRyV+iRWb/FgjgokC+5O805n4+T8aBxBNBre1CvULUDMkMr8f6+v7lL3BoubCzIG+i6s5ICOnEvA33ouGZr3BTASCTPwDskwBON2+t8w8Rsq+6QJDigfZ5P+cvvYN+/Pth+rVSM00pwSp5nqQvREizDR+M/aGoIksqcNn2aEpPBTUbOJDZrbd0eS33NRpD5NFQp6NGvVQ2pBXkXN8wtUVauh2Hek09Tirn+MG4xB1Abwp1WTqIuhkUibXwGQk62NopJ5Vw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(366004)(396003)(39860400002)(136003)(110136005)(316002)(54906003)(7696005)(5660300002)(52536014)(86362001)(33656002)(478600001)(26005)(6506007)(71200400001)(53546011)(186003)(107886003)(2906002)(8936002)(64756008)(66446008)(8676002)(76116006)(9686003)(66556008)(66946007)(66476007)(55016002)(4326008)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: W9HNr+wCstZpRu7TqUcrDGL4EFYtk151yPfKyHZEcwMFh99IYEX/x3IaTGSpTItOddACETuFu0hdV0eWUowLBvrNsEznGgEVW8BJqku8s9hOfz2xD2q8rabeswHlYPooODmWBK3Xt3pQv+/dJjqPBHJlPAmxH0ZFl0ZiDiYbmQYiLlF6N8os7Jhaii+mcrjoHt5b/C39ygg2uAgrbpFjvJhr130VeM/DjmLpBAL5Z7f+RfYTlTB2NTcJ7UCGP/YhksWp4tK4SYKW4fldI1X80ftBRqTPEGnlb804uf5Dm/pXqTQZyNeTM5FuGlbP/FDpy9CB7v0apU+VtrZ0pQxHyB/KQBFKYA3aD/LB6VgTPX46hTQeDoT3eZfrOYnXX+uQBvNU7CbJ18Gn59E9LA+7nwNEWeqI3xVjpiBRbL2NQHR15fKhPK+rcdidmxc8UXbsDmCsjT7SkTszhjNAVL7+UoNGlt6RHUxnczXro0drzOZ6Dga44HWnucfN3nwCVZ5kUhX954AMXm+ChkX4rDjbnKU+pd6vZmAJYzHSPdvaAyiFYdNbiCqxXuRwwhwOy3x7gzL3CgZyd2kHt8tkv9eRfn1HIgeGtsppAuPZVdMDeAClk2SWvM8ohXIoyzoKksiIA3Q241v4ccQ2I5PHWzzMDQ== 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: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e781720c-342f-48c5-c174-08d8545d1151 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2020 01:09:56.8819 (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: 4RCER4nN6Zp/TYGWiuCvfeVsMBO2OugAJZengRve3aGSfiLwi7QNMcaMhj1iq9wR1Htf2PXUlGmXLxQ08JkZ4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1729 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: dev On Behalf Of Patrick Fu > Sent: Wednesday, September 9, 2020 08:23 > To: dev@dpdk.org > Cc: thomas@monjalon.net; Yigit, Ferruh ; maxime.c= oquelin@redhat.com; > Richardson, Bruce ; mm6021@att.com; Wang, Zhi= hong ; > Wang, Liang-min ; Ananyev, Konstantin ; > Miskell, Timothy ; Liang, Cunming ; Fu, Patrick > > Subject: [dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirror A= PI >=20 > 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. >=20 > 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. >=20 > Signed-off-by: Liang-min Wang > Signed-off-by: Patrick Fu > Signed-off-by: Timothy Miskell > --- > config/common_base | 5 + > lib/Makefile | 2 + Makefile has been removed now. ;-) > -- > 2.18.4