From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7FAA4A0552; Mon, 27 Jun 2022 11:27:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26E55400D7; Mon, 27 Jun 2022 11:27:42 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 78405400D5 for ; Mon, 27 Jun 2022 11:27:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656322059; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6om6Dm8rBniAcs2aINVZ50n/0O72VcOQZdxVHQavIQk=; b=Knz8B0hX50GjobrZ/T064XLoWc/SgwdMdqexoZycMSEg0ktq6S8EilXeCY9I/E5dOkZOD4 9iy1RSIkWsq+UfnhENEEKgDg9aqXE6NFpp3WmL90frmQuvggIMBhwcNcLWp0LQH80RHpjk q028n5VywxWIYCCQkUqAm0hyL3IbzOA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-41-OV6ladnCOKOcwDOiPrtKPA-1; Mon, 27 Jun 2022 05:27:38 -0400 X-MC-Unique: OV6ladnCOKOcwDOiPrtKPA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3E98D80029D; Mon, 27 Jun 2022 09:27:38 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.192.104]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6B85918EA3; Mon, 27 Jun 2022 09:27:37 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: maxime.coquelin@redhat.com, chenbo.xia@intel.com Subject: [PATCH 0/4] Vhost logs fixes and improvement Date: Mon, 27 Jun 2022 11:27:24 +0200 Message-Id: <20220627092728.78214-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Here is a series that fixes log messages (with one regression being fixed in patch 2) and changes the VHOST_LOG_* helpers to enforce that vhost log messages will always have some context/prefix to help debugging on setups with many vhost ports. The first three patches are low risk and can probably be merged in v22.07. -- David Marchand David Marchand (4): vhost: add some trailing newline in log messages vhost: restore device information in log messages vhost: improve some datapath log messages vhost: prefix logs with context lib/vhost/iotlb.c | 30 +- lib/vhost/socket.c | 129 ++++----- lib/vhost/vdpa.c | 4 +- lib/vhost/vhost.c | 144 +++++----- lib/vhost/vhost.h | 20 +- lib/vhost/vhost_user.c | 639 +++++++++++++++++++++-------------------- lib/vhost/virtio_net.c | 258 +++++++++-------- 7 files changed, 634 insertions(+), 590 deletions(-) -- 2.36.1