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 B6E8AA0613 for ; Wed, 28 Aug 2019 15:43:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC9DC1C229; Wed, 28 Aug 2019 15:43:13 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id C8B281C246 for ; Wed, 28 Aug 2019 15:43:11 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 47E073175296; Wed, 28 Aug 2019 13:43:11 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-52.ams2.redhat.com [10.36.117.52]) by smtp.corp.redhat.com (Postfix) with ESMTP id 33149196AE; Wed, 28 Aug 2019 13:43:10 +0000 (UTC) From: Kevin Traynor To: Viacheslav Ovsiienko Cc: Bernard Iremonger , dpdk stable Date: Wed, 28 Aug 2019 14:41:57 +0100 Message-Id: <20190828134234.20547-21-ktraynor@redhat.com> In-Reply-To: <20190828134234.20547-1-ktraynor@redhat.com> References: <20190828134234.20547-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Wed, 28 Aug 2019 13:43:11 +0000 (UTC) Subject: [dpdk-stable] patch 'app/testpmd: fix show port info routine' has been queued to LTS release 18.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 09/04/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/670186ca388665c07ecb7ee2052d0cc9276683b6 Thanks. Kevin Traynor --- >From 670186ca388665c07ecb7ee2052d0cc9276683b6 Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Tue, 16 Jul 2019 10:34:34 +0000 Subject: [PATCH] app/testpmd: fix show port info routine [ upstream commit a1be9d7dfc0c1ae6bf70fe234458ad4f90cf14f4 ] This patch updates "show port info [port_id]" command to display the tx_desc_lim.nb_seg_max and tx_desc_lim.nb_mtu_seg_max fields of rte_eth_dev_info structure. Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") Signed-off-by: Viacheslav Ovsiienko Acked-by: Bernard Iremonger --- app/test-pmd/config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 4004e3a49..4870b9004 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -511,4 +511,8 @@ port_infos_display(portid_t port_id) dev_info.tx_desc_lim.nb_min); printf("TXDs number alignment: %hu\n", dev_info.tx_desc_lim.nb_align); + printf("Max segment number per packet: %hu\n", + dev_info.tx_desc_lim.nb_seg_max); + printf("Max segment number per MTU/TSO: %hu\n", + dev_info.tx_desc_lim.nb_mtu_seg_max); /* Show switch info only if valid switch domain and port id is set */ -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-08-28 14:32:33.029764137 +0100 +++ 0022-app-testpmd-fix-show-port-info-routine.patch 2019-08-28 14:32:31.632957561 +0100 @@ -1 +1 @@ -From a1be9d7dfc0c1ae6bf70fe234458ad4f90cf14f4 Mon Sep 17 00:00:00 2001 +From 670186ca388665c07ecb7ee2052d0cc9276683b6 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit a1be9d7dfc0c1ae6bf70fe234458ad4f90cf14f4 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 1d804705d..ba43be52e 100644 +index 4004e3a49..4870b9004 100644 @@ -23 +24 @@ -@@ -510,4 +510,8 @@ port_infos_display(portid_t port_id) +@@ -511,4 +511,8 @@ port_infos_display(portid_t port_id)