Re: [dpdk-dev] [PATCH v3 5/6] net/ena: rework RSS configuration

2021-07-23 Thread Thomas Monjalon
23/07/2021 13:52, Thomas Monjalon: > 23/07/2021 11:49, Michał Krawczyk: > > pt., 23 lip 2021 o 11:43 Thomas Monjalon napisał(a): > > > 23/07/2021 11:39, Michał Krawczyk: > > > > pt., 23 lip 2021 o 11:22 Thomas Monjalon > > > > napisał(a): > > > > > 14/07/2021 12:43, Michal Krawczyk: > > > > > >

Re: [dpdk-dev] [PATCH v3 5/6] net/ena: rework RSS configuration

2021-07-23 Thread Thomas Monjalon
23/07/2021 11:49, Michał Krawczyk: > pt., 23 lip 2021 o 11:43 Thomas Monjalon napisał(a): > > > > 23/07/2021 11:39, Michał Krawczyk: > > > pt., 23 lip 2021 o 11:22 Thomas Monjalon napisał(a): > > > > > > > > 14/07/2021 12:43, Michal Krawczyk: > > > > > + PMD_DRV_LOG(WARNING, > > > >

Re: [dpdk-dev] [PATCH v3 5/6] net/ena: rework RSS configuration

2021-07-23 Thread Michał Krawczyk
pt., 23 lip 2021 o 11:43 Thomas Monjalon napisał(a): > > 23/07/2021 11:39, Michał Krawczyk: > > pt., 23 lip 2021 o 11:22 Thomas Monjalon napisał(a): > > > > > > 14/07/2021 12:43, Michal Krawczyk: > > > > + PMD_DRV_LOG(WARNING, > > > > + "Setting RSS hash fields

Re: [dpdk-dev] [PATCH v3 5/6] net/ena: rework RSS configuration

2021-07-23 Thread Thomas Monjalon
23/07/2021 11:39, Michał Krawczyk: > pt., 23 lip 2021 o 11:22 Thomas Monjalon napisał(a): > > > > 14/07/2021 12:43, Michal Krawczyk: > > > + PMD_DRV_LOG(WARNING, > > > + "Setting RSS hash fields is not supported. Using > > > default values: 0x%llx\n", > > > +

Re: [dpdk-dev] [PATCH v3 5/6] net/ena: rework RSS configuration

2021-07-23 Thread Michał Krawczyk
pt., 23 lip 2021 o 11:22 Thomas Monjalon napisał(a): > > 14/07/2021 12:43, Michal Krawczyk: > > + PMD_DRV_LOG(WARNING, > > + "Setting RSS hash fields is not supported. Using > > default values: 0x%llx\n", > > + ENA_ALL_RSS_HF); > > > > che

Re: [dpdk-dev] [PATCH v3 5/6] net/ena: rework RSS configuration

2021-07-23 Thread Thomas Monjalon
14/07/2021 12:43, Michal Krawczyk: > + PMD_DRV_LOG(WARNING, > + "Setting RSS hash fields is not supported. Using > default values: 0x%llx\n", > + ENA_ALL_RSS_HF); > checkpatch is returning this warning: Using %l format, prefer %PR

[dpdk-dev] [PATCH v3 5/6] net/ena: rework RSS configuration

2021-07-14 Thread Michal Krawczyk
Allow user to specify his own hash key and hash ctrl if the device is supporting that. HW interprets the key in reverse byte order, so the PMD reorders the key before passing it to the ena_com layer. Default key is being set in random matter each time the device is being initialized. Moreover, ma