Projects
home:Eustace:branches:Eulaceura:Factory
dpdk
_service:obs_scm:0034-app-testpmd-fix-RSS-algor...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0034-app-testpmd-fix-RSS-algorithm-choice.patch of Package dpdk
From 7934d8f5a33d2d8146ca429d33dabf3806c87c2d Mon Sep 17 00:00:00 2001 From: Jie Hai <haijie1@huawei.com> Date: Fri, 15 Mar 2024 11:00:53 +0800 Subject: [PATCH 32/33] app/testpmd: fix RSS algorithm choice [ upstream commit 74345424a92f14acc608b36b09cb27b84e3a35aa ] The RSS algorithm from user is parsed but not passed to the rte_eth_dev_rss_hash_update() API as we wanted, this patch fixes it. Fixes: 3da59f30a23f ("app/testpmd: set RSS hash algorithm") Cc: stable@dpdk.org Signed-off-by: Jie Hai <haijie1@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@amd.com> --- app/test-pmd/cmdline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index f704319..8ef116c 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -2316,6 +2316,7 @@ cmd_config_rss_hash_algo_parsed(void *parsed_result, return; } + rss_conf.algorithm = algorithm; ret = rte_eth_dev_rss_hash_update(res->port_id, &rss_conf); if (ret != 0) { fprintf(stderr, "failed to set port %u RSS hash algorithm\n", -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2