From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C0CEAA318B for ; Fri, 18 Oct 2019 10:26:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D4CEC1C11E; Fri, 18 Oct 2019 10:26:57 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 824EC1C11D for ; Fri, 18 Oct 2019 10:26:56 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C3204307D986; Fri, 18 Oct 2019 08:26:55 +0000 (UTC) Received: from amorenoz.users.ipa.redhat.com (ovpn-117-5.ams2.redhat.com [10.36.117.5]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C1D55D9D5; Fri, 18 Oct 2019 08:26:51 +0000 (UTC) From: Adrian Moreno To: dev@dpdk.org Cc: tiwei.bie@intel.com, zhihong.wang@intel.com, maxime.coquelin@redhat.com, Adrian Moreno Date: Fri, 18 Oct 2019 10:26:37 +0200 Message-Id: <20191018082638.4463-1-amorenoz@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Fri, 18 Oct 2019 08:26:55 +0000 (UTC) Subject: [dpdk-dev] [RFC PATCH 0/1] vhost: Add dynamic log tracing 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, Current logging in vhost library has two important limitations: - dapatath and control logs path use the same log level - both paths are compiled out by default This patch (targeting 20.2), changes the logging system in librte_vhost to overcome these limitations. Cc: maxime.coquelin@redhat.com Adrian Moreno (1): vhost: Add dynamic logging system lib/librte_vhost/iotlb.c | 10 +-- lib/librte_vhost/socket.c | 76 ++++++++-------- lib/librte_vhost/vhost.c | 30 +++++-- lib/librte_vhost/vhost.h | 24 ++++-- lib/librte_vhost/vhost_user.c | 158 +++++++++++++++++----------------- lib/librte_vhost/virtio_net.c | 40 ++++----- 6 files changed, 179 insertions(+), 159 deletions(-) -- 2.21.0