From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id A07F61BB46 for ; Fri, 11 Jan 2019 21:35:28 +0100 (CET) Received: by mail-pg1-f193.google.com with SMTP id s198so6788558pgs.2 for ; Fri, 11 Jan 2019 12:35:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iu3qugJyRSRaK3xnqGK3sIbzcahG1zvHfkAxerU7nsE=; b=aO69kha3nYRG3AKJS7jDQYB2R+y2BQ+f31sARVGa0qVJrQK/ij2wIXFoYZjP+o10Rd s5XlBs68vZqAf3ZqidnKEvh05ridB73PQPzxIEOUsgk0x1oGDoyNbp5wyASlVdTrsIja oXcSRjTUvcJs6D0naBJYJiSfgVpkBSXrm414LYN3rdy0a2GhHktRx9EBZ2kt5cVE9It9 uObVTznRKMVwO8gNr035wSRvG+rW7jqcO/OMk/W4eYlhOBSeg703YpukagdbiAcTm+mK pkPfuaY8caytrOwuAjKF83Vc3xO8MmqT66LYYbPDK6ddh0MrDt5bq0NVNeon90jHrPOp q9rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iu3qugJyRSRaK3xnqGK3sIbzcahG1zvHfkAxerU7nsE=; b=n0pYOGNM87XP39ONimOrmx5SnSyr/C0AFrNToy8+bCebxbJqOxXFm/EcmnczUuyURm Drwswq+Dr/Q7rpL2Ho9kdq7wP1maHjJNn+cCVb53WVSOOD5SyQWgLTgo9Nk7iAB5Uaej 0F4kF5tMA+orB/iRCTr9vHt4sDE3WNMOZo+K9Mr6Fg35pRllYaDCqMmhwxsCLSDzWVCD 1uFdBeQigJawhhsPbPz3zIrUvgJNJFtMsQvrjXmoVALUlkhMDSHVNA8QbgH2I1dKIvJj /HVZ5lVaLQ72CiUnBGYJJXTlOX6Si+kwXxq8JtNuXuCs3z+OEC4mvfn6dSSvpKNPTk75 6ifA== X-Gm-Message-State: AJcUukeyODqii0uUQo1Q0hRjkxEtaMG6GiatN/nfsy69E+XHyCA8FA9a JdRW39ELSCAVXPRkHE1ZtNxjrg== X-Google-Smtp-Source: ALg8bN5Jx8E5ijuSszRyiXDTGty0VuhEQoKSpk2H5UG+PTLUFoLFcJe8d+DzroL5UUUv0Q2nxsp5pg== X-Received: by 2002:a65:6148:: with SMTP id o8mr14689662pgv.451.1547238927585; Fri, 11 Jan 2019 12:35:27 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id f32sm96610438pgf.80.2019.01.11.12.35.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jan 2019 12:35:26 -0800 (PST) From: Stephen Hemminger To: keith.wiles@intel.com Cc: dev@dpdk.org, Stephen Hemminger Date: Fri, 11 Jan 2019 12:35:13 -0800 Message-Id: <20190111203520.19944-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190111180659.5972-1-stephen@networkplumber.org> References: <20190111180659.5972-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/6] net/tap: fixes and cleanups 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, 11 Jan 2019 20:35:28 -0000 The tap device (used by vdev_netvsc on Azure) has a bug that prevents it working with primary/secondary process model because the device name generation assumed a single process. The fix for this is to have the kernel assign the device name (patch #5). While investigating this, found a number of other small issues that should be cleaned up as well. v2 - encorporate Keith's style feedback and ack - use strlcpy instead of snprintf when copying "dtap%d" since it makes intent clearer - add another message cleanup Stephen Hemminger (7): net/tap: use strlcpy for interface name net/tap: allow full length names net/tap: check interface name in kvargs net/tap: lower the priority of log messages net/tap: let kernel choose tun device name net/tap: get rid of global tuntap_name net/tap: don't print pointer in info message drivers/net/tap/rte_eth_tap.c | 118 +++++++++++++++++++++------------- 1 file changed, 73 insertions(+), 45 deletions(-) -- 2.20.1