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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
issue in the "problems" tab of vscode: "Unknown function `file`"
Acked-by: 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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
ephen Hemminger
> ---
Acked-by: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
> >
&
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.
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
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
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
---
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
601 - 700 of 9084 matches
Mail list logo