Thread (76 messages) 76 messages, 7 authors, 2021-10-15

Re: [dpdk-dev] [PATCH v8 2/2] app/testpmd: fix testpmd doesn't show RSS hash offload

From: Li, Xiaoyun <hidden>
Date: 2021-08-30 05:58:01

-----Original Message-----
From: Wang, Jie1X <redacted>
Sent: Friday, August 27, 2021 16:18
To: dev@dpdk.org
Cc: Li, Xiaoyun <redacted>; andrew.rybchenko@oktetlabs.ru;
thomas@monjalon.net; Yigit, Ferruh [off-list ref]; Wang, Jie1X
[off-list ref]
Subject: [PATCH v8 2/2] app/testpmd: fix testpmd doesn't show RSS hash
offload

The driver may change offloads info into dev->data->dev_conf in dev_configure
which may cause port->dev_conf and port->rx_conf contain outdated values.

This patch updates the offloads info if it changes to fix this issue.

Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")

Signed-off-by: Jie Wang <redacted>
---
 app/test-pmd/testpmd.c | 34 ++++++++++++++++++++++++++++++++++
 app/test-pmd/testpmd.h |  2 ++
 app/test-pmd/util.c    | 15 +++++++++++++++
 3 files changed, 51 insertions(+)
Acked-by: Xiaoyun Li <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help