Re: [RFC PATCH] drivers/net: fix RSS multi-queue mode check

2023-02-28 Thread Ferruh Yigit
On 2/28/2023 1:24 AM, lihuisong (C) wrote: > > 在 2023/2/27 17:57, Ferruh Yigit 写道: >> On 2/27/2023 1:34 AM, lihuisong (C) wrote: >>> 在 2023/2/24 0:04, Ferruh Yigit 写道: 'rxmode.mq_mode' is an enum which should be an abstraction over values, instead of mask it with 'RTE_ETH_MQ_RX_RSS_FLAG'

Re: [RFC PATCH] drivers/net: fix RSS multi-queue mode check

2023-02-27 Thread lihuisong (C)
在 2023/2/27 17:57, Ferruh Yigit 写道: On 2/27/2023 1:34 AM, lihuisong (C) wrote: 在 2023/2/24 0:04, Ferruh Yigit 写道: 'rxmode.mq_mode' is an enum which should be an abstraction over values, instead of mask it with 'RTE_ETH_MQ_RX_RSS_FLAG' to detect if RSS is supported, directly compare with 'RTE_

Re: [RFC PATCH] drivers/net: fix RSS multi-queue mode check

2023-02-27 Thread Ferruh Yigit
On 2/27/2023 1:34 AM, lihuisong (C) wrote: > > 在 2023/2/24 0:04, Ferruh Yigit 写道: >> 'rxmode.mq_mode' is an enum which should be an abstraction over values, >> instead of mask it with 'RTE_ETH_MQ_RX_RSS_FLAG' to detect if RSS is >> supported, directly compare with 'RTE_ETH_MQ_RX_RSS' enum element.

Re: [RFC PATCH] drivers/net: fix RSS multi-queue mode check

2023-02-26 Thread lihuisong (C)
在 2023/2/24 0:04, Ferruh Yigit 写道: 'rxmode.mq_mode' is an enum which should be an abstraction over values, instead of mask it with 'RTE_ETH_MQ_RX_RSS_FLAG' to detect if RSS is supported, directly compare with 'RTE_ETH_MQ_RX_RSS' enum element. Most of the time only 'RTE_ETH_MQ_RX_RSS' is reques

[RFC PATCH] drivers/net: fix RSS multi-queue mode check

2023-02-23 Thread Ferruh Yigit
'rxmode.mq_mode' is an enum which should be an abstraction over values, instead of mask it with 'RTE_ETH_MQ_RX_RSS_FLAG' to detect if RSS is supported, directly compare with 'RTE_ETH_MQ_RX_RSS' enum element. Most of the time only 'RTE_ETH_MQ_RX_RSS' is requested by user, that is why output is almo