From: Ferruh Yigit Subject: Re: [PATCH] net/tap: driver closing tx interface on queue setup Date: Mon, 30 Jan 2017 11:00:07 +0000 Message-ID: <2c430141-94c1-5482-7fc2-94f5908b41e0@intel.com> References: <20170129021205.36860-1-keith.wiles@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit To: Keith Wiles , dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AF43A3989 for ; Mon, 30 Jan 2017 12:00:09 +0100 (CET) In-Reply-To: <20170129021205.36860-1-keith.wiles@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/29/2017 2:12 AM, Keith Wiles wrote: > The tap driver setup both rx and tx file descriptors when the > rte_eth_rx_queue_setup() causing the tx to be closed when tx setup > was called. Can you please describe the problem more. Without this patch rx->fd == tx->fd, with this patch rx and tx has different file descriptors. What was the wrong with rx and tx having same fd? As far as I can see, rte_eth_rx_queue_setup() won't close tx->fd, that function will do nothing if rx or tx has valid fd. > > Signed-off-by: Keith Wiles <...>