From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Jie Hai <haijie1@huawei.com>,
thomas@monjalon.net, dev@dpdk.org, andrew.rybchenko@oktetlabs.ru
Cc: fengchengwen@huawei.com, lihuisong@huawei.com
Subject: Re: [RESEND 2/2] app/testpmd: support set RSS hash algorithm
Date: Thu, 30 Nov 2023 11:38:52 +0000 [thread overview]
Message-ID: <fa5f93d9-c989-4146-8ea3-9ad15fdf5bb5@amd.com> (raw)
In-Reply-To: <20231130104415.1064644-3-haijie1@huawei.com>
On 11/30/2023 10:44 AM, Jie Hai wrote:
> +static void
> +cmd_config_rss_hash_algo_parsed(void *parsed_result,
> + __rte_unused struct cmdline *cl,
> + __rte_unused void *data)
> +{
> + struct cmd_config_rss_hash_algo *res = parsed_result;
> + uint8_t rss_key[RSS_HASH_KEY_LENGTH];
> + struct rte_eth_rss_conf rss_conf;
> + int ret;
> +
> + rss_conf.rss_key_len = RSS_HASH_KEY_LENGTH;
> + rss_conf.rss_key = rss_key;
> + ret = rte_eth_dev_rss_hash_conf_get(res->port_id, &rss_conf);
> + if (ret != 0) {
> + fprintf(stderr, "failed to get port %u RSS confinguration\n",
>
s/confinguration/configuration/
next prev parent reply other threads:[~2023-11-30 11:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-22 9:48 [PATCH 0/2] " Jie Hai
2023-11-22 9:48 ` [PATCH 1/2] ethdev: add new API to get RSS hash algorithm by name Jie Hai
2023-11-22 9:48 ` [PATCH 2/2] app/testpmd: support set RSS hash algorithm Jie Hai
2023-11-22 10:46 ` [PATCH 0/2] " Ferruh Yigit
2023-11-23 6:32 ` Jie Hai
2023-11-30 9:02 ` Ferruh Yigit
2023-11-30 10:01 ` Jie Hai
2023-11-30 10:44 ` [RESEND " Jie Hai
2023-11-30 10:44 ` [RESEND 1/2] ethdev: add new API to get RSS hash algorithm by name Jie Hai
2023-11-30 11:23 ` Ferruh Yigit
2023-11-30 10:44 ` [RESEND 2/2] app/testpmd: support set RSS hash algorithm Jie Hai
2023-11-30 11:37 ` Ferruh Yigit
2023-11-30 11:38 ` Ferruh Yigit [this message]
2023-12-01 8:52 ` [PATCH v2 0/2] " Jie Hai
2023-12-01 8:52 ` [PATCH v2 1/2] ethdev: add new API to get RSS hash algorithm by name Jie Hai
2023-12-01 8:52 ` [PATCH v2 2/2] app/testpmd: support set RSS hash algorithm Jie Hai
2023-12-01 11:26 ` Ferruh Yigit
2023-12-04 13:57 ` [PATCH v2 0/2] " Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fa5f93d9-c989-4146-8ea3-9ad15fdf5bb5@amd.com \
--to=ferruh.yigit@amd.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=dev@dpdk.org \
--cc=fengchengwen@huawei.com \
--cc=haijie1@huawei.com \
--cc=lihuisong@huawei.com \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).