From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1CA8F3777 for ; Tue, 14 Mar 2017 15:01:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489500070; x=1521036070; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=HZYev1rT8Q3Ru7ojZjQ/0a1oB0UcJAXbEAapie21E7k=; b=HEXRloWHB0tsYv5LssVEjJ9rpmpBc1hj565hisPZ77RbnqaY+Eur5HZQ 5LUtUBO6PHgYieO3BfSFkPSKjZJP/Q==; Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2017 07:00:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,164,1486454400"; d="scan'208";a="67274405" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga004.jf.intel.com with ESMTP; 14 Mar 2017 07:00:54 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 14 Mar 2017 07:00:54 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.172]) by FMSMSX102.amr.corp.intel.com ([169.254.10.201]) with mapi id 14.03.0248.002; Tue, 14 Mar 2017 07:00:54 -0700 From: "Wiles, Keith" To: Pascal Mazon CC: "dev@dpdk.org" Thread-Topic: [PATCH v4] net/tap: add remote netdevice traffic capture Thread-Index: AQHSnJ31ApdqVEV7YEWTP62xrDUVY6GU0uUA Date: Tue, 14 Mar 2017 14:00:54 +0000 Message-ID: <7F8C927D-2B15-4DBE-9F62-F2AB2BA7B432@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.28.43] Content-Type: text/plain; charset="us-ascii" Content-ID: <598A344FBA305040B8788684A92791BD@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4] net/tap: add remote netdevice traffic capture 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: , X-List-Received-Date: Tue, 14 Mar 2017 14:01:10 -0000 > On Mar 14, 2017, at 4:34 PM, Pascal Mazon wrote: >=20 > By default, a tap netdevice is of no use when not fed by a separate > process. The ability to automatically feed it from another netdevice > allows applications to capture any kind of traffic normally destined to > the kernel stack. >=20 > This patch implements this ability through a new optional "remote" > parameter. >=20 > Packets matching filtering rules created with the flow API are matched > on the remote device and redirected to the tap PMD, where the relevant > action will be performed. >=20 > Signed-off-by: Pascal Mazon > Acked-by: Olga Shern Acked-by: Keith Wiles > --- > doc/guides/nics/tap.rst | 17 ++ > drivers/net/tap/rte_eth_tap.c | 101 +++++++++- > drivers/net/tap/rte_eth_tap.h | 4 + > drivers/net/tap/tap_flow.c | 451 +++++++++++++++++++++++++++++++++++++= +++-- > drivers/net/tap/tap_flow.h | 24 +++ > 5 files changed, 575 insertions(+), 22 deletions(-) Regards, Keith