DPDK patches and discussions
 help / color / mirror / Atom feed
* virtio: RSS support capa
@ 2024-09-06 19:38 Morten Brørup
  2024-09-07 20:55 ` Morten Brørup
  0 siblings, 1 reply; 9+ messages in thread
From: Morten Brørup @ 2024-09-06 19:38 UTC (permalink / raw)
  To: maxime.coquelin, Chenbo Xia; +Cc: dev

Maxime, Chenbo,

If the virtio PMD supports RSS, it should be announced in its capabilities.

I think this should be added to virtio_dev_info_get():

	if (host_features & (1ULL << VIRTIO_NET_F_RSS))
		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_RSS_HASH;


Med venlig hilsen / Kind regards,
-Morten Brørup


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: virtio: RSS support capa
  2024-09-06 19:38 virtio: RSS support capa Morten Brørup
@ 2024-09-07 20:55 ` Morten Brørup
  2024-09-08  8:32   ` Andrew Rybchenko
  0 siblings, 1 reply; 9+ messages in thread
From: Morten Brørup @ 2024-09-07 20:55 UTC (permalink / raw)
  To: maxime.coquelin, Chenbo Xia, thomas, Ferruh Yigit, andrew.rybchenko; +Cc: dev

> From: Morten Brørup [mailto:mb@smartsharesystems.com]
> Sent: Friday, 6 September 2024 21.38
> 
> Maxime, Chenbo,
> 
> If the virtio PMD supports RSS, it should be announced in its
> capabilities.
> 
> I think this should be added to virtio_dev_info_get():
> 
> 	if (host_features & (1ULL << VIRTIO_NET_F_RSS))
> 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_RSS_HASH;

Or perhaps I'm misunderstanding this capability flag.

I thought it indicated RSS ability, i.e. multi-queue, effectively shadowing rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG.
But maybe it doesn't. Maybe it indicates the ability to store the RSS hash value in the mbuf.

The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented.

Can someone please clarify?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: virtio: RSS support capa
  2024-09-07 20:55 ` Morten Brørup
@ 2024-09-08  8:32   ` Andrew Rybchenko
  2024-09-11 12:17     ` Morten Brørup
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Rybchenko @ 2024-09-08  8:32 UTC (permalink / raw)
  To: Morten Brørup, maxime.coquelin, Chenbo Xia, thomas, Ferruh Yigit; +Cc: dev

On 9/7/24 23:55, Morten Brørup wrote:
>> From: Morten Brørup [mailto:mb@smartsharesystems.com]
>> Sent: Friday, 6 September 2024 21.38
>>
>> Maxime, Chenbo,
>>
>> If the virtio PMD supports RSS, it should be announced in its
>> capabilities.
>>
>> I think this should be added to virtio_dev_info_get():
>>
>> 	if (host_features & (1ULL << VIRTIO_NET_F_RSS))
>> 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_RSS_HASH;
> 
> Or perhaps I'm misunderstanding this capability flag.
> 
> I thought it indicated RSS ability, i.e. multi-queue, effectively shadowing rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG.
> But maybe it doesn't. Maybe it indicates the ability to store the RSS hash value in the mbuf.
> 
> The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented.
> 
> Can someone please clarify?
>
RTE_ETH_RX_OFFLOAD_RSS_HASH means that the driver can provide RSS hash
value in mbuf (it makes sense if HW can provide it to the driver).

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: virtio: RSS support capa
  2024-09-08  8:32   ` Andrew Rybchenko
@ 2024-09-11 12:17     ` Morten Brørup
  2024-09-11 13:20       ` Thomas Monjalon
  0 siblings, 1 reply; 9+ messages in thread
From: Morten Brørup @ 2024-09-11 12:17 UTC (permalink / raw)
  To: Andrew Rybchenko, thomas, Ferruh Yigit; +Cc: dev, maxime.coquelin, Chenbo Xia

> From: Andrew Rybchenko [mailto:andrew.rybchenko@oktetlabs.ru]
> Sent: Sunday, 8 September 2024 10.33
> 
> On 9/7/24 23:55, Morten Brørup wrote:
> >> From: Morten Brørup [mailto:mb@smartsharesystems.com]
> >> Sent: Friday, 6 September 2024 21.38
> >>
> >> Maxime, Chenbo,
> >>
> >> If the virtio PMD supports RSS, it should be announced in its
> >> capabilities.
> >>
> >> I think this should be added to virtio_dev_info_get():
> >>
> >> 	if (host_features & (1ULL << VIRTIO_NET_F_RSS))
> >> 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_RSS_HASH;
> >
> > Or perhaps I'm misunderstanding this capability flag.
> >
> > I thought it indicated RSS ability, i.e. multi-queue, effectively shadowing
> rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG.
> > But maybe it doesn't. Maybe it indicates the ability to store the RSS hash
> value in the mbuf.
> >
> > The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented.
> >
> > Can someone please clarify?
> >
> RTE_ETH_RX_OFFLOAD_RSS_HASH means that the driver can provide RSS hash
> value in mbuf (it makes sense if HW can provide it to the driver).

OK, thanks.

Then what indicates this ethdev capability: Use RSS to distribute packets into multiple RX queues?
I.e. what to check before setting rte_eth_conf.rxmode.mq_mode=RTE_ETH_MQ_RX_RSS_FLAG?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: virtio: RSS support capa
  2024-09-11 12:17     ` Morten Brørup
@ 2024-09-11 13:20       ` Thomas Monjalon
  2024-09-11 14:02         ` Ferruh Yigit
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Monjalon @ 2024-09-11 13:20 UTC (permalink / raw)
  To: Andrew Rybchenko, Ferruh Yigit, Morten Brørup
  Cc: dev, maxime.coquelin, Chenbo Xia

11/09/2024 14:17, Morten Brørup:
> From: Andrew Rybchenko [mailto:andrew.rybchenko@oktetlabs.ru]
> > On 9/7/24 23:55, Morten Brørup wrote:
> > >> From: Morten Brørup [mailto:mb@smartsharesystems.com]
> > >> 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_RSS_HASH;
> > >
> > > Or perhaps I'm misunderstanding this capability flag.
> > >
> > > I thought it indicated RSS ability, i.e. multi-queue, effectively shadowing
> > rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG.
> > > But maybe it doesn't. Maybe it indicates the ability to store the RSS hash
> > value in the mbuf.
> > >
> > > The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented.
> > >
> > > Can someone please clarify?
> > >
> > RTE_ETH_RX_OFFLOAD_RSS_HASH means that the driver can provide RSS hash
> > value in mbuf (it makes sense if HW can provide it to the driver).
> 
> OK, thanks.
> 
> Then what indicates this ethdev capability: Use RSS to distribute packets into multiple RX queues?
> I.e. what to check before setting rte_eth_conf.rxmode.mq_mode=RTE_ETH_MQ_RX_RSS_FLAG?

It is supposed to be implemented by all DPDK drivers I think.
Is there any case where RSS is not supported?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: virtio: RSS support capa
  2024-09-11 13:20       ` Thomas Monjalon
@ 2024-09-11 14:02         ` Ferruh Yigit
  2024-09-11 14:28           ` Ferruh Yigit
  2024-09-11 14:59           ` Morten Brørup
  0 siblings, 2 replies; 9+ messages in thread
From: Ferruh Yigit @ 2024-09-11 14:02 UTC (permalink / raw)
  To: Thomas Monjalon, Andrew Rybchenko, Morten Brørup
  Cc: dev, maxime.coquelin, Chenbo Xia

On 9/11/2024 2:20 PM, Thomas Monjalon wrote:
> 11/09/2024 14:17, Morten Brørup:
>> From: Andrew Rybchenko [mailto:andrew.rybchenko@oktetlabs.ru]
>>> On 9/7/24 23:55, Morten Brørup wrote:
>>>>> From: Morten Brørup [mailto:mb@smartsharesystems.com]
>>>>> 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_RSS_HASH;
>>>>
>>>> Or perhaps I'm misunderstanding this capability flag.
>>>>
>>>> I thought it indicated RSS ability, i.e. multi-queue, effectively shadowing
>>> rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG.
>>>> But maybe it doesn't. Maybe it indicates the ability to store the RSS hash
>>> value in the mbuf.
>>>>
>>>> The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented.
>>>>
>>>> Can someone please clarify?
>>>>
>>> RTE_ETH_RX_OFFLOAD_RSS_HASH means that the driver can provide RSS hash
>>> value in mbuf (it makes sense if HW can provide it to the driver).
>>
>> OK, thanks.
>>
>> Then what indicates this ethdev capability: Use RSS to distribute packets into multiple RX queues?
>> I.e. what to check before setting rte_eth_conf.rxmode.mq_mode=RTE_ETH_MQ_RX_RSS_FLAG?
> 
> It is supposed to be implemented by all DPDK drivers I think.
> Is there any case where RSS is not supported?
> 

Hi Morten,

There is no formal capability reporting support in ethdev [1].

`struct rte_eth_dev_info::[rt]x_[queue]_offload_capa` uses
RTE_ETH_RX_OFFLOAD_* flags, and they are for limited scope, only to
report the offloading capability of device.

Also some capability reporting distributed to
- struct rte_eth_dev_info::dev_capa (RTE_ETH_DEV_CAPA_*)
- struct rte_eth_dev_info (various files like speed_capa)
- struct rte_eth_dev_data::dev_flags (RTE_ETH_DEV_*)


Programmatically there is no way for device to report RSS support.
The .ini file has "RSS hash" feature, which covers RSS support, please
check 'features.rst'.


We mentioned formal capability reporting a few times in the past, but
this is a big task to take, specially with all historical usages.
Two things specially bothers me:
1. When we need a capability, since there is no dedicated place for it,
it finds itself one of above locations, mostly in dev_info.
2. 'struct rte_eth_dev_info' has not defined role, it is combination of
the status, configuration and capability reporting. With more
capabilities hitting it, it is becoming a more mixed, central struct
that many features depends on.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: virtio: RSS support capa
  2024-09-11 14:02         ` Ferruh Yigit
@ 2024-09-11 14:28           ` Ferruh Yigit
  2024-09-11 14:59           ` Morten Brørup
  1 sibling, 0 replies; 9+ messages in thread
From: Ferruh Yigit @ 2024-09-11 14:28 UTC (permalink / raw)
  To: Thomas Monjalon, Andrew Rybchenko, Morten Brørup
  Cc: dev, maxime.coquelin, Chenbo Xia

On 9/11/2024 3:02 PM, Ferruh Yigit wrote:
> On 9/11/2024 2:20 PM, Thomas Monjalon wrote:
>> 11/09/2024 14:17, Morten Brørup:
>>> From: Andrew Rybchenko [mailto:andrew.rybchenko@oktetlabs.ru]
>>>> On 9/7/24 23:55, Morten Brørup wrote:
>>>>>> From: Morten Brørup [mailto:mb@smartsharesystems.com]
>>>>>> 		dev_info->rx_offload_capa |= RTE_ETH_RX_OFFLOAD_RSS_HASH;
>>>>>
>>>>> Or perhaps I'm misunderstanding this capability flag.
>>>>>
>>>>> I thought it indicated RSS ability, i.e. multi-queue, effectively shadowing
>>>> rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG.
>>>>> But maybe it doesn't. Maybe it indicates the ability to store the RSS hash
>>>> value in the mbuf.
>>>>>
>>>>> The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented.
>>>>>
>>>>> Can someone please clarify?
>>>>>
>>>> RTE_ETH_RX_OFFLOAD_RSS_HASH means that the driver can provide RSS hash
>>>> value in mbuf (it makes sense if HW can provide it to the driver).
>>>
>>> OK, thanks.
>>>
>>> Then what indicates this ethdev capability: Use RSS to distribute packets into multiple RX queues?
>>> I.e. what to check before setting rte_eth_conf.rxmode.mq_mode=RTE_ETH_MQ_RX_RSS_FLAG?
>>
>> It is supposed to be implemented by all DPDK drivers I think.
>> Is there any case where RSS is not supported?
>>
> 
> Hi Morten,
> 
> There is no formal capability reporting support in ethdev [1].
> 
> `struct rte_eth_dev_info::[rt]x_[queue]_offload_capa` uses
> RTE_ETH_RX_OFFLOAD_* flags, and they are for limited scope, only to
> report the offloading capability of device.
> 
> Also some capability reporting distributed to
> - struct rte_eth_dev_info::dev_capa (RTE_ETH_DEV_CAPA_*)
> - struct rte_eth_dev_info (various files like speed_capa)
> - struct rte_eth_dev_data::dev_flags (RTE_ETH_DEV_*)
> 
> 
> Programmatically there is no way for device to report RSS support.
> The .ini file has "RSS hash" feature, which covers RSS support, please
> check 'features.rst'.
> 
> 

[1] // forgot the label for above pointer
> We mentioned formal capability reporting a few times in the past, but
> this is a big task to take, specially with all historical usages.
> Two things specially bothers me:
> 1. When we need a capability, since there is no dedicated place for it,
> it finds itself one of above locations, mostly in dev_info.
> 2. 'struct rte_eth_dev_info' has not defined role, it is combination of
> the status, configuration and capability reporting. With more
> capabilities hitting it, it is becoming a more mixed, central struct
> that many features depends on.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: virtio: RSS support capa
  2024-09-11 14:02         ` Ferruh Yigit
  2024-09-11 14:28           ` Ferruh Yigit
@ 2024-09-11 14:59           ` Morten Brørup
  2024-09-11 16:18             ` Ferruh Yigit
  1 sibling, 1 reply; 9+ messages in thread
From: Morten Brørup @ 2024-09-11 14:59 UTC (permalink / raw)
  To: Ferruh Yigit, Thomas Monjalon, Andrew Rybchenko
  Cc: dev, maxime.coquelin, Chenbo Xia

> From: Ferruh Yigit [mailto:ferruh.yigit@amd.com]
> Sent: Wednesday, 11 September 2024 16.02
> 
> On 9/11/2024 2:20 PM, Thomas Monjalon wrote:
> > 11/09/2024 14:17, Morten Brørup:
> >> From: Andrew Rybchenko [mailto:andrew.rybchenko@oktetlabs.ru]
> >>> On 9/7/24 23:55, Morten Brørup wrote:
> >>>>> From: Morten Brørup [mailto:mb@smartsharesystems.com]
> >>>>> 		dev_info->rx_offload_capa |=
> RTE_ETH_RX_OFFLOAD_RSS_HASH;
> >>>>
> >>>> Or perhaps I'm misunderstanding this capability flag.
> >>>>
> >>>> I thought it indicated RSS ability, i.e. multi-queue, effectively
> shadowing
> >>> rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG.
> >>>> But maybe it doesn't. Maybe it indicates the ability to store the
> RSS hash
> >>> value in the mbuf.
> >>>>
> >>>> The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented.
> >>>>
> >>>> Can someone please clarify?
> >>>>
> >>> RTE_ETH_RX_OFFLOAD_RSS_HASH means that the driver can provide RSS
> hash
> >>> value in mbuf (it makes sense if HW can provide it to the driver).
> >>
> >> OK, thanks.
> >>
> >> Then what indicates this ethdev capability: Use RSS to distribute
> packets into multiple RX queues?
> >> I.e. what to check before setting
> rte_eth_conf.rxmode.mq_mode=RTE_ETH_MQ_RX_RSS_FLAG?
> >
> > It is supposed to be implemented by all DPDK drivers I think.
> > Is there any case where RSS is not supported?

Depending on the KVM host, virtio in the KVM guest might not support RSS:
https://elixir.bootlin.com/dpdk/v24.07/source/drivers/net/virtio/virtio_ethdev.c#L2660

So we're currently checking if rte_eth_dev_info.flow_type_rss_offloads != 0.
And I was hoping for an official way to check, which we could generally rely on (e.g. for future drivers).
Apparently not available.

> >
> 
> Hi Morten,
> 
> There is no formal capability reporting support in ethdev [1].
> 
> `struct rte_eth_dev_info::[rt]x_[queue]_offload_capa` uses
> RTE_ETH_RX_OFFLOAD_* flags, and they are for limited scope, only to
> report the offloading capability of device.
> 
> Also some capability reporting distributed to
> - struct rte_eth_dev_info::dev_capa (RTE_ETH_DEV_CAPA_*)
> - struct rte_eth_dev_info (various files like speed_capa)
> - struct rte_eth_dev_data::dev_flags (RTE_ETH_DEV_*)
> 
> 
> Programmatically there is no way for device to report RSS support.

OK, that answers my question.
Not the answer I was hoping for, but much better than not knowing.

> The .ini file has "RSS hash" feature, which covers RSS support, please
> check 'features.rst'.

Yeah, perhaps the lack of capability reporting and inconsistent interpretation of features (and no conformance testing to detect/reveal this) means that the application must maintain its own list of drivers it supports with details about capabilities and feature deviations.

> 
> [1]
> We mentioned formal capability reporting a few times in the past, but
> this is a big task to take, specially with all historical usages.

So instead of fixing this omission, because it is a big task, we pass on the challenge to the application developers to find out how the various drivers behave.

> Two things specially bothers me:
> 1. When we need a capability, since there is no dedicated place for it,
> it finds itself one of above locations, mostly in dev_info.
> 2. 'struct rte_eth_dev_info' has not defined role, it is combination of
> the status, configuration and capability reporting. With more
> capabilities hitting it, it is becoming a more mixed, central struct
> that many features depends on.

Some of it could be fixed by documenting what we already have.
E.g. the RTE_ETH_RX_OFFLOAD_RSS_HASH is undocumented, and my initial guess at its purpose was wrong.

Long term, we really need good feature descriptions and conformance testing, so all features behave the same way on all drivers.

Short term I got my specific RSS questions answered. :-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: virtio: RSS support capa
  2024-09-11 14:59           ` Morten Brørup
@ 2024-09-11 16:18             ` Ferruh Yigit
  0 siblings, 0 replies; 9+ messages in thread
From: Ferruh Yigit @ 2024-09-11 16:18 UTC (permalink / raw)
  To: Morten Brørup, Thomas Monjalon, Andrew Rybchenko
  Cc: dev, maxime.coquelin, Chenbo Xia

On 9/11/2024 3:59 PM, Morten Brørup wrote:
>> From: Ferruh Yigit [mailto:ferruh.yigit@amd.com]
>> Sent: Wednesday, 11 September 2024 16.02
>>
>> On 9/11/2024 2:20 PM, Thomas Monjalon wrote:
>>> 11/09/2024 14:17, Morten Brørup:
>>>> From: Andrew Rybchenko [mailto:andrew.rybchenko@oktetlabs.ru]
>>>>> On 9/7/24 23:55, Morten Brørup wrote:
>>>>>>> From: Morten Brørup [mailto:mb@smartsharesystems.com]
>>>>>>> 		dev_info->rx_offload_capa |=
>> RTE_ETH_RX_OFFLOAD_RSS_HASH;
>>>>>>
>>>>>> Or perhaps I'm misunderstanding this capability flag.
>>>>>>
>>>>>> I thought it indicated RSS ability, i.e. multi-queue, effectively
>> shadowing
>>>>> rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG.
>>>>>> But maybe it doesn't. Maybe it indicates the ability to store the
>> RSS hash
>>>>> value in the mbuf.
>>>>>>
>>>>>> The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented.
>>>>>>
>>>>>> Can someone please clarify?
>>>>>>
>>>>> RTE_ETH_RX_OFFLOAD_RSS_HASH means that the driver can provide RSS
>> hash
>>>>> value in mbuf (it makes sense if HW can provide it to the driver).
>>>>
>>>> OK, thanks.
>>>>
>>>> Then what indicates this ethdev capability: Use RSS to distribute
>> packets into multiple RX queues?
>>>> I.e. what to check before setting
>> rte_eth_conf.rxmode.mq_mode=RTE_ETH_MQ_RX_RSS_FLAG?
>>>
>>> It is supposed to be implemented by all DPDK drivers I think.
>>> Is there any case where RSS is not supported?
> 
> Depending on the KVM host, virtio in the KVM guest might not support RSS:
> https://elixir.bootlin.com/dpdk/v24.07/source/drivers/net/virtio/virtio_ethdev.c#L2660
> 
> So we're currently checking if rte_eth_dev_info.flow_type_rss_offloads != 0.
> And I was hoping for an official way to check, which we could generally rely on (e.g. for future drivers).
> Apparently not available.
> 

Indeed that check can work, although this is not explicitly documented,
not having any RSS offload type implies that there is no RSS support.

Perhaps short term solution can be to document this as a way to detect
RSS support.

>>>
>>
>> Hi Morten,
>>
>> There is no formal capability reporting support in ethdev [1].
>>
>> `struct rte_eth_dev_info::[rt]x_[queue]_offload_capa` uses
>> RTE_ETH_RX_OFFLOAD_* flags, and they are for limited scope, only to
>> report the offloading capability of device.
>>
>> Also some capability reporting distributed to
>> - struct rte_eth_dev_info::dev_capa (RTE_ETH_DEV_CAPA_*)
>> - struct rte_eth_dev_info (various files like speed_capa)
>> - struct rte_eth_dev_data::dev_flags (RTE_ETH_DEV_*)
>>
>>
>> Programmatically there is no way for device to report RSS support.
> 
> OK, that answers my question.
> Not the answer I was hoping for, but much better than not knowing.
> 
>> The .ini file has "RSS hash" feature, which covers RSS support, please
>> check 'features.rst'.
> 
> Yeah, perhaps the lack of capability reporting and inconsistent interpretation of features (and no conformance testing to detect/reveal this) means that the application must maintain its own list of drivers it supports with details about capabilities and feature deviations.
> 
>>
>> [1]
>> We mentioned formal capability reporting a few times in the past, but
>> this is a big task to take, specially with all historical usages.
> 
> So instead of fixing this omission, because it is a big task, we pass on the challenge to the application developers to find out how the various drivers behave.
> 
>> Two things specially bothers me:
>> 1. When we need a capability, since there is no dedicated place for it,
>> it finds itself one of above locations, mostly in dev_info.
>> 2. 'struct rte_eth_dev_info' has not defined role, it is combination of
>> the status, configuration and capability reporting. With more
>> capabilities hitting it, it is becoming a more mixed, central struct
>> that many features depends on.
> 
> Some of it could be fixed by documenting what we already have.
> E.g. the RTE_ETH_RX_OFFLOAD_RSS_HASH is undocumented, and my initial guess at its purpose was wrong.
> 

This is added later as an optimization for some NICs.
Although these NICs support RSS, accessing to the internally calculated
hash value has performance impact, so this flag enables them to escape
from reporting RSS hash value to application.

I was thinking we documented it in 'features.rst', but looking again
that information is not much useful.

Would you mind adding a comment to macro in 'rte_ethdev.h' as documentation?


> Long term, we really need good feature descriptions and conformance testing, so all features behave the same way on all drivers.
> 

Ack.

> Short term I got my specific RSS questions answered. :-)
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-09-11 16:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-06 19:38 virtio: RSS support capa Morten Brørup
2024-09-07 20:55 ` Morten Brørup
2024-09-08  8:32   ` Andrew Rybchenko
2024-09-11 12:17     ` Morten Brørup
2024-09-11 13:20       ` Thomas Monjalon
2024-09-11 14:02         ` Ferruh Yigit
2024-09-11 14:28           ` Ferruh Yigit
2024-09-11 14:59           ` Morten Brørup
2024-09-11 16:18             ` Ferruh Yigit

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).