[PATCH v2 1/9] vhost: improve IOTLB logs

Xia, Chenbo chenbo.xia at intel.com
Wed Jan 26 04:26:33 CET 2022


> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Tuesday, January 25, 2022 7:25 PM
> To: dev at dpdk.org; Xia, Chenbo <chenbo.xia at intel.com>;
> david.marchand at redhat.com
> Cc: Maxime Coquelin <maxime.coquelin at redhat.com>
> Subject: [PATCH v2 1/9] vhost: improve IOTLB logs
> 
> This patch adds IOTLB mempool name when logging debug
> or error messages, and also prepends the socket path.
> to all the logs.
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
>  lib/vhost/iotlb.c      | 26 +++++++++++++++-----------
>  lib/vhost/iotlb.h      | 10 +++++-----
>  lib/vhost/vhost.c      |  2 +-
>  lib/vhost/vhost_user.c |  2 +-
>  4 files changed, 22 insertions(+), 18 deletions(-)
> 
> diff --git a/lib/vhost/iotlb.c b/lib/vhost/iotlb.c
> index 82bdb84526..afa86d7c2b 100644
> --- a/lib/vhost/iotlb.c
> +++ b/lib/vhost/iotlb.c
> --
> 2.34.1

Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>



More information about the dev mailing list