eventdev_pipeline app.
Signed-off-by: Timothy McDaniel
---
V4: Fixed a coding style issue
V3: Fixed style and format issues, primarily those involving data types
whose size varies depending on whether we are building for 32 or
64 bit platforms.
V2: Disregard - forgot to resubmit entire patch
eventdev_pipeline app.
Signed-off-by: Timothy McDaniel
---
V3: Fixed style and format issues, primarily those involving data types
whose size varies depending on whether we are building for 32 or
64 bit platforms.
V2: Disregard - forgot to resubmit entire patch
---
---
examples/eventdev_producer_consumer
Fixed style and format issues, primarily those involving data types
whose size varies depending on whether we are building for 32 or
64 bit platforms.
Signed-off-by: Timothy McDaniel
---
examples/eventdev_producer_consumer/main.c | 18 +-
1 file changed, 9 insertions(+), 9
value to reduce number
of credit calls they make. Workers can use small quanta as they mostly
work out of locally cached credits and don't request/return credits often.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 19 ++-
1 file changed, 18 insertions(+), 1 del
buffers or buffer headers OR producer is not writing
to data structures with dependencies on the enqueue write order, then
fencing can be safely disabled.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 31 +++
1 file changed, 23 insertions(+), 8 deletions
atency.
To address this, probing is done for LDB ports as well. Probing is
done on ports per 'cos'. When default cos is used, ports will be
allocated from best ports from the best 'cos', else from best ports of
the specific cos.
Signed-off-by: Timothy McDaniel
303 ("eal: make eal_parse_coremask external")
Timothy McDaniel (3):
event/dlb2: add producer port probing optimization
event/dlb2: add fence bypass option for producer ports
event/dlb2: optimize credit allocations
drivers/event/dlb2/dlb2.c | 90 +++-
drive
DLB2 has a need to parse a user supplied coremask as part
of an optimization that associates optimal core/resource
pairs. Therefore eal_parse_coremask has been renamed
to rte_eal_parse_coremask and exported.
Signed-off-by: Timothy McDaniel
---
lib/eal/common/eal_common_options.c | 6
eventdev_pipeline app.
Signed-off-by: Timothy McDaniel
---
examples/eventdev_producer_consumer/Makefile | 22 +
examples/eventdev_producer_consumer/main.c| 670 ++
.../eventdev_producer_consumer/meson.build| 13 +
examples/meson.build | 1 +
4 files
This commit changes 2 error messages to better
describe cq_weight related errors, should one occur.
Fixes: ffa46fc4a2b5 ("event/dlb2: support CQ weight")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/dl
;)
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/dlb2/dlb2_priv.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index 26af75beb8..93bf215762 100644
--- a/dri
This patch series contains the following:
- fix coverity issue 379234
- improve error reporting for cq_weight feature
Changes since V1
- fixed a repeated word in the commit message of patch 1
Timothy McDaniel (2):
event/dlb2: fix cq_weight array overflow
event/dlb2: improve cq_weight error
This commit changes 2 error messages to better
describe cq_weight related errors, should one occur.
Fixes: ffa46fc4a2b5 ("event/dlb2: support CQ weight")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/dl
;)
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/dlb2/dlb2_priv.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index 26af75beb8..93bf215762 100644
---
This patch series contains the following:
- fix coverity issue 379234
- improve error reporting for cq_weight feature
Timothy McDaniel (2):
event/dlb2: fix cq_weight array overflow
event/dlb2: improve cq_weight error messages
drivers/event/dlb2/dlb2.c | 8
drivers
This commit updates the dlb2.rst eventdev guide to document the
new DLB2 features that were added to dpdk 22.07.
1) CQ Weight
2) Port COS
3) Maximum CQ depth
4) Maximum enqueue depth
Signed-off-by: Timothy McDaniel
---
doc/guides/eventdevs/dlb2.rst | 67 ---
1
equal to 100.
Corrected probe-time initialization order.
Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 63 --
drivers/event/dl
CQ depth
is increased.
Fixes: 86fe66d45667 ("event/dlb2: allow CQ depths up to 1024")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 51 +
drivers/event/dlb2/dlb2_priv.h | 8 +-
drivers/eve
")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index a6182a1ac7..b50cd8e5ce 100644
--- a/drivers/event/dlb2/dl
This commit fixes a typo and resultant bug that triggered a
coverity warning.
Coverity issue: 4607286
Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 2 +-
1 file
ned-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2_priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/event/dlb2/dlb2_priv.h b/drivers/event/dlb2/dlb2_priv.h
index 528e2ede61..8744efa79d 100644
--- a/drivers/event/dlb2/dlb2_priv.h
+++ b/drivers/event/dlb2/d
fix port COS initialization
Original Patchset
=
0001 fix port_cos array sizin
- Fixes a segfault
0002 fix initialization of cos bandwidth args
- Fixes a coverity warning
Timothy McDaniel (5):
event/dlb2: fix port_cos array sizing
event/dlb2: fix initialization of cos
equal to 100.
Corrected probe-time initalization order.
Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 63 --
drivers/event/dl
CQ depth
is increased.
Fixes: 86fe66d45667 ("event/dlb2: allow CQ depths up to 1024")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 51 +
drivers/event/dlb2/dlb2_priv.h | 8 +-
drivers/eve
")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index a6182a1ac7..b50cd8e5ce 100644
--- a/drivers/event/dlb2/dl
This commit fixes a typo and resultant bug that triggered a
coverity warning.
Coverity issue: 4607286
Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 2 +-
1 file
ned-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2_priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/event/dlb2/dlb2_priv.h b/drivers/event/dlb2/dlb2_priv.h
index 528e2ede61..8744efa79d 100644
--- a/drivers/event/dlb2/dlb2_priv.h
+++ b/drivers/event/dlb2/d
array sizin
- Fixes a segfault
0002 fix initialization of cos bandwidth args
- Fixes a coverity warning
Timothy McDaniel (5):
event/dlb2: fix port_cos array sizing
event/dlb2: fix initialization of cos bandwidth args
event/dlb2: fix cq depth override
event/dlb2: fix cq depth override
This commit fixes a typo and resultant bug that triggered a
coverity warning.
Coverity issue: 4607286
Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS")
Cc: timothy.mcdan...@intel.com
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 2 +-
1 file
ned-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2_priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/event/dlb2/dlb2_priv.h b/drivers/event/dlb2/dlb2_priv.h
index 528e2ede61..8744efa79d 100644
--- a/drivers/event/dlb2/dlb2_priv.h
+++ b/drivers/event/dlb2/d
This patch series fixes a coverity bug and a segfault.
Timothy McDaniel (2):
event/dlb2: fix port_cos array sizing
event/dlb2: Fix initialization of cos bandwidth args
drivers/event/dlb2/dlb2.c | 2 +-
drivers/event/dlb2/dlb2_priv.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions
bandwidth associated
with the 4 classes must not exceed 100%. This feature is enabled
on the command line, and will be documented in the DLB2 programmers
guide.
Signed-off-by: Timothy McDaniel
---
V4: Fixed a build error on CentOS79-64
V3: fixed a typo/bug that caused us to read beyond the end of an
nough QEs from the CQ to reverse that).
CQ weight support is enabled via the command line, and applies to
DLB 2.5 (and above) load balanced ports. The DLB2 documentation will
be updated with further details.
Signed-off-by: Timothy McDaniel
---
V4: Fix a ler detected guard error on a debu
)
Changes since V1:
Fixed a bug in the port-specific cos patch where we were accessing
beyond the end of the cos_bw array.
Timothy McDaniel (2):
event/dlb2: add CQ weight support
event/dlb2: add ldb port specific COS support
drivers/event/dlb2/dlb2.c | 325
bandwidth associated
with the 4 classes must not exceed 100%. This feature is enabled
on the command line, and will be documented in the DLB2 programmers
guide.
Signed-off-by: Timothy McDaniel
---
V3: fixed a typo/bug that caused us to read beyond the end of an array
V2: Rebased against dpdk-next
nough QEs from the CQ to reverse that).
CQ weight support is enabled via the command line, and applies to
DLB 2.5 (and above) load balanced ports. The DLB2 documentation will
be updated with further details.
Signed-off-by: Timothy McDaniel
---
V4: Fix a ler detected guard error on a debu
were accessing
beyond the end of the cos_bw array.
Timothy McDaniel (2):
event/dlb2: add CQ weight support
event/dlb2: add ldb port specific COS support
drivers/event/dlb2/dlb2.c | 323 -
drivers/event/dlb2/dlb2_avx512.c | 8 +
drivers/event
bandwidth associated
with the 4 classes must not exceed 100%. This feature is enabled
on the command line, and will be documented in the DLB2 programmers
guide.
Signed-off-by: Timothy McDaniel
---
V3: fixed a typo/bug that caused us to read beyond the end of an array
V2: Rebased against dpdk-next
nough QEs from the CQ to reverse that).
CQ weight support is enabled via the command line, and applies to
DLB 2.5 (and above) load balanced ports. The DLB2 documentation will
be updated with further details.
Signed-off-by: Timothy McDaniel
---
V3: Rebased against dpdk-next-eventdev
V2: Added
.
Changes since V1:
Fixed a bug in the port-specific cos patch where we were accessing
beyond the end of the cos_bw array.
Timothy McDaniel (2):
event/dlb2: add CQ weight support
event/dlb2: add ldb port specific COS support
drivers/event/dlb2/dlb2.c | 323
bandwidth associated
with the 4 classes must not exceed 100%. This feature is enabled
on the command line, and will be documented in the DLB2 programmers
guide.
Signed-off-by: Timothy McDaniel
---
V2: Rebased against dpdk-next-eventdev
---
drivers/event/dlb2/dlb2.c | 224
nough QEs from the CQ to reverse that).
CQ weight support is enabled via the command line, and applies to
DLB 2.5 (and above) load balanced ports. The DLB2 documentation will
be updated with further details.
Signed-off-by: Timothy McDaniel
---
V3: Rebased against dpdk-next-eventdev
V2: Added
This patch simply rebases the following previously submitted
patches against the latest dpdk-next-eventdev (for-main) branch.
Timothy McDaniel (2):
event/dlb2: add CQ weight support
event/dlb2: add ldb port specific COS support
drivers/event/dlb2/dlb2.c | 323
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
Acked-by: Kent Wires
===
Changes since V8:
1) Removed compile time control of AVX512 enablement
2) Fixed copyright year in all updated and
Finally, the file doc/guides/eventdevs/features/dlb2.ini has been updated
to match the capabilities actually reported by the PMD.
Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
===
Changes since V2:
Added "f
Finally, the file doc/guides/eventdevs/features/dlb2.ini has been updated
to match the capabilities actually reported by the PMD.
Signed-off-by: Timothy McDaniel
===
Changes since V1;
1) reorder capabilities flags to match the order that they appear in
in the default.ini file
2) update the dlb2
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
Acked-by: Kent Wires
===
Changes since V7:
Fixed whitespace issue in meson.build
Changes since V6:
1) Check for AVX512VL only, removing
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
Acked-by: Kent Wires
===
Changes since V6:
1) Check for AVX512VL only, removing checks for other
AVX512 flags in meson.build
2) rename
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
Acked-by: Kent Wires
===
Changes since V5:
No code changes - just added --in-reply-to and copied Bruce
Changes since V4:
1) Add build-time
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
Acked-by: Kent Wires
===
Changes since V4:
1) Add build-time control for avx512 support to meson.buildi, based
on implementation found in
: 1857f1922ce2 ("event/dlb2: use new implementation of resource file")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_hw_types.h | 2 +-
drivers/event/dlb2/pf/base/dlb2_resource.c | 45 +-
2 files changed, 37 insertions(+), 10 deletion
If QID inflights is set to an invalid value it can cause the
PMD to hang. This commit adds checks to make sure that the
value is valid before programming the hardware.
Fixes: 1857f1922ce2 ("event/dlb2: use new implementation of resource file")
Cc: sta...@dpdk.org
Signed-off-by: Timoth
1) Remove RTE_EVENT_DEV_CAP_QUEUE_QOS. DLB/DLB2 do not support
queue priority
2) Add RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT
3) Add RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK
Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
--
try count = Max enqueue depth / credit quanta in driver before
returning no credit.
Fixes: 3a6d0c04e7fb ("event/dlb2: add port setup")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 78 +-
drivers/event/dlb2/dlb
try count = Max enqueue depth / credit quanta in driver before
returning no credit.
Fixes: 3a6d0c04e7fb ("event/dlb2: add port setup")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 78 +-
drivers/event/dlb2/dlb
try count = Max enqueue depth / credit quanta in driver before
returning no credit.
Fixes: 3a6d0c04e7fb ("event/dlb2: add port setup")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 78 +-
drivers/event/dlb2/dlb
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
Acked-by: Kent Wires
===
Changes since V3:
1) Renamed dlb2_noavx512.c to dlb2_sve.c, and fixed up meson.build
for new file name.
Changes
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
Acked-by: Kent Wires
===
Changes since V1:
1) Split out dlb2_event_build_hcws into two implementations, one
that uses AVX512 instructions
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
Acked-by: Kent Wires
===
Changes since V1:
1) Split out dlb2_event_build_hcws into two implementations, one
that uses AVX512 instructions
bandwidth associated
with the 4 classes must not exceed 100%. This feature is enabled
on the command line, and will be documented in the DLB2 programmers
guide.
Signed-off-by: Timothy McDaniel
---
Depends-on: patch-109560 ("[v2] event/dlb2: add CQ weight support")
---
drivers/event/d
nough QEs from the CQ to reverse that).
CQ weight support is enabled via the command line, and applies to
DLB 2.5 (and above) load balanced ports. The DLB2 documentation will
be updated with further details.
Signed-off-by: Timothy McDaniel
---
Depends-on: patch-109544("event/dlb2: add s
nough QEs from the CQ to reverse that).
CQ weight support is enabled via the command line, and applies to
DLB 2.5 (and above) load balanced ports. The DLB2 documentation will
be updated with further details.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c
The eventdev_dump application provides an easy way to query
and display xstats and pmd dump data. It should work with all
eventdevs. See the help usage for the full set of supported
queries.
Signed-off-by: Timothy McDaniel
---
app/eventdev_dump/main.c | 284
add change when code is built for Xeon with 512b AVX support
to make single 512b write of all 4 QEs instead of 4x64b writes.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 86 ++-
1 file changed, 67 insertions(+), 19 deletions(-)
diff --git a
.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 57 ++---
drivers/event/dlb2/dlb2_priv.h | 10 --
drivers/event/dlb2/pf/dlb2_pf.c | 3 +-
3 files changed, 62 insertions(+), 8 deletions(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event
Add a check to ensure that all shift counts are valid.
Shifting by more than 63 bits may result in undefined behavior, as
noted during coverity scan.
Fixes: e697f35dbdd1 ("event/dlb2: update rolling mask used for dequeue")
Coverity issue: 376527
Signed-off-by: Timothy McDaniel
--
in a suitable amount of time.
Fixes: 1857f1922ce2 ("event/dlb2: use new implementation of resource file")
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c | 23 ++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/drivers/
Update the rolling mask used in dequeue operations. Fixes
vector optimized dequeue.
Fixes: 000a7b8e7582 ("event/dlb2: optimize dequeue operation")
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 28 +---
1 file changed, 21 insertions(+), 7
Convert to PCI "--allow" devarg format. The documentation
was previously using the "--vdev" form, which cannot be used with the
DLB2 PF PMD.
Fixes: 166378a79412 ("event/dlb2: add documentation and build infrastructure")
Cc: sta...@dpdk.org
Signed-off-by: Timothy Mc
quot;event/dlb2: optimize dequeue operation")
Signed-off-by: Timothy McDaniel
---
Cc: timothy.mcdan...@intel.com
---
doc/guides/eventdevs/dlb2.rst | 13 +
drivers/event/dlb2/dlb2.c | 24
drivers/event/dlb2/dlb2_priv.h | 6 +++---
3 files changed,
quot;event/dlb2: optimize dequeue operation")
Signed-off-by: Timothy McDaniel
---
Cc: timothy.mcdan...@intel.com
---
doc/guides/eventdevs/dlb2.rst | 13 +
drivers/event/dlb2/dlb2.c | 24
drivers/event/dlb2/dlb2_priv.h | 6 +++---
3 files changed,
Convert to PCI "--allow" devarg format. The documentation
was previously using the "--vdev" form, which cannot be used with the
DLB2 PF PMD.
Fixes: 166378a79412 ("event/dlb2: add documentation and build infrastructure")
Cc: sta...@dpdk.org
Signed-off-by: Timothy Mc
Deferred scheduling is a DLB v1.0 feature, and is not valid for
DLB v2.0 or v2.5.
Fixes: a3c8a44634e3 ("event/dlb2: remove useless code")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
Cc: timothy.mcdan...@intel.com
---
doc/guides/eventdevs/dlb2
The HW scheduling type was not being extracted properly
in the vector optimizaed dequeue path. It was also not
being recorded in the xstats.
Fixes: 000a7b8e7582 ("event/dlb2: optimize dequeue operation")
Signed-off-by: Timothy McDaniel
---
Cc: timothy.mcdan...@intel.com
---
drivers/
l.com
Signed-off-by: Timothy McDaniel
---
doc/guides/eventdevs/dlb2.rst | 54 +++
1 file changed, 23 insertions(+), 31 deletions(-)
diff --git a/doc/guides/eventdevs/dlb2.rst b/doc/guides/eventdevs/dlb2.rst
index 31de6bc47..bce984ca0 100644
--- a/doc/guides/eventdev
Add dlb to usertools/dpdk-devbind.py so that it shows up
as an eventdev, and is identified as Intel dlb.
Signed-off-by: Timothy McDaniel
---
usertools/dpdk-devbind.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
Add dlb to usertools/dpdk-devbind.py so that it shows up
as an eventdev, and is identified as Intel dlb.
Signed-off-by: Timothy McDaniel
---
usertools/dpdk-devbind.py |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
The new devarg names and their default values
are listed below. The defaults have not changed, and
none of these parameters are accessed in the fast path.
poll_interval=1000
sw_credit_quantai=32
default_depth_thresh=256
Signed-off-by: Timothy McDaniel
---
config/rte_config.h| 3
APIs.
Updated 20.11 release notes to reference dlb rst file, and not
dlb2 rst file, since it was renamed to match the device name
as part of this patch.
Signed-off-by: Timothy McDaniel
---
MAINTAINERS | 6 +-
app/test/test_eventdev.c | 6
Update the dlb documentation for v2.5. Notable differences include
the new cobined credit scheme. Also cleaned up a couple of sections,
and removed a duplicate section.
Signed-off-by: Timothy McDaniel
---
doc/guides/eventdevs/dlb2.rst | 75 +--
1 file changed, 27
Add DLB v2.5 specific information to xstats, such as metrics for the new
credit scheme.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2_xstats.c | 41
1 file changed, 37 insertions(+), 4 deletions(-)
diff --git a/drivers/event/dlb2/dlb2_xstats.c b
safe to remove the old (original)
file, as well as the DLB2_USE_NEW_HEADERS define that was used to
control which version of the file was to be included in certain
source files.
It is now safe to rename the new file, and use it unconditionally
in all DLB source files.
Signed-off-by: Timothy McDaniel
A temporary version of dlb_resource.h (dlb_resource_new.h) was used
by the previous commits in this patch series. Merge the two files
now that DLB v2.5 support has been fully added to dlb_resource.c.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_osdep.h | 2
for v2.0,
but the new combined register map for v2.0 and v2.5
uses new register names and bit names. Additionally,
new register access macros are used so that the code
can perform the correct action, based on the hardware.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base
register access macros are used so that the code
can perform the correct action, based on the hardware.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c| 22 ---
.../event/dlb2/pf/base/dlb2_resource_new.c| 39 +++
2 files changed, 39
register access macros are used so that the code
can perform the correct action, based on the hardware.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c| 1054 -
.../event/dlb2/pf/base/dlb2_resource_new.c| 50 +
2 files changed, 50 insertions
access macros are used so that the code
can perform the correct action, based on the hardware.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c| 160 --
.../event/dlb2/pf/base/dlb2_resource_new.c| 135 +++
2 files changed, 135
DLB v2.5 uses a different credit scheme than was used in DLB v2.0 .
Specifically, there is a single credit pool for both load balanced
and directed traffic, instead of a separate pool for each as is
found with DLB v2.0.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 311
to what was done for v2.0,
but the new combined register map for v2.0 and v2.5
uses new register names and bit names. Additionally,
new register access macros are used so that the code
can perform the correct action, based on the hardware.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2
, based on the hardware.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c| 123 -
.../event/dlb2/pf/base/dlb2_resource_new.c| 130 ++
2 files changed, 130 insertions(+), 123 deletions(-)
diff --git a/drivers/event/dlb2/pf/base
v2.0,
but the new combined register map for v2.0 and v2.5
uses new register names and bit names. Additionally,
new register access macros are used so that the code
can perform the correct action, based on the hardware
version, v2.0 or v2.5.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2
uses new register names and bit names. Additionally,
new register access macros are used so that the code
can perform the correct action, based on the hardware
version, v2.0 or v2.5.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c| 213
v2.0 and v2.5
uses new register names and bit names. Additionally,
new register access macros are used so that the code
can perform the correct action, based on the hardware
version, v2.0 or v2.5.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c| 490
register map for v2.0 and v2.5
uses new register names and bit names. Additionally,
new register access macros are used so that the code
can perform the correct action, based on the hardware
version, v2.0 or v2.5.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c
register access macros are used so that the code
can perform the correct action, based on the hardware
version, v2.0 or v2.5.
Signed-off-by: Timothy McDaniel
---
.../event/dlb2/pf/base/dlb2_hw_types_new.h|1 +
drivers/event/dlb2/pf/base/dlb2_resource.c| 1494 --
.../event/dlb2
map for v2.0 and v2.5
uses new register names and bit names. Additionally,
new register access macros are used so that the code
can perform the correct action based on the hardware
version, v2.0 or v2.5.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/pf/base/dlb2_resource.c| 397
Update domain creation logic to account for DLB v2.5
credit scheme, new register map, and new register access
macros.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2_user.h| 13 +-
drivers/event/dlb2/pf/base/dlb2_resource.c| 645
.../event/dlb2
ll have the logic needed
to implement a single PMD that supports both DLB v2.0 and DLB v2.5.
At that time, the original DLB v2.0 specific files will be deleted,
and the "new" files will be renamed and replace them.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2_p
DLB v2.5 uses a new credit scheme, where directed and load balanced
credits are unified, instead of having separate directed and load
balanced credit pools.
Signed-off-by: Timothy McDaniel
---
drivers/event/dlb2/dlb2.c | 20 --
drivers/event/dlb2/dlb2_user.h
This commit adds dlb v2.5 probe support, and updates
parameter parsing.
The dlb v2.5 device differs from dlb v2, in that the
number of resources (ports, queues, ...) is different,
so macros have been added to take the device version
into account.
Signed-off-by: Timothy McDaniel
---
drivers
1 - 100 of 787 matches
Mail list logo