From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 9F84C1B311 for ; Thu, 15 Feb 2018 13:03:29 +0100 (CET) Received: by mail-wm0-f65.google.com with SMTP id x21so398220wmh.0 for ; Thu, 15 Feb 2018 04:03:29 -0800 (PST) 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; bh=zFHGZy/udAkrOBiA4qezhfGPUVoaWpUWXYdTAr4jYbM=; b=BDaLkqYqLjehayHsglYKtnvnppc5yXevn8IOU6NLS4qGZ06JuzmrdpCsZQbhNZz6jo C8LMRepI6Xqc/9j37CMqaNa4tyDYh/UdbYkRbojlBnpFUG00ms5M/uytKbhiI55soTLd iclcZyFdBnUkRIfSjuCaWINuTTxvzaCvXl73Q+4KuVBeuazFTJjcH5Fu6NUILN453VHP sAcQmuAwLX4XAvaJ1DPblEeOan62K22xR7q8dXDhSS+2OLYoLulOBuPYfZJu3OEY7Fwd XSdhwaxMjxCJSs1YEP9MIxitk/aHn1zU70Nk5KaPvlctfZPfwJ6OhBDC4vLDQGpyzJoE dcXg== X-Gm-Message-State: APf1xPAil6Q8IX+RQlZ/3bes/iVOmfgIh/BxMA9Z0kLxi2jhGcy9iDX+ aERVzzOfhz0vz1O/ldZYe8qB9b8g X-Google-Smtp-Source: AH8x225EYlWz9G0hTV12raUTx++vWskpFxbJb+IUPqN3L+bk1VVmzrk7Cnetyen2ZZ3HFGmQAIA6xQ== X-Received: by 10.28.5.10 with SMTP id 10mr1870208wmf.126.1518696209372; Thu, 15 Feb 2018 04:03:29 -0800 (PST) Received: from localhost ([213.251.34.146]) by smtp.gmail.com with ESMTPSA id k13sm13228688wrd.61.2018.02.15.04.03.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 04:03:28 -0800 (PST) From: Luca Boccassi To: Jianfeng Tan Cc: Maxime Coquelin , dpdk stable Date: Thu, 15 Feb 2018 12:03:06 +0000 Message-Id: <20180215120309.28937-4-bluca@debian.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180215120309.28937-1-bluca@debian.org> References: <20180211124911.14557-2-bluca@debian.org> <20180215120309.28937-1-bluca@debian.org> Subject: [dpdk-stable] patch 'net/vhost: fix log messages on create/destroy' has been queued to LTS release 16.11.5 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: Thu, 15 Feb 2018 12:03:29 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/17/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From c950c3ddba913260cb4aec61c282e4fdec4467ca Mon Sep 17 00:00:00 2001 From: Jianfeng Tan Date: Mon, 12 Feb 2018 03:20:26 +0000 Subject: [PATCH] net/vhost: fix log messages on create/destroy [ upstream commit 601e65370a7e41c72e4081d101c706a1e09fcf76 ] The original words are not accurate. For example, as destroy_device callback gets called, it does not necessarily mean that the connection is closed. Fixes: ee584e9710b9 ("vhost: add driver on top of the library") Signed-off-by: Jianfeng Tan Reviewed-by: Maxime Coquelin --- drivers/net/vhost/rte_eth_vhost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c index 328dde081..8fde6030e 100644 --- a/drivers/net/vhost/rte_eth_vhost.c +++ b/drivers/net/vhost/rte_eth_vhost.c @@ -558,7 +558,7 @@ new_device(int vid) rte_atomic32_set(&vq->allow_queuing, 1); } - RTE_LOG(INFO, PMD, "New connection established\n"); + RTE_LOG(INFO, PMD, "Vhost device %d created\n", vid); _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_INTR_LSC, NULL); @@ -625,7 +625,7 @@ destroy_device(int vid) state->max_vring = 0; rte_spinlock_unlock(&state->lock); - RTE_LOG(INFO, PMD, "Connection closed\n"); + RTE_LOG(INFO, PMD, "Vhost device %d destroyed\n", vid); _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_INTR_LSC, NULL); } -- 2.14.2