From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id B92111B1B6 for ; Wed, 24 Jan 2018 16:40:07 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6BC6D226D2; Wed, 24 Jan 2018 10:40:07 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:40:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=mV86fM98A7nVcxFey 3lzpZPNiHgqhNkS9unYmoLJ+fc=; b=GLUdwCS+3KwLZuQUN7Vtg+T57iWByLhE1 26r4imiJps0NT+8wlv7f/oGHtTVnkHiV1xUZjYvJfeDHQYnMCGxFocoQBSJa9QoD dcxe0JaB1eP/Kom43MdVQxcf+F6/+O6UNwtcJxaPzFQfQK1NjUix7OrbXRpBapfY CNBRmuof/Ri1o/lLGAT3UWuZRn0ZI0j50u9UnTwsfLezkRPPeMcDsjuibYiYeOQc X+5yfVRCl7uSNf+/tE1kY9/ZD8EIVdGCbursp5VN+0Fi6NBeFQfZ6ko5EjPIbddn G5fvGuw19WKNNyqHfmF7CEePghejlJTkV+SZ/cgtUUEVun1u8fxuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=mV86fM98A7nVcxFey3lzpZPNiHgqhNkS9unYmoLJ+fc=; b=aWyRbjVl c39XiIQYSpn4iD22DbJV1v3m84Xgmjhupr8bS0LANa7Jd6ngU6ggwPH//IbsMV8O dszOhmN/WwXmpyCFCjSI7TncTLHEkzivINvYaCG4m6wimYQ7JABxc9f7LEaPisLB JFvsWpi5qDepgIoeSG07DIlGhz0oaURtr+WaxxwGDZrTNgRRHpvvb5fIGmSWYHvA U4G84ZehMENqU8GhylZtT4MC6EqnxwAbvxPejvK1Urv/avfHc1fwJCbl0dl9sbJy URnGUBaEyVubpyMkjSjzg7QWACzy6ffzLqHYqGuRQ3MxR/xWIuYLj7oAYorOKT96 y38oeTTTKHVLyg== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 4FCC47E1A2; Wed, 24 Jan 2018 10:40:04 -0500 (EST) From: Yuanhan Liu To: Vipin Varghese Cc: Ferruh Yigit , dpdk stable Date: Wed, 24 Jan 2018 23:32:43 +0800 Message-Id: <1516808026-25523-95-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/pcap: fix the NUMA id display in logs' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:40:07 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From eeacf1f62b50842246687a005f879b91e425456b Mon Sep 17 00:00:00 2001 From: Vipin Varghese Date: Fri, 22 Dec 2017 10:08:20 +0530 Subject: [PATCH] net/pcap: fix the NUMA id display in logs [ upstream commit c5097d53613779c156b548ee4097b59c3c8e611d ] On single NUMA device the log information shows as boundary value instead of -1. The change brings in unsigned to signed. Fixes: 4c173302c307 ("pcap: add new driver") Signed-off-by: Vipin Varghese Acked-by: Ferruh Yigit --- drivers/net/pcap/rte_eth_pcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index 3efb451..3385d04 100644 --- a/drivers/net/pcap/rte_eth_pcap.c +++ b/drivers/net/pcap/rte_eth_pcap.c @@ -806,7 +806,7 @@ pmd_init_internals(struct rte_vdev_device *vdev, const char *name; name = rte_vdev_device_name(vdev); - RTE_LOG(INFO, PMD, "Creating pcap-backed ethdev on numa socket %u\n", + RTE_LOG(INFO, PMD, "Creating pcap-backed ethdev on numa socket %d\n", numa_node); /* now do all data allocation - for eth_dev structure @@ -1036,7 +1036,7 @@ pmd_pcap_remove(struct rte_vdev_device *dev) { struct rte_eth_dev *eth_dev = NULL; - RTE_LOG(INFO, PMD, "Closing pcap ethdev on numa socket %u\n", + RTE_LOG(INFO, PMD, "Closing pcap ethdev on numa socket %d\n", rte_socket_id()); if (!dev) -- 2.7.4