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 E0A9FA04C5; Sat, 5 Sep 2020 19:01:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4652F1C0BF; Sat, 5 Sep 2020 19:01:01 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id C875D1C0B3 for ; Sat, 5 Sep 2020 19:00:59 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id 31so5911526pgy.13 for ; Sat, 05 Sep 2020 10:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=87t+/CK39AxwzqA4nrbGl8vPwUZrBfR8lOVipZuJd6g=; b=tnptNEO2PsVF3xnmkkmZVAXYwKdVT6wjCMSv2i8Yg9k4YUdeyoNWJ7oTcshfK4I7uN MpyPjKQGV02MhsVS4bk2KfHvFVyEUfB+6APLcHhWTrmH6xvjn2OJYADgmC0EcOtlpf6v hgXQafnNPtfffQspoHmz1RXG2ol2PxsxxEbBuiSqyrUPy+1h54doRSpteApqqq4+oa+i SCXgl4WT0EsMdLVJxX+2b4AUBh8IH8rAQHctwV7BteWbSlImVFoJ+g65vE/mJtJF2MKF IC1FHoAlDXFdCvg17MzI3uVYIhLz/LpY9IaybCwNlB7vOJHvhV0Nxz5rr3GvXZDG9e+u qArw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=87t+/CK39AxwzqA4nrbGl8vPwUZrBfR8lOVipZuJd6g=; b=WqPMEYGKHJPCO66+HsZiQdT45x/spCRH1zX8NXdR0MEqlRcJYA5TXfY1sJRP6+PjuM 3Eas7agV8W3whRnuxS6YKcvaw0Bhh9ngvxv4TEej9UBWHogjzSmQOo8rKYhrZ5FNJjlV aMODztTEur59rYYFktjWHY97Y0qAbEnSe8OGgqMy2pt/eOS1XW/fgaoCSlYWL9RuAZez OvITQLT3r+ZtAiGRlHjydVKTIf2tdhCoznx76dfGOE4wNq9Xb0ighoJ7uCHT96DpqPMq DBVbMhlSV72/k+6cx4YNyfgWyOrpSZK3e4mHNbNjzVeWeCgD3Z4jpa+ziYtMu/Rkm6sL qxlQ== X-Gm-Message-State: AOAM533sR6GfH6WST6RjJcLEeEuGJ0NLjXxlJGD8kgypLgK8qaXYJNJj GGRhvVBY7SfJvp+duZuv0tjmHA== X-Google-Smtp-Source: ABdhPJxvQrBtcXbpag61VjfDm8tNzFPt5Lm6kW1lBqgxrJ2S3+19L2Jp2OxqQC1Jr2VX0784Ov01yw== X-Received: by 2002:a63:fc41:: with SMTP id r1mr11201932pgk.179.1599325258930; Sat, 05 Sep 2020 10:00:58 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id b20sm10856691pfb.198.2020.09.05.10.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Sep 2020 10:00:58 -0700 (PDT) Date: Sat, 5 Sep 2020 09:59:57 -0700 From: Stephen Hemminger To: Chengchang Tang Cc: , , , , , , Message-ID: <20200905095859.743243bb@hermes.lan> In-Reply-To: <1599296854-56620-4-git-send-email-tangchengchang@huawei.com> References: <1592483709-7076-1-git-send-email-tangchengchang@huawei.com> <1599296854-56620-1-git-send-email-tangchengchang@huawei.com> <1599296854-56620-4-git-send-email-tangchengchang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 3/5] app/procinfo: add Rx buffer size to --show-port 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" On Sat, 5 Sep 2020 17:07:32 +0800 Chengchang Tang wrote: > printf("\t -- queue %d rx scatter %d" > " descriptors %d" > + " rx buffer size %d" > " offloads 0x%"PRIx64 > " mempool socket %d\n", > j, > queue_info.scattered_rx, > queue_info.nb_desc, > + queue_info.rx_buf_size, > queue_info.conf.offloads, > queue_info.mp->socket_id); > } These should be using %u and need space after " for PRIx64 Why not: printf("\t -- queue %u rx scatter %u" " descriptors %u" " rx buffer size %u" " offloads %#" PRIx64 " mempool socket %d\n",