[PATCH v1] event/dlb2: add port probing enhancements

2022-10-12 Thread Abdullah Sevincer
to 255 (UINT8_MAX) from -1. 4-Add check for valid producer coremask during probing dbl2 resources. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 9 +- drivers/event/dlb2/dlb2_priv.h | 4 +- drivers/event/dlb2/dlb2_user.h | 2

[PATCH v2 1/4] event/dlb2: remove cos from port probing

2022-10-12 Thread Abdullah Sevincer
This commit removes cos (class of service) from port probing criteria and applies enhancements for selection of ports from best cos when default cos (255) is used. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 5 +- drivers/event/dlb2/dlb2_priv.h

[PATCH v2 2/4] event/dlb2: add check valid producer coremask

2022-10-12 Thread Abdullah Sevincer
This commit add checks during port probing for validating producer core masks if they are a subset of eal coremask. Error is returned if producer coremask is not a subset of eal coremask. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/pf/base/dlb2_resource.c | 21

[PATCH v2 3/4] event/dlb2: remove cos from devargs

2022-10-12 Thread Abdullah Sevincer
This commit removes the cos argument from devargs struct. Since cos is now per port specific only and supported through port_cos in dev_args, there is no need to to have a cos argument in dev_args struct. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 1 - drivers/event

[PATCH v2 4/4] event/dlb2: fix port cos override calculation

2022-10-12 Thread Abdullah Sevincer
This commit fixes a calculation error of total number of ldb ports during port cos override from dlb2 event structure. Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 3 ++- 1 file

[PATCH v1] event/dlb2: fix port COS range allocation

2022-10-19 Thread Abdullah Sevincer
default(best) COS. Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 14 +- drivers/event/dlb2/dlb2_priv.h | 2 ++ 2 files changed, 11 insertions(+), 5 deletions(-) di

[PATCH v2] event/dlb2: fix port COS range allocation

2022-10-19 Thread Abdullah Sevincer
(best) COS. Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 14 +- drivers/event/dlb2/dlb2_priv.h | 2 ++ 2 files changed, 11 insertions(+), 5 deletions(-) di

[PATCH v3] event/dlb2: fix port COS range allocation

2022-10-20 Thread Abdullah Sevincer
(best) COS. Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 9 ++--- drivers/event/dlb2/dlb2_priv.h | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dri

[PATCH v4] event/dlb2: fix port COS range allocation

2022-10-20 Thread Abdullah Sevincer
(best) COS. Fixes: bec8901bfe9f ("event/dlb2: support ldb port specific COS") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 9 ++--- drivers/event/dlb2/dlb2_priv.h | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dri

[PATCH v2 1/3] event/dlb2: add producer port probing optimization

2022-09-26 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 72 +- drivers/event/dlb2/dlb

[PATCH v2 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-26 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v2 3/3] event/dlb2: optimize credit allocations

2022-09-26 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v3 1/3] event/dlb2: add producer port probing optimization

2022-09-26 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 72 +- drivers/event/dlb2/dlb

[PATCH v3 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-26 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v3 3/3] event/dlb2: optimize credit allocations

2022-09-26 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v1] doc: update DLB2 documentation

2022-09-26 Thread Abdullah Sevincer
This commit updates the dlb2.rst eventdev guide to document a new devarg. A new devarg: "default_port_allocation" added to allow default ldb port allocation scheme. Signed-off-by: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 19 +++ 1 file changed, 19

[PATCH v2] doc: update DLB2 documentation

2022-09-26 Thread Abdullah Sevincer
This commit updates the dlb2.rst eventdev guide to document a new devarg. A new devarg: "default_port_allocation" added to allow default ldb port allocation scheme. Signed-off-by: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 19 +++ 1 file changed, 19

[PATCH v3] doc: update DLB2 documentation

2022-09-26 Thread Abdullah Sevincer
This commit updates the dlb2.rst eventdev guide to document a new devarg. A new devarg: "default_port_allocation" added to allow default ldb port allocation scheme. Signed-off-by: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 19 +++ 1 file changed, 19

[PATCH v4 1/3] event/dlb2: add producer port probing optimization

2022-09-26 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 72 +- drivers/event/dlb2/dlb

[PATCH v4 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-26 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v4 3/3] event/dlb2: optimize credit allocations

2022-09-26 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v4] event/dlb2: fix max cq_depth/enq_depth cli override

2022-09-27 Thread Abdullah Sevincer
rte_event_enqueue_burst() call at most max_enq_depth events are enqueued. Also set per port and domain history list sizes based on cq_depth. This results in dequeuing correct number of events as set by max_cq_depth. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 9 + 1 file changed, 5

[PATCH v5] event/dlb2: fix max enqueue and dequeue cli override

2022-09-28 Thread Abdullah Sevincer
ned-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c index 759578378f..dbb8284135 100644 --- a/drivers/event/dlb2/dlb2.c +++ b/drivers/event/dlb2/dlb2.c @@ -81

[PATCH v5 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v5 1/3] event/dlb2: add producer port probing optimization

2022-09-28 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 36 +++ drivers/event/dlb2/dlb2.c

[PATCH v6 1/3] event/dlb2: add producer port probing optimization

2022-09-28 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 36 +++ drivers/event/dlb2/dlb2.c

[PATCH v6 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v6 3/3] event/dlb2: optimize credit allocations

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v7 1/3] event/dlb2: add producer port probing optimization

2022-09-28 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 36 +++ drivers/event/dlb2/dlb2.c

[PATCH v7 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v7 3/3] event/dlb2: optimize credit allocations

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v8 1/3] event/dlb2: add producer port probing optimization

2022-09-28 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 36 +++ drivers/event/dlb2/dlb2.c

[PATCH v8 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v8 3/3] event/dlb2: optimize credit allocations

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v9 1/3] event/dlb2: add producer port probing optimization

2022-09-28 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 36 +++ drivers/event/dlb2/dlb2.c

[PATCH v9 3/3] event/dlb2: optimize credit allocations

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v9 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v10 3/3] event/dlb2: optimize credit allocations

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v10 1/3] event/dlb2: add producer port probing optimization

2022-09-28 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 36 +++ drivers/event/dlb2/dlb2.c

[PATCH v10 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-28 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v11 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-29 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v11 1/3] event/dlb2: add producer port probing optimization

2022-09-29 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 36 +++ drivers/event/dlb2/dlb2.c

[PATCH v11 3/3] event/dlb2: optimize credit allocations

2022-09-29 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v12 3/3] event/dlb2: optimize credit allocations

2022-09-29 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 20 +++- 1 file changed, 19 insertions(

[PATCH v12 2/3] event/dlb2: add fence bypass option for producer ports

2022-09-29 Thread Abdullah Sevincer
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: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 29 + 1 file changed, 21 insertions(+), 8 deletions

[PATCH v12 1/3] event/dlb2: add producer port probing optimization

2022-09-29 Thread Abdullah Sevincer
ng 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: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 36 +++ drivers/event/dlb2/dlb2.c

[PATCH] eal: make eal_parse_coremask external

2022-09-14 Thread Abdullah Sevincer
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: Abdullah Sevincer --- lib/eal/common/eal_common_options.c | 6

[PATCH v1] event/dlb2: fix max cq_depth/enq_depth cli override

2022-09-21 Thread Abdullah Sevincer
rte_event_enqueue_burst() call at most max_enq_depth events are enqueued. Also set per port and domain history list sizes based on cq_depth. This results in dequeing correct number of events as set by max_cq_depth. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 9 + 1 file changed, 5

[PATCH v2] event/dlb2: fix max cq_depth/enq_depth cli override

2022-09-21 Thread Abdullah Sevincer
rte_event_enqueue_burst() call at most max_enq_depth events are enqueued. Also set per port and domain history list sizes based on cq_depth. This results in dequeing correct number of events as set by max_cq_depth. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 9 + 1 file changed, 5

[PATCH v3] event/dlb2: fix max cq_depth/enq_depth cli override

2022-09-21 Thread Abdullah Sevincer
rte_event_enqueue_burst() call at most max_enq_depth events are enqueued. Also set per port and domain history list sizes based on cq_depth. This results in dequeing correct number of events as set by max_cq_depth. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 9 + 1 file changed, 5

[PATCH v13] app/procinfo: display eventdev xstats

2023-05-17 Thread Abdullah Sevincer
in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 386 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 32 ++- 3 files changed, 417 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v14] app/procinfo: display eventdev xstats

2023-05-17 Thread Abdullah Sevincer
in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 386 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 32 ++- 3 files changed, 417 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v15] app/procinfo: display eventdev xstats

2023-05-24 Thread Abdullah Sevincer
in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 386 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 26 ++- 3 files changed, 411 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v16] app/procinfo: display eventdev xstats

2023-05-25 Thread Abdullah Sevincer
in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 389 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 26 ++- 3 files changed, 414 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v17] app/procinfo: display eventdev xstats

2023-05-25 Thread Abdullah Sevincer
in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 375 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 26 ++- 3 files changed, 400 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v1] event/dlb2: add support for disabling PASID

2023-06-07 Thread Abdullah Sevincer
writing a zero to PASID control register. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/pf/dlb2_main.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf/dlb2_main.c index 717aa4fc08..63868e2388 100644

[PATCH v2] event/dlb2: disable PASID for kernel 6.2

2023-10-26 Thread Abdullah Sevincer
writing a zero to PASID control register. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/pf/dlb2_main.c | 24 lib/pci/rte_pci.h | 4 2 files changed, 28 insertions(+) diff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf

[PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-30 Thread Abdullah Sevincer
writing a zero to PASID control register. Fixes: 5433956d5185 ("event/dlb2: add eventdev probe") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/pf/dlb2_main.c | 27 +++ lib/pci/rte_pci.h | 5 + 2 files changed, 32

[PATCH v1] bus/pci: add function to enable/disable PASID

2023-11-03 Thread Abdullah Sevincer
retrieved by rte_pci_find_ext_capability() api. Therefore, api implemented in this commit accepts an offset for PASID with an enable flag which is used to enable/disable PASID. Signed-off-by: Abdullah Sevincer --- drivers/bus/pci/pci_common.c | 7 +++ drivers/bus/pci/rte_bus_pci.h | 11

[PATCH v4] event/dlb2: fix disable PASID

2023-11-03 Thread Abdullah Sevincer
. Fixes: 5433956d5185 ("event/dlb2: add eventdev probe") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/pf/dlb2_main.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf/dlb2_main.c index

[PATCH v5 0/2] *** Disable PASID for DLB Device ***

2023-11-03 Thread Abdullah Sevincer
*** BLURB HERE *** Abdullah Sevincer (2): bus/pci: add function to enable/disable PASID event/dlb2: fix disable PASID drivers/bus/pci/pci_common.c | 7 +++ drivers/bus/pci/rte_bus_pci.h | 13 + drivers/bus/pci/version.map | 1 + drivers/event/dlb2/pf

[PATCH v5 1/2] bus/pci: add function to enable/disable PASID

2023-11-03 Thread Abdullah Sevincer
offset can not be retrieved by rte_pci_find_ext_capability() api. Therefore, api implemented in this commit accepts an offset for PASID with an enable flag which is used to enable/disable PASID. Signed-off-by: Abdullah Sevincer --- drivers/bus/pci/pci_common.c | 7 +++ drivers/bus/pci

[PATCH v5 2/2] event/dlb2: fix disable PASID

2023-11-03 Thread Abdullah Sevincer
. Fixes: 5433956d5185 ("event/dlb2: add eventdev probe") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/pf/dlb2_main.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf/dlb2_main.c index

[PATCH v6 0/2] *** Disable PASID for DLB Device ***

2023-11-03 Thread Abdullah Sevincer
*** BLURB HERE *** Abdullah Sevincer (2): bus/pci: add function to enable/disable PASID event/dlb2: fix disable PASID drivers/bus/pci/pci_common.c | 7 +++ drivers/bus/pci/rte_bus_pci.h | 13 + drivers/bus/pci/version.map | 1 + drivers/event/dlb2/pf

[PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-03 Thread Abdullah Sevincer
offset can not be retrieved by rte_pci_find_ext_capability() api. Therefore, api implemented in this commit accepts an offset for PASID with an enable flag which is used to enable/disable PASID. Signed-off-by: Abdullah Sevincer --- drivers/bus/pci/pci_common.c | 7 +++ drivers/bus/pci

[PATCH v6 2/2] event/dlb2: fix disable PASID

2023-11-03 Thread Abdullah Sevincer
. Fixes: 5433956d5185 ("event/dlb2: add eventdev probe") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/pf/dlb2_main.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf/dlb2_main.c index

[PATCH v7 0/2] *** Disable PASID for DLB Device ***

2023-11-06 Thread Abdullah Sevincer
This series implement an internal API to disable PASID and calls the api to disable PASID in event/dlb2 device. Abdullah Sevincer (2): bus/pci: support PASID control event/dlb2: fix disable PASID drivers/bus/pci/pci_common.c | 7 +++ drivers/bus/pci/rte_bus_pci.h | 13

[PATCH v7 1/2] bus/pci: support PASID control

2023-11-06 Thread Abdullah Sevincer
rte_pci_find_ext_capability() api. Therefore, api implemented in this commit accepts an offset for PASID with an enable flag which is used to enable/disable PASID. Signed-off-by: Abdullah Sevincer --- drivers/bus/pci/pci_common.c | 7 +++ drivers/bus/pci/rte_bus_pci.h | 13 + drivers/bus/pci

[PATCH v7 2/2] event/dlb2: fix disable PASID

2023-11-06 Thread Abdullah Sevincer
. Fixes: 5433956d5185 ("event/dlb2: add eventdev probe") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/pf/dlb2_main.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf/dlb2_main.c index

[PATCH v1] bus/pci: revise support PASID control

2023-11-13 Thread Abdullah Sevincer
("bus/pci: add PASID control"). Signed-off-by: Abdullah Sevincer --- drivers/bus/pci/pci_common.c | 5 ++--- drivers/bus/pci/rte_bus_pci.h | 5 - drivers/event/dlb2/pf/dlb2_main.c | 4 ++-- lib/pci/rte_pci.h | 2 +- 4 files changed, 9 insertions(+), 7 dele

[PATCH v2] bus/pci: revise support PASID control

2023-11-14 Thread Abdullah Sevincer
9aec ("bus/pci: add PASID control"). Signed-off-by: Abdullah Sevincer --- drivers/bus/pci/pci_common.c | 5 ++--- drivers/bus/pci/rte_bus_pci.h | 5 - drivers/event/dlb2/pf/dlb2_main.c | 4 ++-- lib/pci/rte_pci.h | 2 +- 4 files changed, 9 insertions(+),

[PATCH v2] app/procinfo: display eventdev xstats for PMD data

2023-02-06 Thread Abdullah Sevincer
data suc as Rx/Tx descriptor dump. More information can be found in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 208 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 45 ++- 3 files changed

[PATCH v3] app/procinfo: display eventdev xstats for PMD data

2023-02-06 Thread Abdullah Sevincer
data suc as Rx/Tx descriptor dump. More information can be found in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 208 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 42 ++- 3 files changed

[PATCH v4] app/procinfo: display eventdev xstats for PMD data

2023-02-06 Thread Abdullah Sevincer
data suc as Rx/Tx descriptor dump. More information can be found in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 208 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 42 ++- 3 files changed

[PATCH v5] app/procinfo: display eventdev xstats for PMD data

2023-02-07 Thread Abdullah Sevincer
data suc as Rx/Tx descriptor dump. More information can be found in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 208 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 42 ++- 3 files changed

[PATCH v6] app/procinfo: display eventdev xstats for PMD data

2023-02-22 Thread Abdullah Sevincer
data suc as Rx/Tx descriptor dump. More information can be found in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 207 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 42 ++- 3 files changed

[PATCH v1] eventdev: fix invalid memory free operation

2023-02-28 Thread Abdullah Sevincer
.@dpdk.org Signed-off-by: Abdullah Sevincer --- lib/eventdev/rte_eventdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c index 71a29f3506..6ab4524332 100644 --- a/lib/eventdev/rte_eventdev.c +++ b/lib/eventdev/rte_

[PATCH v7] app/procinfo: display eventdev xstats

2023-03-09 Thread Abdullah Sevincer
proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 211 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 27 - 3 files changed, 237 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v8] app/procinfo: display eventdev xstats

2023-03-09 Thread Abdullah Sevincer
proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 210 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 27 - 3 files changed, 236 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v1] maintainers: update maintainer for DLB Driver

2023-06-26 Thread Abdullah Sevincer
Abdullah Sevincer is now maintainer for DLB Driver. Signed-off-by: Abdullah Sevincer --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index fda0b55513..58ef06dd74 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1334,7 +1334,7 @@ M

[PATCH v1] event/dlb2: revise QE Weight Feature

2023-06-27 Thread Abdullah Sevincer
: Abdullah Sevincer --- doc/guides/eventdevs/dlb2.rst | 107 -- drivers/event/dlb2/dlb2.c | 132 +++-- drivers/event/dlb2/dlb2_priv.h | 4 +- 3 files changed, 131 insertions(+), 112 deletions(-) diff --git a/doc/guides/eventdevs/dlb2.rst b/doc

[PATCH v1] app/procinfo: revise display eventdev xstats

2023-07-08 Thread Abdullah Sevincer
Fixes: 674bb3906931 ("app/procinfo: display eventdev xstats") Cc: sta...@dpdk.org Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index

[PATCH v9] app/procinfo: display eventdev xstats

2023-03-19 Thread Abdullah Sevincer
proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 297 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 32 +++- 3 files changed, 328 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v10] app/procinfo: display eventdev xstats

2023-03-19 Thread Abdullah Sevincer
in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 297 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 32 +++- 3 files changed, 328 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v11] app/procinfo: display eventdev xstats

2023-03-19 Thread Abdullah Sevincer
in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 296 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 32 +++- 3 files changed, 327 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v12] app/procinfo: display eventdev xstats

2023-03-19 Thread Abdullah Sevincer
in proc-info app doc. Signed-off-by: Abdullah Sevincer --- app/proc-info/main.c | 294 - app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 32 +++- 3 files changed, 325 insertions(+), 3 deletions(-) diff --git a/app/proc-info

[PATCH v1 1/3] event/dlb2: add support for HW delayed token

2024-05-01 Thread Abdullah Sevincer
-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 58 - drivers/event/dlb2/dlb2_iface.c| 3 + drivers/event/dlb2/dlb2_iface.h| 4 +- drivers/event/dlb2/dlb2_priv.h | 5 ++ drivers/event/dlb2/dlb2_user.h | 24

[PATCH v1 0/3] *** DLB2 Enhancements ***

2024-05-01 Thread Abdullah Sevincer
This patchset addresses enhancements made in DLB Driver. Abdullah Sevincer (3): event/dlb2: add support for HW delayed token event/dlb2: add support for dynamic HL entries event/dlb2: enhance DLB credit handling app/test-eventdev/test_perf_common.c | 20 +- drivers/event/dlb2/dlb2

[PATCH v1 2/3] event/dlb2: add support for dynamic HL entries

2024-05-01 Thread Abdullah Sevincer
). If alloc_hl_entries is not specified, then Total HL entries for the vdev = num_ldb_ports * 64. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 124 -- drivers/event/dlb2/dlb2_priv.h| 10 ++- drivers/event/dlb2/pf/dlb2_pf.c | 7 +- dri

[PATCH v1 3/3] event/dlb2: enhance DLB credit handling

2024-05-01 Thread Abdullah Sevincer
call rte_event_port_unlink() to release any accumulated credits by producer ports. Signed-off-by: Abdullah Sevincer --- app/test-eventdev/test_perf_common.c | 20 +-- drivers/event/dlb2/dlb2.c| 203 +-- drivers/event/dlb2/dlb2_priv.h | 1 + drivers/event

[PATCH v2 0/3] DLB2 Enhancements

2024-05-01 Thread Abdullah Sevincer
This patchset addresses DLB enhancements in the DLB driver. Abdullah Sevincer (3): event/dlb2: add support for HW delayed token event/dlb2: add support for dynamic HL entries event/dlb2: enhance DLB credit handling app/test-eventdev/test_perf_common.c | 20 +- drivers/event/dlb2

[PATCH v2 1/3] event/dlb2: add support for HW delayed token

2024-05-01 Thread Abdullah Sevincer
-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 58 - drivers/event/dlb2/dlb2_iface.c| 3 + drivers/event/dlb2/dlb2_iface.h| 4 +- drivers/event/dlb2/dlb2_priv.h | 5 ++ drivers/event/dlb2/dlb2_user.h | 24

[PATCH v2 2/3] event/dlb2: add support for dynamic HL entries

2024-05-01 Thread Abdullah Sevincer
). If alloc_hl_entries is not specified, then Total HL entries for the vdev = num_ldb_ports * 64. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 124 -- drivers/event/dlb2/dlb2_priv.h| 10 ++- drivers/event/dlb2/pf/dlb2_pf.c | 7 +- dri

[PATCH v2 3/3] event/dlb2: enhance DLB credit handling

2024-05-01 Thread Abdullah Sevincer
call rte_event_port_unlink() to release any accumulated credits by producer ports. Signed-off-by: Abdullah Sevincer --- app/test-eventdev/test_perf_common.c | 20 +-- drivers/event/dlb2/dlb2.c| 203 +-- drivers/event/dlb2/dlb2_priv.h | 1 + drivers/event

[PATCH v3 0/3] DLB2 Enhancements

2024-05-01 Thread Abdullah Sevincer
This patchset addresses DLB enhancements in the DLB driver. Abdullah Sevincer (3): event/dlb2: add support for HW delayed token event/dlb2: add support for dynamic HL entries event/dlb2: enhance DLB credit handling app/test-eventdev/test_perf_common.c | 20 +- drivers/event/dlb2

[PATCH v3 1/3] event/dlb2: add support for HW delayed token

2024-05-01 Thread Abdullah Sevincer
-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 58 - drivers/event/dlb2/dlb2_iface.c| 3 + drivers/event/dlb2/dlb2_iface.h| 4 +- drivers/event/dlb2/dlb2_priv.h | 5 ++ drivers/event/dlb2/dlb2_user.h | 24

[PATCH v3 2/3] event/dlb2: add support for dynamic HL entries

2024-05-01 Thread Abdullah Sevincer
). If alloc_hl_entries is not specified, then Total HL entries for the vdev = num_ldb_ports * 64. Signed-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 124 -- drivers/event/dlb2/dlb2_priv.h| 10 ++- drivers/event/dlb2/pf/dlb2_pf.c | 7 +- dri

[PATCH v3 3/3] event/dlb2: enhance DLB credit handling

2024-05-01 Thread Abdullah Sevincer
call rte_event_port_unlink() to release any accumulated credits by producer ports. Signed-off-by: Abdullah Sevincer --- app/test-eventdev/test_perf_common.c | 20 +-- drivers/event/dlb2/dlb2.c| 203 +-- drivers/event/dlb2/dlb2_priv.h | 1 + drivers/event

[PATCH v4 0/3] DLB2 Enhancements

2024-05-01 Thread Abdullah Sevincer
This patchset addresses DLB enhancements in the DLB driver. Abdullah Sevincer (3): event/dlb2: add support for HW delayed token event/dlb2: add support for dynamic HL entries event/dlb2: enhance DLB credit handling app/test-eventdev/test_perf_common.c | 20 +- drivers/event/dlb2

[PATCH v4 1/3] event/dlb2: add support for HW delayed token

2024-05-01 Thread Abdullah Sevincer
-off-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 58 - drivers/event/dlb2/dlb2_iface.c| 3 + drivers/event/dlb2/dlb2_iface.h| 4 +- drivers/event/dlb2/dlb2_priv.h | 5 ++ drivers/event/dlb2/dlb2_user.h | 24

  1   2   >