Re: [PATCH v8 02/10] lib/ethdev: check RSS key length

2023-11-01 Thread Jie Hai
On 2023/11/1 21:19, Ferruh Yigit wrote: On 11/1/2023 7:40 AM, Jie Hai wrote: In rte_eth_dev_rss_hash_conf_get(), the "rss_key_len" should be greater than or equal to the "hash_key_size" which get from rte_eth_dev_info_get() API. And the "rss_key" should contain at least "hash_key_size" bytes. If

Re: [PATCH v8 02/10] lib/ethdev: check RSS key length

2023-11-01 Thread Ferruh Yigit
On 11/1/2023 7:40 AM, Jie Hai wrote: > In rte_eth_dev_rss_hash_conf_get(), the "rss_key_len" should be > greater than or equal to the "hash_key_size" which get from > rte_eth_dev_info_get() API. And the "rss_key" should contain at > least "hash_key_size" bytes. If these requirements are not met, >

Re: [PATCH v8 02/10] lib/ethdev: check RSS key length

2023-11-01 Thread lihuisong (C)
在 2023/11/1 15:40, Jie Hai 写道: In rte_eth_dev_rss_hash_conf_get(), the "rss_key_len" should be greater than or equal to the "hash_key_size" which get from rte_eth_dev_info_get() API. And the "rss_key" should contain at least "hash_key_size" bytes. If these requirements are not met, the query un

[PATCH v8 02/10] lib/ethdev: check RSS key length

2023-11-01 Thread Jie Hai
In rte_eth_dev_rss_hash_conf_get(), the "rss_key_len" should be greater than or equal to the "hash_key_size" which get from rte_eth_dev_info_get() API. And the "rss_key" should contain at least "hash_key_size" bytes. If these requirements are not met, the query unreliable. In rte_eth_dev_rss_hash_