From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id B829211A4 for ; Tue, 20 Nov 2018 22:14:01 +0100 (CET) Received: by mail-pl1-f195.google.com with SMTP id e5so2111281plb.5 for ; Tue, 20 Nov 2018 13:14:01 -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:mime-version :content-transfer-encoding; bh=r7Apa6a9JMC0a0yXAvJCtHIQDl7z7EgofDRY9tyU/EY=; b=LuUZlRE5lsohoUKMU47p0Rrgs/UjPcXWgcMtuYjBxKtnJIIvu/8w7Mi4EwHUnpDQKF eB673FhyGbghIlzRQnO24jDTog+iUHVZACXltETYvWWiwH0UT1MNinDe0u0V9634cntB VV9F6k6gyTJq1NkO7NV1jacMLFMNc8tq7TYE5oo8Db0dGYyz4dFjjRXy4NBB3zoJDKVy Jcni4Qq6jlCJd0kgtjYBWsCmRasfNJLGtJSS/uFM+hga9PwoF00TzwVVOz+W6qTaSb9U QVgDMNRVvuAZB1ldNljQxmtFjxd77jIZJpr00dM7qbNH0W4zGjOLBjUnl/sJLrA2/ANe ngvg== 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:mime-version :content-transfer-encoding; bh=r7Apa6a9JMC0a0yXAvJCtHIQDl7z7EgofDRY9tyU/EY=; b=nW98L5MahLlZlmf6G8D+K38dyEthDg0r3FWDlFrPcWwidj+s+wwSHj7u/4qBQeNamt AVvZWr6uHauqSLKkk0zl5bLn9qWlvUK9NpJ1dfeQmQP0IgJBcP2kb4Rurh1npiQ5Fi9n nv/RFrNGQonJ4xWCi5RVlWTSR/soLCL5Am/RbbkdAD3p2q1xF0p2w4HYXXKJ5QWzV2qy F4dv/5ac4o/s+tU3noJukgKhs3gnhcmFwqiceaeTgdhq40ayT6eBPukHx47YV0t79Lnn gyI8AhhXH+S1LkNmHDJaMJO+Fs5j+8v9tzmWt5wcxPUqG/M+ZtByQ6ApHqslzgu6X8Ra o6ow== X-Gm-Message-State: AA+aEWZoJ5Uk8vOXXiBniCFfU7MXs2G88lnCDQFH/xWKLzLbh7RbKK16 94gpkGE0+m4Fn88yKL2B5pByYQ== X-Google-Smtp-Source: AFSGD/XddkX7vY8e79k5lYDzcqLJkSlWV2ZTPoOcw0vRzuCkKc2GFkOAMGgTrYFQjr9aH+OJkGsueA== X-Received: by 2002:a17:902:1745:: with SMTP id i63mr1412714pli.145.1542748440773; Tue, 20 Nov 2018 13:14:00 -0800 (PST) Received: from xeon-e3.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id u76-v6sm64697330pfa.176.2018.11.20.13.13.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 13:13:59 -0800 (PST) From: Stephen Hemminger To: matan@mellanox.com Cc: dev@dpdk.org, Stephen Hemminger Date: Tue, 20 Nov 2018 13:13:51 -0800 Message-Id: <20181120211351.17761-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] net/vdev_netvsc: get rid of unnecessary debug log message 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: Tue, 20 Nov 2018 21:14:02 -0000 If vdev_netvsc is run with debug logging enabled, then the log output will fill with: net_vdev_netvsc: interface lo is non-ethernet device Remove the message since it is not useful. Signed-off-by: Stephen Hemminger --- drivers/net/vdev_netvsc/vdev_netvsc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/vdev_netvsc/vdev_netvsc.c b/drivers/net/vdev_netvsc/vdev_netvsc.c index 16303ef5ef9b..ba63fac2a598 100644 --- a/drivers/net/vdev_netvsc/vdev_netvsc.c +++ b/drivers/net/vdev_netvsc/vdev_netvsc.c @@ -191,11 +191,8 @@ vdev_netvsc_foreach_iface(int (*func)(const struct if_nameindex *iface, req.ifr_name, rte_strerror(errno)); continue; } - if (req.ifr_hwaddr.sa_family != ARPHRD_ETHER) { - DRV_LOG(DEBUG, "interface %s is non-ethernet device", - req.ifr_name); + if (req.ifr_hwaddr.sa_family != ARPHRD_ETHER) continue; - } memcpy(eth_addr.addr_bytes, req.ifr_hwaddr.sa_data, RTE_DIM(eth_addr.addr_bytes)); va_start(ap, is_netvsc); -- 2.19.1