From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 9F2265599 for ; Thu, 23 Mar 2017 09:42:26 +0100 (CET) Received: from 6wind.com (unknown [10.16.0.184]) by proxy.6wind.com (Postfix) with SMTP id 45C9526CD8; Thu, 23 Mar 2017 09:42:20 +0100 (CET) Received: by 6wind.com (sSMTP sendmail emulation); Thu, 23 Mar 2017 09:42:13 +0100 From: Pascal Mazon To: keith.wiles@intel.com Cc: dev@dpdk.org, Pascal Mazon Date: Thu, 23 Mar 2017 09:42:10 +0100 Message-Id: X-Mailer: git-send-email 2.12.0.306.g4a9b9b3 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v6 0/1] net/tap: 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: Thu, 23 Mar 2017 08:42:26 -0000 This patchset adds the special "remote" feature to the tap PMD, that actually enables capturing traffic from another netdevice. This is especially useful to get packets into the DPDK app, when the remote netdevice has no DPDK support. The "remote" feature requires flow API support as flow rules will be configured on the remote netdevice for redirection, using the same mechanism. This series applies on top of: [PATCH 0/4] net/tap: support flow API v6 changes: - update documentation with use case v5 changes: - rebase after adrien's patches on Tx poll and Rx signaling v4 changes: - rebase on top of updated "net/tap: support flow API" - use only a single patch now as MTU, MAC and flags can be easily managed with tap_ioctl() v3 changes: - memset(0) for remote_iface in rte_pmd_tap_probe() - use snprintf instead of strncpy to correctly handle terminating \0 v2 changes: - rebase on top of updated "net/tap: support flow API" - fix implicit flow flush when closing the netdevices Pascal Mazon (1): net/tap: add remote netdevice traffic capture doc/guides/nics/tap.rst | 16 ++ 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, 574 insertions(+), 22 deletions(-) -- 2.12.0.306.g4a9b9b3