From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Mazon Subject: [PATCH 0/5] improve tap behavior Date: Fri, 14 Apr 2017 11:32:41 +0200 Message-ID: Cc: pascal.mazon@6wind.com To: dev@dpdk.org 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 6620BF94 for ; Fri, 14 Apr 2017 11:33:01 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The tap does not behave properly in some cases. It is generally expected that a real device should be available once the probing has been done. It is also better to check if an operation (here, setting MAC) is mandatory before performing it. Typically in cases where the remote netdevice is a VF with limited capabilities. This series ensures that the tap works more logically. Pascal Mazon (5): net/tap: add debug messages net/tap: remove unnecessary functions net/tap: drop unnecessary nested block net/tap: create netdevice during probing net/tap: do not set remote MAC if not necessary drivers/net/tap/rte_eth_tap.c | 299 +++++++++++++++++++++--------------------- 1 file changed, 153 insertions(+), 146 deletions(-) -- 2.12.0.306.g4a9b9b3