From: Pravin Pathak
Independent Enqueue support is added to DPDK 24.11.
Adding support for RTE_EVENT_PORT_ATTR_INDEPENDENT_ENQ attribute
to rte_event_port_attr_get() which was missing
Signed-off-by: Pravin Pathak
---
lib/eventdev/rte_eventdev.c | 8
lib/eventdev/rte_eventdev.h | 4
From: Pravin Pathak
Independent Enqueue support is added to DPDK 24.11
Adding the attribute rte_event_port_attr_get() was missing
This commit adds it to retrieve port attributes
Signed-off-by: Pravin Pathak
---
lib/eventdev/rte_eventdev.c | 8
lib/eventdev/rte_eventdev.h | 6
Updates are added to enable releasing of unused credits by threads
to avoid deadlock and starving of other active threads needing credits.
It also adds compile time options to enable/disable credit checks.
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
.mailmap
B ports CQ depths * 2)
* If alloc_hl_entries is not specified, then
Total HL entries for the eventdev = num_ldb_ports * 64
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 220 +
drivers/event/dlb2/dl
While unlinking ports, all associated credits should be released.
This commit avoids race condition when main thread is unlinking
while workers are running.
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 32 +++-
drivers/event/dlb2/dlb2_priv.h | 1 -
2 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index a0e673b96b..58eb27f495 100644
--- a/drivers/event
cachelines while dequeuing. Use PMD calculated CQ depth for cq_depth_mask
calculation.
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/dlb2/pf/dlb2_pf.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
resources management.
Pravin Pathak (6):
event/dlb2: addresses deq failure when CQ depth <= 16
event/dlb2: changes to correctly validate COS ID arguments
event/dlb2: return 96 single link ports for DLB2.5
event/dlb2: support managing history list resource
event/dlb2: avoid credit rele
DLB 2.0 device has 64 single linked or directed ports.
DLB 2.5 device has 96 single linked ports.
This commit fixes issue of rte_event_dev_info_get returning 64
instead of 96 single link ports for DLB2.5
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 8
1 file changed, 4
update QID depth xstats counter in vector dequeue path
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index 5f3b816665..19fe973bff 100644
--- a/drivers/event/dlb2/dlb2.c
From: Tirthendu Sarkar
dlb2_eventdev_info_get() that implements rte_event_dev_info_get() should
return the maximum available credits as supported by HW.
Set maximum credits before device probing by checking HW version.
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/pf/dlb2_pf.c | 2 ++
resources management.
Pravin Pathak (6):
event/dlb2: addresses deq failure when CQ depth <= 16
event/dlb2: changes to correctly validate COS ID arguments
event/dlb2: return 96 single link ports for DLB2.5
event/dlb2: support managing history list resource
event/dlb2: avoid credit rele
cachelines while dequeuing. Use PMD calculated CQ depth for cq_depth_mask
calculation.
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/dlb2/pf/dlb2_pf.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
added RTE_PMD_DLB2_ prefix to dlb2 token pop mode enmus
to avoid name comflict. These enums are passed to public
API rte_pmd_dlb2_set_token_pop_mode().
Fixes: c667583d82f4 ("event/dlb2: add token pop API")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
---
drivers/event/d
B ports CQ depths * 2)
* If alloc_hl_entries is not specified, then
Total HL entries for the eventdev = num_ldb_ports * 64
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 220 +
drivers/event/dlb2/dl
cachelines while dequeuing. Use PMD calculated CQ depth for cq_depth_mask
calculation.
Fixes: 3a6d0c04e7fb3e ("event/dlb2: add port setup")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/d
: bec8901bfe9f ("event/dlb2: support ldb port specific COS")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 32 +++-
drivers/event/dlb2/dlb2_priv.h | 1 -
2 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/drivers/
()
Fixed other
documentation feedback
Pravin Pathak (6):
event/dlb2: fix addresses deq failure when CQ depth <= 16
event/dlb2: fix validaton of LDB port COS ID arguments
event/dlb2: fix num single link ports for DLB2.5
event/dlb2: support managing history list resource
event/dlb2:
While unlinking ports, all associated credits should be released.
This commit avoids race condition when main thread is unlinking
while workers are running.
Fixes: a29248b57b31 ("event/dlb2: add port unlink and unlinks in progress")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
--
ned-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index 8722e62948..69dc3cf7c9 100644
--- a/drivers/event/dlb2/dlb2.c
+++ b/drivers/event/dlb2/dlb2.c
@@ -241,
update QID depth xstats counter in vector dequeue path
Fixes: 000a7b8e7582 ("event/dlb2: optimize dequeue operation")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/event/dlb2/dlb2.c
From: Tirthendu Sarkar
dlb2_eventdev_info_get() that implements rte_event_dev_info_get() should
return the maximum available credits as supported by HW.
Set maximum credits before device probing by checking HW version.
Fixes: b66a418d2ad3 ("event/dlb2: add v2.5 probe")
Cc: sta...@dpdk.org
Sign
B ports CQ depths * 2)
* If alloc_hl_entries is not specified, then
Total HL entries for the eventdev = num_ldb_ports * 64
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 220 +
drivers/event/dlb2/dl
: bec8901bfe9f ("event/dlb2: support ldb port specific COS")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 32 +++-
drivers/event/dlb2/dlb2_priv.h | 1 -
2 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/drivers/
ned-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index 58eb27f495..24c56a7968 100644
--- a/drivers/event/dlb2/dlb2.c
+++ b/drivers/event/dlb2/dlb2.c
@@ -241,
While unlinking ports, all associated credits should be released.
This commit avoids race condition when main thread is unlinking
while workers are running.
Fixes: a29248b57b31 ("event/dlb2: add port unlink and unlinks in progress")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
--
update QID depth xstats counter in vector dequeue path
Fixes: 000a7b8e7582 ("event/dlb2: optimize dequeue operation")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/event/dlb2/dlb2.c
v1 3/7] Added Fixes tag
[PATCH v1 5/7] Added Fixes tag
[PATCH v1 6/7] Added Fixes tag
[PATCH v1 7/7] Added Fixes tag
Pravin Pathak (6):
event/dlb2: fix addresses deq failure when CQ depth <= 16
event/dlb2: fix validaton of LDB port COS ID arguments
event/dlb2: fix num single link po
From: Tirthendu Sarkar
dlb2_eventdev_info_get() that implements rte_event_dev_info_get() should
return the maximum available credits as supported by HW.
Set maximum credits before device probing by checking HW version.
Fixes: b66a418d2ad3 ("event/dlb2: add v2.5 probe")
Cc: sta...@dpdk.org
Sign
cachelines while dequeuing. Use PMD calculated CQ depth for cq_depth_mask
calculation.
Fixes: 3a6d0c04e7fb3e ("event/dlb2: add port setup")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/d
During cleanup, only send releases for events app was
not able to enqueue. Current code is sending releases for
entire dequeue burst.
Fixes: f0b68c0b2af7 ("app/eventdev: clean up worker state before exit")
Cc: sta...@dpdk.org
Signed-off-by: Pravin Pathak
---
app/tes
: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 32 +++-
drivers/event/dlb2/dlb2_priv.h | 1 -
2 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index a0e673b96b..58eb27f495 100644
--- a/drivers/event
DLB 2.0 device has 64 single linked or directed ports.
DLB 2.5 device has 96 single linked ports.
API rte_event_dev_info_get() will return 64 directed
ports for DLB 2.0 and 96 single linked ports for DLB2.5
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 8
1 file changed
cachelines while dequeuing. Use PMD calculated CQ depth for cq_depth_mask
calculation.
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 4 ++--
drivers/event/dlb2/pf/dlb2_pf.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
update QID depth xstats counter in vector dequeue path
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index 6734e93eac..6dfb345de8 100644
--- a/drivers/event/dlb2/dlb2.c
B ports CQ depths * 2)
* If alloc_hl_entries is not specified, then
Total HL entries for the eventdev = num_ldb_ports * 64
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/dlb2.c | 220 +
drivers/event/dlb2/dl
From: Tirthendu Sarkar
dlb2_eventdev_info_get() that implements rte_event_dev_info_get() should
return the maximum available credits as supported by HW.
Set maximum credits before device probing by checking HW version.
Signed-off-by: Tirthendu Sarkar
---
drivers/event/dlb2/pf/dlb2_pf.c | 2 ++
While unlinking ports, all associated credits should be released.
This commit avoids race condition when main thread is unlinking
while workers are running.
Signed-off-by: Pravin Pathak
---
drivers/event/dlb2/dlb2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
v2:
[PATCH v1 3/7] Addressed issue with Fixes tag
[PATCH v1 4/7] Renamed structure and Macros to avoid
name space conflicts.
[PATCH v1 4/7] Addressed Doxygen format feedback
Pravin Pathak (6):
event/dlb2: addresses deq failure
This feature enables restarting a stopped eventdev with a call
to rte_event_dev_start(). For this, the DLB scheduling domain needs
to be stopped, all DLB ports disabled during eventdev stop and
re-enabled during start. Port configuration is preserved.
Signed-off-by: Pravin Pathak
Signed-off-by
This feature enables restarting a stopped eventdev with a call
to rte_event_dev_start(). For this, the DLB scheduling domain needs
to be stopped, all DLB ports disabled during eventdev stop and
re-enabled during start. Port configuration is preserved.
Signed-off-by: Pravin Pathak
Signed-off-by
interrupt. Default mode is polling.
This commit also adds code to handle device error interrupts
and print alarm details.
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
doc/guides/eventdevs/dlb2.rst | 20 +
drivers/event/dlb2/dlb2.c | 236
Update DPDK documentation for configuring DLB hardware history
list resource using devargs arguments.
Fixes: 33ab065d0c40 ("event/dlb2: support managing history list resource")
Signed-off-by: Pravin Pathak
---
doc/guides/eventdevs/dlb2.rst | 23 +++
1 file c
interrupt. Default mode is polling.
This commit also adds code to handle device error interrupts
and print alarm details.
Signed-off-by: Pravin Pathak
Signed-off-by: Tirthendu Sarkar
---
doc/guides/eventdevs/dlb2.rst | 20 +
drivers/event/dlb2/dlb2.c | 236
Adding new mail for DPDK contribution
Signed-off-by: Pravin Pathak
---
.mailmap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index c7d55c7386..1c5c367f6c 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1240,7 +1240,7 @@ Prateek Agarwal
Prathisna Padmasanan
Adding new mail for DPDK contribution
Signed-off-by: Pravin Pathak
---
.mailmap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index c7d55c7386..1c5c367f6c 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1240,7 +1240,7 @@ Prateek Agarwal
Prathisna Padmasanan
Adding new mail for DPDK contribution
Signed-off-by: Pravin Pathak
---
.mailmap | 1 +
1 file changed, 1 insertion(+)
diff --git a/.mailmap b/.mailmap
index c7d55c7386..c81e745ce7 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1240,6 +1240,7 @@ Prateek Agarwal
Prathisna Padmasanan
Praveen
47 matches
Mail list logo