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
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
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 ++
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
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
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
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
: 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
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.
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
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 ++
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
: 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
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
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
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
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
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
21 matches
Mail list logo