[PATCH 04/15] net/ice: add option to choose DDP package file

2024-08-07 Thread Bruce Richardson
can add a device option to choose a specific DDP package file to load. Signed-off-by: Bruce Richardson --- doc/guides/nics/ice.rst | 9 + drivers/net/ice/ice_ethdev.c | 34 ++ drivers/net/ice/ice_ethdev.h | 1 + 3 files changed, 44 insertions(+) di

[PATCH 05/15] net/ice: add option to download scheduler topology

2024-08-07 Thread Bruce Richardson
The DDP package file being loaded at init time may contain an alternative Tx Scheduler topology in it. Add driver option to load this topology at init time. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_ddp.c | 18 +++--- drivers/net/ice/base/ice_ddp.h | 4

[PATCH 06/15] net/ice/base: allow init without TC class sched nodes

2024-08-07 Thread Bruce Richardson
use of any other TC other than 0 (used by default in the driver), existing behaviour of returning NULL pointer is maintained. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 6 ++ drivers/net/ice/base/ice_type.h | 1 + 2 files changed, 7 insertions(+) diff --git a

[PATCH 07/15] net/ice/base: set VSI index on newly created nodes

2024-08-07 Thread Bruce Richardson
at the VSI information is correct. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index f75e5ae599..f6dc5ae173 100644 --- a/drivers/ne

[PATCH 08/15] net/ice/base: read VSI layer info from VSI

2024-08-07 Thread Bruce Richardson
Rather than computing from the number of HW layers the layer of the VSI, we can instead just read that info from the VSI node itself. This allows the layer to be changed at runtime. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 09/15] net/ice/base: remove 255 limit on sched child nodes

2024-08-07 Thread Bruce Richardson
: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 25 ++--- drivers/net/ice/base/ice_type.h | 2 +- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index e398984bf2..be13833e1e 100644 --- a

[PATCH 10/15] net/ice/base: optimize subtree searches

2024-08-07 Thread Bruce Richardson
wrong branches. By switching the direction of search, to check upwards from the node to the parent, we can avoid any incorrect paths, and so speed up processing. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 18 +- 1 file changed, 5 insertions(+), 13

[PATCH 11/15] net/ice/base: make functions non-static

2024-08-07 Thread Bruce Richardson
We will need to allocate more lanq contexts after a scheduler rework, so make that function non-static so accessible outside the file. For similar reasons, make the function to add a Tx scheduler node non-static Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 2

[PATCH 12/15] net/ice/base: remove flag checks before topology upload

2024-08-07 Thread Bruce Richardson
DPDK should support more than just 9-level or 5-level topologies, so remove the checks for those particular settings. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_ddp.c | 33 - 1 file changed, 33 deletions(-) diff --git a/drivers/net/ice/base

[PATCH 13/15] net/ice: limit the number of queues to sched capabilities

2024-08-07 Thread Bruce Richardson
beyond the VSI and using that as an additional cap on the number of queues. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c

[PATCH 14/15] net/ice: enhance Tx scheduler hierarchy support

2024-08-07 Thread Bruce Richardson
change is that the topology needs to be configured and enabled before port queue setup, in many cases, and before port start in all cases. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.c | 9 - drivers/net/ice/ice_ethdev.h | 15 +- drivers/net/ice/ice_rxtx.c | 10 + drivers

[PATCH 15/15] net/ice: add minimal capability reporting API

2024-08-07 Thread Bruce Richardson
Incomplete but reports number of available layers Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.h | 1 + drivers/net/ice/ice_tm.c | 17 + 2 files changed, 18 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h index

[PATCH v2 00/15] Improve rte_tm support in ICE driver

2024-08-07 Thread Bruce Richardson
ypo in commit log of one patch * Add missing depends-on tag to the cover letter Bruce Richardson (15): net/ice: add traffic management node query function net/ice: detect stopping a flow-director queue twice net/ice: improve Tx scheduler graph output net/ice: add option to choose DDP packa

[PATCH v2 01/15] net/ice: add traffic management node query function

2024-08-07 Thread Bruce Richardson
Implement the new node querying function for the "ice" net driver. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_tm.c | 48 1 file changed, 48 insertions(+) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index

[PATCH v2 02/15] net/ice: detect stopping a flow-director queue twice

2024-08-07 Thread Bruce Richardson
checking for that condition in subsequent stop calls. Since the register pointer is set on start, any restarting of the queue will allow a stop call to progress as normal. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_rxtx.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers

[PATCH v2 03/15] net/ice: improve Tx scheduler graph output

2024-08-07 Thread Bruce Richardson
SIs into subgraphs with borders * For leaf nodes, display queue numbers for the any nodes assigned to ethdev NIC Tx queues Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_diagnose.c | 196 - 1 file changed, 69 insertions(+), 127 deletions(-) diff --git a/dri

[PATCH v2 04/15] net/ice: add option to choose DDP package file

2024-08-07 Thread Bruce Richardson
can add a device option to choose a specific DDP package file to load. Signed-off-by: Bruce Richardson --- doc/guides/nics/ice.rst | 9 + drivers/net/ice/ice_ethdev.c | 34 ++ drivers/net/ice/ice_ethdev.h | 1 + 3 files changed, 44 insertions(+) di

[PATCH v2 05/15] net/ice: add option to download scheduler topology

2024-08-07 Thread Bruce Richardson
The DDP package file being loaded at init time may contain an alternative Tx Scheduler topology in it. Add driver option to load this topology at init time. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_ddp.c | 18 +++--- drivers/net/ice/base/ice_ddp.h | 4

[PATCH v2 06/15] net/ice/base: allow init without TC class sched nodes

2024-08-07 Thread Bruce Richardson
use of any other TC other than 0 (used by default in the driver), existing behaviour of returning NULL pointer is maintained. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 6 ++ drivers/net/ice/base/ice_type.h | 1 + 2 files changed, 7 insertions(+) diff --git a

[PATCH v2 07/15] net/ice/base: set VSI index on newly created nodes

2024-08-07 Thread Bruce Richardson
at the VSI information is correct. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index f75e5ae599..f6dc5ae173 100644 --- a/drivers/ne

[PATCH v2 08/15] net/ice/base: read VSI layer info from VSI

2024-08-07 Thread Bruce Richardson
Rather than computing from the number of HW layers the layer of the VSI, we can instead just read that info from the VSI node itself. This allows the layer to be changed at runtime. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 09/15] net/ice/base: remove 255 limit on sched child nodes

2024-08-07 Thread Bruce Richardson
: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 25 ++--- drivers/net/ice/base/ice_type.h | 2 +- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index e398984bf2..be13833e1e 100644 --- a

[PATCH v2 10/15] net/ice/base: optimize subtree searches

2024-08-07 Thread Bruce Richardson
wrong branches. By switching the direction of search, to check upwards from the node to the parent, we can avoid any incorrect paths, and so speed up processing. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 18 +- 1 file changed, 5 insertions(+), 13

[PATCH v2 11/15] net/ice/base: make functions non-static

2024-08-07 Thread Bruce Richardson
We will need to allocate more lanq contexts after a scheduler rework, so make that function non-static so accessible outside the file. For similar reasons, make the function to add a Tx scheduler node non-static Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 2

[PATCH v2 12/15] net/ice/base: remove flag checks before topology upload

2024-08-07 Thread Bruce Richardson
DPDK should support more than just 9-level or 5-level topologies, so remove the checks for those particular settings. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_ddp.c | 33 - 1 file changed, 33 deletions(-) diff --git a/drivers/net/ice/base

[PATCH v2 13/15] net/ice: limit the number of queues to sched capabilities

2024-08-07 Thread Bruce Richardson
beyond the VSI and using that as an additional cap on the number of queues. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c

[PATCH v2 14/15] net/ice: enhance Tx scheduler hierarchy support

2024-08-07 Thread Bruce Richardson
change is that the topology needs to be configured and enabled before port queue setup, in many cases, and before port start in all cases. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.c | 9 - drivers/net/ice/ice_ethdev.h | 15 +- drivers/net/ice/ice_rxtx.c | 10 + drivers

[PATCH v2 15/15] net/ice: add minimal capability reporting API

2024-08-07 Thread Bruce Richardson
Incomplete but reports number of available layers Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.h | 1 + drivers/net/ice/ice_tm.c | 17 + 2 files changed, 18 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h index

Re: [PATCH dpdk] buildtools/cmdline: fix meson error when used as a subproject

2024-08-07 Thread Bruce Richardson
issue in the "problems" tab of vscode: "Unknown function `file`" Acked-by: Bruce Richardson

[RFC PATCH] app/testpmd: display TM parameters when adding nodes

2024-08-12 Thread Bruce Richardson
command after it is entered. Signed-off-by: Bruce Richardson --- app/test-pmd/cmdline_tm.c | 60 +-- 1 file changed, 57 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/cmdline_tm.c b/app/test-pmd/cmdline_tm.c index 6ce074f538..aa917edb6c 100644 --- a

[RFC PATCH] config: make queues per port a meson config option

2024-08-12 Thread Bruce Richardson
s can configure DPDK to allow this, without having to modify DPDK files (i.e. rte_config.h) Signed-off-by: Bruce Richardson --- config/meson.build | 1 + config/rte_config.h | 1 - meson_options.txt | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/meson.build b/c

Re: [RFC PATCH] config: make queues per port a meson config option

2024-08-12 Thread Bruce Richardson
On Mon, Aug 12, 2024 at 04:10:49PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > > The default number of ethernet queues per port is currently set to > > 1k which is more than enough for most applications, but still is

Re: [RFC PATCH] config: make queues per port a meson config option

2024-08-12 Thread Bruce Richardson
On Mon, Aug 12, 2024 at 05:02:11PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > > On Mon, Aug 12, 2024 at 04:10:49PM +0200, Morten Brørup wrote: > > > > From: Bruce Richardson [mailto:bruce.richard...@intel.co

[PATCH v3 00/16] Improve rte_tm support in ICE driver

2024-08-12 Thread Bruce Richardson
mplement some code TODOs * add patch 16 to set. v2: * Correct typo in commit log of one patch * Add missing depends-on tag to the cover letter Bruce Richardson (16): net/ice: add traffic management node query function net/ice: detect stopping a flow-director queue twice net/ice: improve Tx sc

[PATCH v3 01/16] net/ice: add traffic management node query function

2024-08-12 Thread Bruce Richardson
Implement the new node querying function for the "ice" net driver. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_tm.c | 48 1 file changed, 48 insertions(+) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index

[PATCH v3 02/16] net/ice: detect stopping a flow-director queue twice

2024-08-12 Thread Bruce Richardson
checking for that condition in subsequent stop calls. Since the register pointer is set on start, any restarting of the queue will allow a stop call to progress as normal. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_rxtx.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers

[PATCH v3 03/16] net/ice: improve Tx scheduler graph output

2024-08-12 Thread Bruce Richardson
SIs into subgraphs with borders * For leaf nodes, display queue numbers for the any nodes assigned to ethdev NIC Tx queues Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_diagnose.c | 196 - 1 file changed, 69 insertions(+), 127 deletions(-) diff --git a/dri

[PATCH v3 04/16] net/ice: add option to choose DDP package file

2024-08-12 Thread Bruce Richardson
can add a device option to choose a specific DDP package file to load. Signed-off-by: Bruce Richardson --- doc/guides/nics/ice.rst | 9 + drivers/net/ice/ice_ethdev.c | 34 ++ drivers/net/ice/ice_ethdev.h | 1 + 3 files changed, 44 insertions(+) di

[PATCH v3 05/16] net/ice: add option to download scheduler topology

2024-08-12 Thread Bruce Richardson
The DDP package file being loaded at init time may contain an alternative Tx Scheduler topology in it. Add driver option to load this topology at init time. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_ddp.c | 18 +++--- drivers/net/ice/base/ice_ddp.h | 4

[PATCH v3 06/16] net/ice/base: allow init without TC class sched nodes

2024-08-12 Thread Bruce Richardson
use of any other TC other than 0 (used by default in the driver), existing behaviour of returning NULL pointer is maintained. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 6 ++ drivers/net/ice/base/ice_type.h | 1 + 2 files changed, 7 insertions(+) diff --git a

[PATCH v3 07/16] net/ice/base: set VSI index on newly created nodes

2024-08-12 Thread Bruce Richardson
at the VSI information is correct. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index f75e5ae599..f6dc5ae173 100644 --- a/drivers/ne

[PATCH v3 08/16] net/ice/base: read VSI layer info from VSI

2024-08-12 Thread Bruce Richardson
Rather than computing from the number of HW layers the layer of the VSI, we can instead just read that info from the VSI node itself. This allows the layer to be changed at runtime. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 09/16] net/ice/base: remove 255 limit on sched child nodes

2024-08-12 Thread Bruce Richardson
: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 25 ++--- drivers/net/ice/base/ice_type.h | 2 +- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index e398984bf2..be13833e1e 100644 --- a

[PATCH v3 11/16] net/ice/base: make functions non-static

2024-08-12 Thread Bruce Richardson
We will need to allocate more lanq contexts after a scheduler rework, so make that function non-static so accessible outside the file. For similar reasons, make the function to add a Tx scheduler node non-static Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 2

[PATCH v3 10/16] net/ice/base: optimize subtree searches

2024-08-12 Thread Bruce Richardson
wrong branches. By switching the direction of search, to check upwards from the node to the parent, we can avoid any incorrect paths, and so speed up processing. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_sched.c | 18 +- 1 file changed, 5 insertions(+), 13

[PATCH v3 13/16] net/ice: limit the number of queues to sched capabilities

2024-08-12 Thread Bruce Richardson
beyond the VSI and using that as an additional cap on the number of queues. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c

[PATCH v3 12/16] net/ice/base: remove flag checks before topology upload

2024-08-12 Thread Bruce Richardson
DPDK should support more than just 9-level or 5-level topologies, so remove the checks for those particular settings. Signed-off-by: Bruce Richardson --- drivers/net/ice/base/ice_ddp.c | 33 - 1 file changed, 33 deletions(-) diff --git a/drivers/net/ice/base

[PATCH v3 14/16] net/ice: enhance Tx scheduler hierarchy support

2024-08-12 Thread Bruce Richardson
change is that the topology needs to be configured and enabled before port queue setup, in many cases, and before port start in all cases. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.c | 9 - drivers/net/ice/ice_ethdev.h | 15 +- drivers/net/ice/ice_rxtx.c | 10 + drivers

[PATCH v3 15/16] net/ice: add minimal capability reporting API

2024-08-12 Thread Bruce Richardson
Incomplete but reports number of available layers Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_ethdev.h | 1 + drivers/net/ice/ice_tm.c | 17 + 2 files changed, 18 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h index

[PATCH v3 16/16] net/ice: do early check on node level when adding

2024-08-12 Thread Bruce Richardson
uot;parent->level + 1" before doing a more detailed parameter check. Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_tm.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c index 3dcd091c38..e05ad

Re: [PATCH] power: don't disable all cast qualifier warnings

2024-08-13 Thread Bruce Richardson
ephen Hemminger > --- Acked-by: Bruce Richardson

[RFC PATCH v2 00/26] add meson config options for queues per port

2024-08-14 Thread Bruce Richardson
ting internal use, created one patch per component for easier maintainer review. In most cases it was obvious whether Rx or Tx define should be used, but a few cases were less clear. * Added documentation updates for the changes (release notes and deprecation notice), spread across 3 of the patc

[RFC PATCH v2 01/26] cryptodev: remove use of ethdev max queues definition

2024-08-14 Thread Bruce Richardson
The number of queue pairs supported by cryptodev should not be dependent on the number of ethdev Rx or Tx queues, so add a new define for cryptodev specifically. Signed-off-by: Bruce Richardson --- config/rte_config.h | 1 + lib/cryptodev/cryptodev_pmd.c | 4 ++-- 2 files changed, 3

[RFC PATCH v2 02/26] eventdev: remove use of ethev queues define

2024-08-14 Thread Bruce Richardson
The max queues per port definition is intended for use for ethdevs, so it's use for a dummy array in eventdev is likely wrong. Since the array is intended to be for eventdev ports, use RTE_EVENT_MAX_PORTS_PER_DEV define instead. Signed-off-by: Bruce Richardson --- lib/eve

[RFC PATCH v2 03/26] app/test-bbdev: remove use of ethdev queue count value

2024-08-14 Thread Bruce Richardson
Replace the use of RTE_MAX_QUEUES_PER_PORT, which is intended as an ethdev define, with the limit from the bbdev library. Signed-off-by: Bruce Richardson --- app/test-bbdev/test_bbdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-bbdev/test_bbdev.c b/app

[RFC PATCH v2 04/26] config: add separate defines for max Rx and Tx queues

2024-08-14 Thread Bruce Richardson
Rather than having a single define for maximum queues per ethernet port, we can set the max values for Rx queues and Tx queue independently. This allows future memory saving for apps which only need large numbers of Rx queues or only large numbers of Tx queues. Signed-off-by: Bruce Richardson

[RFC PATCH v2 05/26] ethdev: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- lib/ethdev/ethdev_driver.h | 8 lib/ethdev/ethdev_private.c | 24 ++-- lib/ethdev

[RFC PATCH v2 06/26] bpf: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- lib/bpf/bpf_pkt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/bpf/bpf_pkt.c b/lib

[RFC PATCH v2 07/26] latencystats: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- lib/latencystats/rte_latencystats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib

[RFC PATCH v2 08/26] pdump: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- lib/pdump/rte_pdump.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib

[RFC PATCH v2 09/26] power: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- lib/power/rte_power_pmd_mgmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/power

[RFC PATCH v2 11/26] net/cnxk: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/cnxk/cnxk_ethdev_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[RFC PATCH v2 10/26] net/af_xdp: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/af_xdp/rte_eth_af_xdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[RFC PATCH v2 12/26] net/failsafe: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/failsafe/failsafe_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[RFC PATCH v2 13/26] net/hns3: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/hns3/hns3_tm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3

[RFC PATCH v2 15/26] net/null: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/null/rte_eth_null.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[RFC PATCH v2 14/26] net/mlx5: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/mlx5/mlx5_flow.c| 2 +- drivers/net/mlx5/mlx5_flow_hw.c | 2 +- 2 files changed, 2 insertions

[RFC PATCH v2 16/26] net/sfc: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/sfc/sfc_sw_stats.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers

[RFC PATCH v2 17/26] net/thunderx: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/thunderx/nicvf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[RFC PATCH v2 18/26] net/vhost: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- drivers/net/vhost/rte_eth_vhost.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a

[RFC PATCH v2 20/26] app/test-pmd: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- app/test-pmd/testpmd.c | 7 --- app/test-pmd/testpmd.h | 16 2 files changed, 12 insertions

[RFC PATCH v2 19/26] app/dumpcap: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- app/dumpcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dumpcap/main.c b/app

[RFC PATCH v2 21/26] examples/ipsec-secgw: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update example app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- examples/ipsec-secgw/ipsec-secgw.c | 2 +- examples/ipsec-secgw/ipsec.c | 2 +- 2 files changed, 2

[RFC PATCH v2 22/26] examples/l3fwd-power: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update example app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- examples/l3fwd-power/main.c | 2 +- examples/l3fwd-power/perf_core.c | 2 +- 2 files changed, 2

[RFC PATCH v2 23/26] examples/l3fwd: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update example app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- examples/l3fwd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l3fwd

[RFC PATCH v2 25/26] config: make queues per port a meson config option

2024-08-14 Thread Bruce Richardson
From: Bruce Richardson The default number of ethernet queues per port is currently set to 1k which is more than enough for most applications, but still is lower than the total number of queues which may be available on modern NICs. Rather than increasing the max queues further, which will

[RFC PATCH v2 24/26] examples/vhost: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update example app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson --- examples/vhost/main.c | 2 +- examples/vhost/main.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions

[RFC PATCH v2 26/26] config: add computed max queues define for compatibility

2024-08-14 Thread Bruce Richardson
does the MAX() calculation inside it, we can compute the actual value at configuration time and write it using meson. Signed-off-by: Bruce Richardson --- config/meson.build | 8 doc/guides/rel_notes/deprecation.rst | 11 +++ doc/guides/rel_notes

Re: [RFC PATCH v2 00/26] add meson config options for queues per port

2024-08-14 Thread Bruce Richardson
On Wed, Aug 14, 2024 at 09:48:46AM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richa...@intel.com] > > > > There are a number of issues with the current RTE_MAX_QUEUES_PER_PORT > > setting in DPDK that are addressed by this patchset: > > &

Re: Linux kernel version for DPDK 24.11

2024-08-14 Thread Bruce Richardson
On Tue, Aug 13, 2024 at 11:43:32PM +0200, Morten Brørup wrote: > Do we want to be conservative and stick with 4.19 and RHEL/CentOS 7? AFAIK We have dropped support for Centos 7 some time back, due to lack of a conformant compiler, I believe. We should definitely update the doc in that regards.

[PATCH v3 00/26] add meson config options for queues per port

2024-08-14 Thread Bruce Richardson
ded documentation updates for the changes (release notes and deprecation notice), spread across 3 of the patches. Bruce Richardson (26): cryptodev: remove use of ethdev max queues definition eventdev: remove use of ethev queues define app/test-bbdev: remove use of ethdev queue count value con

[PATCH v3 01/26] cryptodev: remove use of ethdev max queues definition

2024-08-14 Thread Bruce Richardson
The number of queue pairs supported by cryptodev should not be dependent on the number of ethdev Rx or Tx queues, so add a new define for cryptodev specifically. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- config/rte_config.h | 1 + lib/cryptodev/cryptodev_pmd.c | 4

[PATCH v3 02/26] eventdev: remove use of ethev queues define

2024-08-14 Thread Bruce Richardson
The max queues per port definition is intended for use for ethdevs, so it's use for a dummy array in eventdev is likely wrong. Since the array is intended to be for eventdev ports, use RTE_EVENT_MAX_PORTS_PER_DEV define instead. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup ---

[PATCH v3 03/26] app/test-bbdev: remove use of ethdev queue count value

2024-08-14 Thread Bruce Richardson
Replace the use of RTE_MAX_QUEUES_PER_PORT, which is intended as an ethdev define, with the limit from the bbdev library. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- app/test-bbdev/test_bbdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test

[PATCH v3 04/26] config: add separate defines for max Rx and Tx queues

2024-08-14 Thread Bruce Richardson
Rather than having a single define for maximum queues per ethernet port, we can set the max values for Rx queues and Tx queue independently. This allows future memory saving for apps which only need large numbers of Rx queues or only large numbers of Tx queues. Signed-off-by: Bruce Richardson

[PATCH v3 05/26] ethdev: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- lib/ethdev/ethdev_driver.h | 8 lib/ethdev/ethdev_private.c | 24

[PATCH v3 06/26] bpf: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- lib/bpf/bpf_pkt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH v3 07/26] latencystats: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- lib/latencystats/rte_latencystats.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v3 08/26] pdump: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- lib/pdump/rte_pdump.c | 18 +- 1 file changed, 9 insertions(+), 9

[PATCH v3 09/26] power: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update library to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- lib/power/rte_power_pmd_mgmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v3 10/26] net/af_xdp: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/af_xdp/rte_eth_af_xdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v3 11/26] net/cnxk: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/cnxk/cnxk_ethdev_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v3 12/26] net/failsafe: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/failsafe/failsafe_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v3 13/26] net/hns3: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/hns3/hns3_tm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 15/26] net/null: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/null/rte_eth_null.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v3 14/26] net/mlx5: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/mlx5/mlx5_flow.c| 2 +- drivers/net/mlx5/mlx5_flow_hw.c | 2 +- 2 files

[PATCH v3 16/26] net/sfc: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/sfc/sfc_sw_stats.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions

[PATCH v3 17/26] net/thunderx: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/thunderx/nicvf_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v3 18/26] net/vhost: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update driver to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- drivers/net/vhost/rte_eth_vhost.c | 7 --- 1 file changed, 4 insertions(+), 3

[PATCH v3 19/26] app/dumpcap: use separate Rx and Tx queue limits

2024-08-14 Thread Bruce Richardson
Update app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define RTE_MAX_QUEUES_PER_PORT. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- app/dumpcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app

<    2   3   4   5   6   7   8   9   10   11   >