Skip to contentSkip to conversation

app/testpmd: clarify flow types in port info

PATCH In review Ferruh Yigit 2 participants 3 messages Oct 4, 2018 – Oct 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/testpmd: clarify flow types in port info

In "show port info #" cmd output, "Supported flow types:" part is not clear what flow types are listed.

Those are flow types that hash calculation offload supported by NIC. Updated command output as "Supported RSS offload flow types:"

---
 app/test-pmd/config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
app/test-pmd/config.c +2 -2
index 009c92c7a..c6311d819 100644
@@ -461,12 +461,12 @@ port_infos_display(portid_t port_id)
 	if (dev_info.reta_size > 0)
 		printf("Redirection table size: %u\n", dev_info.reta_size);
 	if (!dev_info.flow_type_rss_offloads)
-		printf("No flow type is supported.\n");
+		printf("No RSS offload flow type is supported.\n");
 	else {
 		uint16_t i;
 		char *p;
 
-		printf("Supported flow types:\n");
+		printf("Supported RSS offload flow types:\n");
 		for (i = RTE_ETH_FLOW_UNKNOWN + 1;
 		     i < sizeof(dev_info.flow_type_rss_offloads) * CHAR_BIT; i++) {
 			if (!(dev_info.flow_type_rss_offloads & (1ULL << i)))
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Yigit, Ferruh
Sent: Thursday, October 4, 2018 7:44 PM
To: Lu, Wenzhuo <[email protected]>; Wu, Jingjing <[email protected]>; Iremonger, Bernard <[email protected]>
Cc: [email protected]; Yigit, Ferruh <[email protected]>
Subject: [PATCH] app/testpmd: clarify flow types in port info

Quoted 7 lines

In "show port info #" cmd output, "Supported flow types:" part is not clear what flow types are listed.

Those are flow types that hash calculation offload supported by NIC. Updated command output as "Supported RSS offload flow types:"

#2 lore raw
Quoted 13 lines · Bernard
Quoted 13 lines

-----Original Message-----
From: Yigit, Ferruh
Sent: Thursday, October 4, 2018 7:44 PM
To: Lu, Wenzhuo <[email protected]>; Wu, Jingjing <[email protected]>; Iremonger, Bernard <[email protected]>
Cc: [email protected]; Yigit, Ferruh <[email protected]>
Subject: [PATCH] app/testpmd: clarify flow types in port info

In "show port info #" cmd output, "Supported flow types:" part is not clear what flow types are listed.

Quoted 6 lines
Quoted 4 lines

Those are flow types that hash calculation offload supported by NIC. Updated command output as "Supported RSS offload flow types:"

Series applied to dpdk-next-net/master, thanks.