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 35638A04B1; Tue, 29 Sep 2020 15:52:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 11E181D546; Tue, 29 Sep 2020 15:52:12 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 3BAC41D536 for ; Tue, 29 Sep 2020 15:52:10 +0200 (CEST) Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601387528; 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: in-reply-to:in-reply-to:references:references; bh=04tZOeHt3Gavm1kZWCnU+h52aKdIuizS1hKL5o+XWZk=; b=ONQdVFNXDAYbuLeSgnEapuqmELL8In3YJVIAohRmKkg3Glf0xoBiHOjW29IxpGBdLAxPUL 4LhryM9k13iKZsdeLAp9ovy/gdZDl0OFx8rRHEKVjeZZwA72Rv10rpqIka6NgtozJYqb4S 4daYmneeVTIzSb1/xCGzaGnM2xXJQ8U= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-417-PsJsOtRdOw2_xEHD60Gbrw-1; Tue, 29 Sep 2020 09:52:05 -0400 X-MC-Unique: PsJsOtRdOw2_xEHD60Gbrw-1 Received: by mail-vk1-f197.google.com with SMTP id n18so744220vkq.10 for ; Tue, 29 Sep 2020 06:52:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=04tZOeHt3Gavm1kZWCnU+h52aKdIuizS1hKL5o+XWZk=; b=C6S0ZadjnOxQgLEQdVfV2n527SlNGDy2AVhOgoWCsuKfKBFd8YnCc0eXPGdm6Ci4iJ iy3pJgNbAmrEOy5h6TKq5ooVdzKz79DZUegMwMcHDsM2AgjKqwSScV+uKtrUoLiJKVwe 7PRLZoTmg7SbvbJo7EQKESQ1ABFGiCR84FBjjHhL1Xw61c92x2vyu3ijj7zZK2jD4bpr nFyaAe9v9Da97qC21ssr9sM7VLPRE27MbFg/z7fB3XBBQzS72jaZj0irQogJgV8Rw9aa d05FVajx2dyD/YbX2pEtyHEIX4fQIROeI5FiaXkvES8A/ORR3N36Xb5rrYxMOHI1XcRq fVdQ== X-Gm-Message-State: AOAM531UN6pnf0l8I9uIvMS4xqQ27ADl8CV/bLBrYgle6cgmWyTloc72 J6cmLTft6UTPvJ1hU8cehzUB4nqmbOTnfW4itpLKWUj11TJwa0bjozjQstpxpk+BCS1xvTvEJSk sHqtdAte5BOhyelwxnXo= X-Received: by 2002:a67:fd44:: with SMTP id g4mr3118965vsr.18.1601387525332; Tue, 29 Sep 2020 06:52:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/cUzsbqI9KGAijSkWJVaKeGXv8T/v12mRbKl9vbYuRhtHtiEZ+c5NCSq3cSOfolmza6XMeRucyjdSvNEhweE= X-Received: by 2002:a67:fd44:: with SMTP id g4mr3118950vsr.18.1601387525058; Tue, 29 Sep 2020 06:52:05 -0700 (PDT) MIME-Version: 1.0 References: <20200910152645.9342-2-cristian.dumitrescu@intel.com> <20200923180645.55852-1-cristian.dumitrescu@intel.com> <20200923180645.55852-39-cristian.dumitrescu@intel.com> In-Reply-To: <20200923180645.55852-39-cristian.dumitrescu@intel.com> From: David Marchand Date: Tue, 29 Sep 2020 15:51:54 +0200 Message-ID: To: Cristian Dumitrescu Cc: dev , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v5 38/41] examples/pipeline: add configuration commands 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" Caught while diffing with ip_pipeline code. On Wed, Sep 23, 2020 at 8:07 PM Cristian Dumitrescu wrote: [snip] > + snprintf(out, out_size, > + "\n" > + "%s: flags=<%s> mtu %u\n" > + "\tether %02X:%02X:%02X:%02X:%02X:%02X rxqueues %u txqueues %u\n" > + "\tport# %u speed %u Mbps\n" + "\tport# %u speed %s\n" > + "\tRX packets %" PRIu64" bytes %" PRIu64"\n" > + "\tRX errors %" PRIu64" missed %" PRIu64" no-mbuf %" PRIu64"\n" > + "\tTX packets %" PRIu64" bytes %" PRIu64"\n" > + "\tTX errors %" PRIu64"\n", > + link->name, > + eth_link.link_status == 0 ? "DOWN" : "UP", > + mtu, > + mac_addr.addr_bytes[0], mac_addr.addr_bytes[1], > + mac_addr.addr_bytes[2], mac_addr.addr_bytes[3], > + mac_addr.addr_bytes[4], mac_addr.addr_bytes[5], > + link->n_rxq, > + link->n_txq, > + link->port_id, > + eth_link.link_speed, + rte_eth_link_speed_to_str(eth_link.link_speed), > + stats.ipackets, > + stats.ibytes, > + stats.ierrors, > + stats.imissed, > + stats.rx_nombuf, > + stats.opackets, > + stats.obytes, > + stats.oerrors); -- David Marchand