[dpdk-stable] patch 'app/testpmd: fix show port info routine' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Wed Aug 28 15:41:57 CEST 2019


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 <viacheslavo at mellanox.com>
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 <viacheslavo at mellanox.com>
Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>
---
 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 at 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)


More information about the stable mailing list