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 61EF61C00 for ; Fri, 12 May 2017 15:02:15 +0200 (CEST) Received: from 6wind.com (unknown [10.16.0.184]) by proxy.6wind.com (Postfix) with SMTP id 4016C25321; Fri, 12 May 2017 15:02:08 +0200 (CEST) Received: by 6wind.com (sSMTP sendmail emulation); Fri, 12 May 2017 15:02:09 +0200 From: Pascal Mazon To: ferruh.yigit@intel.com, dev@dpdk.org Cc: pascal.mazon@6wind.com Date: Fri, 12 May 2017 15:01:35 +0200 Message-Id: X-Mailer: git-send-email 2.12.0.306.g4a9b9b3 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v3 0/5] improve tap behavior 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: Fri, 12 May 2017 13:02:15 -0000 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. v3 changes: - rebase on top of next-net/master v2 changes: - fix uninitialized fd variable 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 | 301 +++++++++++++++++++++--------------------- 1 file changed, 154 insertions(+), 147 deletions(-) -- 2.12.0.306.g4a9b9b3