Commit aafaea3d3b70 ("devtools: add tags
and cscope index generation") introduced
new make targets. This change updates the
help target output to reflect the additions.
Signed-off-by: Gabriel Carrillo
---
v3:
* Updated formatting.
doc/build-sdk-quick.txt | 2 ++
1 file changed, 2
Commit aafaea3d3b70 ("devtools: add tags
and cscope index generation") introduced
new make targets. This change updates the
help target output to reflect the additions.
Signed-off-by: Gabriel Carrillo
---
doc/build-sdk-quick.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a
Commit aafaea3d3b70 ("devtools: add tags
and cscope index generation") introduced
new make targets. This change updates the
help target output to reflect the additions.
Signed-off-by: Gabriel Carrillo
---
doc/build-sdk-quick.txt | 21 +++--
1 file changed, 11 inserti
each skiplist
in its array and acquire a skiplist's lock while a run list is broken
out; meanwhile, all other lists can continue to be modified. Then, all
run lists for lcore k are collected and traversed together so timers are
executed in their global order.
Gabriel Carrillo (3):
time
eases performance.
Signed-off-by: Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 309 +++
lib/librte_timer/rte_timer.h | 9 +-
2 files changed, 202 insertions(+), 116 deletions(-)
diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_ti
This commit adds support for timers being created from
non-EAL threads; it maps timers from all such threads to
lcore id RTE_MAX_LCORE, and puts them all in a corresponding
skiplist.
Signed-off-by: Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 48
This change updates the timer library documentation to
reflect a change to the organization of the skiplists
in the implementation.
Signed-off-by: Gabriel Carrillo
---
doc/guides/prog_guide/timer_lib.rst | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a
each skiplist
in its array and acquire a skiplist's lock while a run list is broken
out; meanwhile, all other lists can continue to be modified. Then, all
run lists for lcore k are collected and traversed together so timers are
executed in their relative order.
Gabriel Carrillo (3):
time
eases performance.
Signed-off-by: Gabriel Carrillo
---
v2:
* Address checkpatch warnings
lib/librte_timer/rte_timer.c | 309 +++
lib/librte_timer/rte_timer.h | 9 +-
2 files changed, 202 insertions(+), 116 deletions(-)
diff --git a/lib/librte_
This commit adds support for timers being created from
non-EAL threads; it maps timers from all such threads to
lcore id RTE_MAX_LCORE, and puts them all in a corresponding
skiplist.
Signed-off-by: Gabriel Carrillo
---
v2:
* Address checkpatch warnings
lib/librte_timer/rte_timer.c | 48
This change updates the timer library documentation to
reflect a change to the organization of the skiplists
in the implementation.
Signed-off-by: Gabriel Carrillo
---
doc/guides/prog_guide/timer_lib.rst | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a
we:
- don't let the "service_active_on_lcore" state linger as 1
- don't clear the state early
Fixes: 6550113be62d ("service: fix lingering active status")
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
lib/eal/common/rte_service.c | 13 +++--
1 file ch
Introduce an event timer adapter API which allows users to determine how
many adapter ticks remain until an event timer expires.
Signed-off-by: Erik Gabriel Carrillo
---
v4:
* Rename API to rte_event_timer_remaining_ticks_get
* Return error if API out param is NULL instead asserting it is non
an integer type when returning. Also
move the logic that checks the timeout range into the function that
performs the above computation.
Fixes: 6750b21bd6af ("eventdev: add default software timer adapter")
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
li
an integer type when returning. Also
move the logic that checks the timeout range into the function that
performs the above computation.
Fixes: 6750b21bd6af ("eventdev: add default software timer adapter")
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
v2:
* Fix impli
Fix a typo that can cause the hugepage memory that backs the adapters
array to be freed unexpectedly.
Fixes: e9caa6a09a "eventdev: move timer adapters memory to hugepage")
Signed-off-by: Erik Gabriel Carrillo
---
lib/eventdev/rte_event_timer_adapter.c | 2 +-
1 file changed, 1 inser
timer adapter")
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
v3:
* Use integer operations instead of floating point, and use
rte_reciprocal_divide() for division.
v2:
* Fix implicit int to float conversion build warning on Clang
lib/eventdev/rte_event_timer_adap
flush call so that it happens with every invocation of
the service function, rather than on every adapter tick, to avoid the
delay.
Fixes: cc7b73ea9e3b ("eventdev: add new software timer adapter")
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
lib/eventdev/rte_event_timer
Introduce an event timer adapter API which allows users to determine how
many adapter ticks remain until an event timer fires.
Signed-off-by: Erik Gabriel Carrillo
---
app/test/test_event_timer_adapter.c| 68 ++
lib/eventdev/event_timer_adapter_pmd.h | 7 +++
lib
Introduce an event timer adapter API which allows users to determine how
many adapter ticks remain until an event timer fires.
Signed-off-by: Erik Gabriel Carrillo
---
v2:
* Rename API to rte_event_timer_get_remaining_ticks
* Assert that API out param is non-NULL instead of checking and
Introduce an event timer adapter API which allows users to determine how
many adapter ticks remain until an event timer fires.
Signed-off-by: Erik Gabriel Carrillo
---
v3:
* Handle ENOTSUP case in unit test
v2:
* Rename API to rte_event_timer_get_remaining_ticks
* Assert that API out param is
a
producer")
Signed-off-by: Erik Gabriel Carrillo
---
v2:
- Add a fixline to commit message
app/test-eventdev/test_perf_common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test-eventdev/test_perf_common.c
b/app/test-eventdev/test_perf_common.c
index 8618775.
a
producer")
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Jerin Jacob
---
v3:
- Forgot to add Jerin's ack line.
v2:
- Add a fixline to commit message (Jerin)
app/test-eventdev/test_perf_common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test-eventdev/t
Erik Gabriel Carrillo
---
lib/librte_timer/Makefile | 1 +
lib/librte_timer/rte_timer.c | 519 ++---
lib/librte_timer/rte_timer.h | 226 +-
lib/librte_timer/rte_timer_version.map | 22 ++
4 files changed, 723 insertions(+
into their own series
- version the symbols where the existing ABI was updated, and
provide alternate implementation with behavior equivalent to original
behavior. Validate ABI compatibility with validate-abi.sh
- refactor changes to simplify patches
Erik Gabriel Carrillo (2):
tim
Add a function to the timer API that allows a caller to traverse a
specified set of timer lists, stopping each timer in each list,
and invoking a callback function.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 39 ++
lib
patch to the timer library that is referenced below.)
Depends on: https://patches.dpdk.org/project/dpdk/list/?series=2699
[1] https://doc.dpdk.org/guides/prog_guide/event_timer_adapter.html
Changes in v2:
- split this change out into its own patch series
Erik Gabriel Carrillo (1):
eventdev: add
performance, this version does away with the ring
and lets lcores in both primary and secondary processes insert timers
directly into timer skiplist data structures; the service core directly
accesses the lists as well, when looking for timers that have expired.
Signed-off-by: Erik Gabriel
Erik Gabriel Carrillo
---
lib/librte_timer/Makefile | 1 +
lib/librte_timer/rte_timer.c | 519 ++---
lib/librte_timer/rte_timer.h | 226 +-
lib/librte_timer/rte_timer_version.map | 22 ++
4 files changed, 723 insertions(+
Add a function to the timer API that allows a caller to traverse a
specified set of timer lists, stopping each timer in each list,
and invoking a callback function.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 39 ++
lib
.sh
- refactor changes to simplify patches
Erik Gabriel Carrillo (2):
timer: allow timer management in shared memory
timer: add function to stop all timers in a list
lib/librte_timer/Makefile | 1 +
lib/librte_timer/rte_timer.c | 558 ++---
l
unnecessary cast in mempool_put() call
- update alignment of elements of array to avoid false sharing issue
Changes in v2:
- split this change out into its own patch series
Erik Gabriel Carrillo (1):
eventdev: add new software event timer adapter
lib/librte_eventdev
performance, this version does away with the ring
and lets lcores in both primary and secondary processes insert timers
directly into timer skiplist data structures; the service core directly
accesses the lists as well, when looking for timers that have expired.
Signed-off-by: Erik Gabriel
:
- split this change out into its own patch series
Erik Gabriel Carrillo (1):
eventdev: add new software event timer adapter
lib/librte_eventdev/rte_event_timer_adapter.c | 689 +++---
1 file changed, 277 insertions(+), 412 deletions(-)
--
2.6.4
performance, this version does away with the ring
and lets lcores in both primary and secondary processes insert timers
directly into timer skiplist data structures; the service core directly
accesses the lists as well, when looking for timers that have expired.
Signed-off-by: Erik Gabriel
her
by rte_timer_manage()
This commit fixes this race condition by only releasing the spinlock
after the timer state has been transitioned from CONFIG to PENDING,
which prevents rte_timer_manage() from seeing an incorrect state.
Fixes: 9b15ba895b9f ("timer: use a skip list")
Signed-
ge()
This commit fixes this race condition by only releasing the spinlock
after the timer state has been transitioned from CONFIG to PENDING,
which prevents rte_timer_manage() from seeing an incorrect state.
Fixes: 9b15ba895b9f ("timer: use a skip list")
Signed-off-by: Erik Gabrie
If timer events get dropped for some reason, the thread that launched
producer and worker cores will never exit, because the deadlock check
doesn't currently apply to the event timer adapter case. This commit
fixes this.
Signed-off-by: Erik Gabriel Carrillo
---
app/test-eve
Fixes: a6562f6d6f8e ("eventdev: introduce event timer adapter")
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.h | 57 +--
1 file changed, 2 insertions(+), 55 deletions(-)
diff --git a/lib/librt
Erik Gabriel Carrillo
---
lib/librte_timer/Makefile | 1 +
lib/librte_timer/rte_timer.c | 526 +++--
lib/librte_timer/rte_timer.h | 168 ++-
lib/librte_timer/rte_timer_version.map | 21 +-
4 files changed, 614 insertions(+)
Add a function to the timer API that allows a caller to traverse a
specified set of timer lists, stopping each timer in each list,
and invoking a callback function.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 81 +++---
lib
lback function. The callback
function is only called from the primary process, since that's where the
service runs, and the callback is the same for all timers - it is defined
to enqueue a timer expiry event in the event device.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librt
/event_timer_adapter.html
[2] https://doc.dpdk.org/guides/prog_guide/timer_lib.html
Erik Gabriel Carrillo (3):
timer: allow timer management in shared memory
timer: add function to stop all timers in a list
eventdev: add new software event timer adapter
lib/librte_eventdev
Add a counter that gets bumped each time the service runner loop goes
around, and APIs to query and reset the attribute values.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eal/common/include/rte_service.h | 30
lib/librte_eal/common/rte_service.c | 43
ction that
invokes services mapped to a service core). This is useful to applications
that desire a "liveness" check to make sure a service core is not stuck.
Erik Gabriel Carrillo (1):
service: Add service lcore attr APIs
lib/librte_eal/common/include/rte_service.h | 30
sing-field-initializers to the test's CFLAGS to allow the
current syntax if we are using GCC 5.0 or lower.
Signed-off-by: Erik Gabriel Carrillo
---
test/test/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/test/Makefile b/test/test/Makefile
index 2630ab4..2011857 100644
--- a/tes
sing-field-initializers to the test's CFLAGS to allow the
current syntax if we are using GCC 5.0 or lower.
Fixes: d1f3385d0076 ("test: add event timer adapter auto-test")
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Jerin Jacob
---
v2:
- Add the 'Fixes' tag. (Jerin)
test/
"liveness" check to make sure a service core is not stuck.
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Harry van Haaren
---
v2:
- Update doxygen comments to indicate that APIs are experimental
- Move cover letter description of patch to commit message (Harry)
lib/librte_eal/common/i
n with behavior equivalent to original
behavior. Validated ABI compatibility with validate-abi.sh
- refactor changes to simplify patches
Erik Gabriel Carrillo (2):
timer: allow timer management in shared memory
timer: add function to stop all timers in a list
lib/librte_timer/Makefile
Add a function to the timer API that allows a caller to traverse a
specified set of timer lists, stopping each timer in each list,
and invoking a callback function.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 39 ++
lib
Erik Gabriel Carrillo
---
lib/librte_timer/Makefile | 1 +
lib/librte_timer/rte_timer.c | 519 ++---
lib/librte_timer/rte_timer.h | 226 +-
lib/librte_timer/rte_timer_version.map | 22 ++
4 files changed, 723 insertions(+
Add myself as co-maintainer for the timer library.
Signed-off-by: Erik Gabriel Carrillo
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 097cfb4..4b0beec 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1192,6 +1192,7 @@ F: doc/guides
ved rte_event_timer_adapter_lookup() function
- Replaced RTE_EVENT_TIMER_SUCCESS_{ARM,CANCEL} states with
RTE_EVENT_TIMER_ARMED
Erik Gabriel Carrillo (9):
eventtimer: introduce event timer adapter
eventdev: convert to SPDX license tag in header
eventtimer: add common code
mk: update li
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Hemant Agrawal
Acked-by: Jerin Jacob
---
lib/librte_eventdev/rte_eventdev.h | 37 +
1 file changed, 5 insertions(+), 32 deletions(-)
diff --git a/lib/librte_eventdev/rte_eventdev.h
b/lib/librte_eventdev
represents a timer expiration,
and it provides APIs with which adapters can be created or destroyed
and event timers can be armed and canceled.
Signed-off-by: Jerin Jacob
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Jerin Jacob
---
lib/librte_eventdev/Makefile
The introduction of the event timer adapter library adds a dependency
on the rte_timer library from the rte_eventdev library. Update the
order so that the timer library comes after the eventdev library in the
linker command when statically linking applications.
Signed-off-by: Erik Gabriel
If an eventdev PMD does not wish to provide event timer adapter ops
definitions, the library will fall back to a default software
implementation whose entry points are added by this commit.
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Pavan Nikhilesh
---
lib/Makefile
This commit adds the logic that is shared by all event timer adapter
drivers; the common code handles instance allocation and some
initialization.
Signed-off-by: Erik Gabriel Carrillo
---
config/common_base| 1 +
drivers/event/sw/sw_evdev.c
Signed-off-by: Erik Gabriel Carrillo
---
config/rte_config.h | 1 +
lib/librte_eventdev/meson.build | 9 ++---
lib/meson.build | 3 ++-
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/config/rte_config.h b/config/rte_config.h
index 72c0aa2..117c19f
Signed-off-by: Erik Gabriel Carrillo
Signed-off-by: Jerin Jacob
Signed-off-by: Pavan Nikhilesh
Acked-by: Jerin Jacob
---
doc/guides/prog_guide/event_timer_adapter.rst | 296 ++
doc/guides/prog_guide/index.rst | 1 +
2 files changed, 297 insertions
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Pavan Nikhilesh
---
test/test/Makefile |1 +
test/test/test_event_timer_adapter.c | 1831 ++
2 files changed, 1832 insertions(+)
create mode 100644 test/test/test_event_timer_adapter.c
diff
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Jerin Jacob
---
MAINTAINERS| 7 +++
doc/api/doxy-api-index.md | 32 +++-
doc/guides/rel_notes/release_18_05.rst | 6 ++
3 files changed, 16 insertions(+), 29 deletions
of pointer to struct rte_event_timer_adapter with ids
- Removed rte_event_timer_adapter_lookup() function
- Replaced RTE_EVENT_TIMER_SUCCESS_{ARM,CANCEL} states with
RTE_EVENT_TIMER_ARMED
Erik Gabriel Carrillo (9):
eventtimer: introduce event timer adapter
eventdev: convert to SPDX license tag
represents a timer expiration,
and it provides APIs with which adapters can be created or destroyed
and event timers can be armed and canceled.
Signed-off-by: Jerin Jacob
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Jerin Jacob
---
lib/librte_eventdev/Makefile
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Hemant Agrawal
Acked-by: Jerin Jacob
---
lib/librte_eventdev/rte_eventdev.h | 37 +
1 file changed, 5 insertions(+), 32 deletions(-)
diff --git a/lib/librte_eventdev/rte_eventdev.h
b/lib/librte_eventdev
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Pavan Nikhilesh
---
config/rte_config.h | 1 +
lib/librte_eventdev/meson.build | 9 ++---
lib/meson.build | 3 ++-
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/config/rte_config.h b/config
If an eventdev PMD does not wish to provide event timer adapter ops
definitions, the library will fall back to a default software
implementation whose entry points are added by this commit.
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Pavan Nikhilesh
---
lib/Makefile
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Pavan Nikhilesh
---
test/test/Makefile |1 +
test/test/test_event_timer_adapter.c | 1830 ++
2 files changed, 1831 insertions(+)
create mode 100644 test/test/test_event_timer_adapter.c
diff
The introduction of the event timer adapter library adds a dependency
on the rte_timer library from the rte_eventdev library. Update the
order so that the timer library comes after the eventdev library in the
linker command when statically linking applications.
Signed-off-by: Erik Gabriel
This commit adds the logic that is shared by all event timer adapter
drivers; the common code handles instance allocation and some
initialization.
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Pavan Nikhilesh
---
config/common_base| 1 +
drivers/event/sw
Signed-off-by: Erik Gabriel Carrillo
Signed-off-by: Jerin Jacob
Signed-off-by: Pavan Nikhilesh
Acked-by: Jerin Jacob
---
doc/guides/prog_guide/event_timer_adapter.rst | 296 ++
doc/guides/prog_guide/index.rst | 1 +
2 files changed, 297 insertions
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Jerin Jacob
---
MAINTAINERS| 7 +++
doc/api/doxy-api-index.md | 32 +++-
doc/guides/rel_notes/release_18_05.rst | 6 ++
3 files changed, 16 insertions(+), 29 deletions
eplaced occurrences of pointer to struct rte_event_timer_adapter with ids
- Removed rte_event_timer_adapter_lookup() function
- Replaced RTE_EVENT_TIMER_SUCCESS_{ARM,CANCEL} states with
RTE_EVENT_TIMER_ARMED
Erik Gabriel Carrillo (23):
eventtimer: add event timer adapter API
eventtimer: a
This commit adds the logic that is shared by all event timer adapter
drivers; the common code handles instance allocation and some
initialization.
Signed-off-by: Erik Gabriel Carrillo
---
drivers/event/sw/sw_evdev.c | 18 +
lib/librte_eventdev/Makefile
If an eventdev PMD does not wish to provide event timer adapter ops
definitions, the library will fall back to a default software
implementation whose entry points are added by this commit.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 107
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/Makefile | 1 +
lib/librte_eventdev/rte_event_timer_adapter.h | 566 ++
lib/librte_eventdev/rte_eventdev.h| 4 +-
3 files changed, 569 insertions(+), 2 deletions(-)
create mode
Add initial infrastructure for event timer adapter auto-test.
Signed-off-by: Erik Gabriel Carrillo
---
test/test/Makefile | 1 +
test/test/test_event_timer_adapter.c | 177 +++
2 files changed, 178 insertions(+)
create mode 100644 test/test
Add definitions to the default software implementation for the functions
that start and stop adapter instances.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/lib
Add definitions for the functions that allocate and deallocate adapter
instances in the default software implementation.
Signed-off-by: Erik Gabriel Carrillo
---
lib/Makefile | 2 +-
lib/librte_eventdev/Makefile | 2 +-
lib/librte_eventdev
Add a definition to the default software implementation for the entry
point that can fill out driver-specific information in the info struct.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff
Exercise the create and free functions in the event timer adapter
auto-test.
Signed-off-by: Erik Gabriel Carrillo
---
test/test/test_event_timer_adapter.c | 88
1 file changed, 88 insertions(+)
diff --git a/test/test/test_event_timer_adapter.c
b/test/test
Signed-off-by: Erik Gabriel Carrillo
---
test/test/test_event_timer_adapter.c | 77 +++-
1 file changed, 76 insertions(+), 1 deletion(-)
diff --git a/test/test/test_event_timer_adapter.c
b/test/test/test_event_timer_adapter.c
index c8623aa..58cbaba 100644
--- a
to run on.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 20
lib/librte_eventdev/rte_event_timer_adapter.h | 19 +++
lib/librte_eventdev/rte_event_timer_adapter_pmd.h | 4
lib/librte_eventdev
Signed-off-by: Erik Gabriel Carrillo
---
lib/Makefile | 2 +-
lib/librte_eventdev/Makefile | 2 +-
lib/librte_eventdev/rte_event_timer_adapter.c | 155 +++---
mk/rte.app.mk | 2 +-
4 files
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 11 +--
lib/librte_eventdev/rte_event_timer_adapter.h | 2 --
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/lib/librte_eventdev/rte_event_timer_adapter.c
b/lib/librte_eventdev
Define the callback function for the service that corresponds to an
adapter instance, as well as the callback for expired timers that the
service manages.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 198 +-
lib/librte_eventdev
Add a function that can be used to initialize event timers so that they
are in a known state before being used for arm or cancel operations.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 8
lib/librte_eventdev/rte_event_timer_adapter.h | 11
Add interfaces to support the collection, retrieval and resetting of
per-adapter statistics.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 79 +++
lib/librte_eventdev/rte_event_timer_adapter.h | 51 +++
lib
Add support for the RTE_EVENT_TIMER_ADAPTER_F_SP_PUT flag, which indicates
that the API should be used in single-producer put mode.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff
Add a mode to the event timer adapter that allows the event timer arm
and cancel APIs to return immediately, rather than waiting for the service
to update the state of each timer.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 69
Signed-off-by: Erik Gabriel Carrillo
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b51c2d0..55581c8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -291,6 +291,12 @@ F: lib/librte_eventdev/*eth_rx_adapter*
F: test/test
Add a test that creates an event timer and detects the generation of a
timer expiry event being scheduled through the software event device.
Signed-off-by: Erik Gabriel Carrillo
---
test/test/test_event_timer_adapter.c | 106 +++
1 file changed, 106 insertions
Buffer timer expiry events generated while walking a "run list"
in rte_timer_manage, and burst enqueue them to an event device
to the extent possible.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_event_timer_adapter.c | 118 +++---
1 file ch
Signed-off-by: Erik Gabriel Carrillo
---
doc/guides/prog_guide/event_timer_adapter.rst | 301 ++
doc/guides/prog_guide/index.rst | 1 +
2 files changed, 302 insertions(+)
create mode 100644 doc/guides/prog_guide/event_timer_adapter.rst
diff --git a/doc
Signed-off-by: Erik Gabriel Carrillo
---
doc/api/doxy-api-index.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md
index 3492702..3110658 100644
--- a/doc/api/doxy-api-index.md
+++ b/doc/api/doxy-api-index.md
@@ -46,6 +46,7 @@ The public
Signed-off-by: Erik Gabriel Carrillo
---
doc/guides/rel_notes/release_18_02.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/rel_notes/release_18_02.rst
b/doc/guides/rel_notes/release_18_02.rst
index 24b67bb..8eafcd3 100644
--- a/doc/guides/rel_notes/release_18_02.rst
This an API/ABI change notice for DPDK 18.05 announcing a change in
the meaning of the return values of the rte_lcore_has_role() function.
Signed-off-by: Erik Gabriel Carrillo
---
doc/guides/rel_notes/deprecation.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes
;)
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c
index 604ecab..4bbcd06 100644
--- a/lib/librte_timer/rte_timer.c
+++ b/lib/li
API with "adapter"
- Replaced occurrences of pointer to struct rte_event_timer_adapter with ids
- Removed rte_event_timer_adapter_lookup() function
- Replaced RTE_EVENT_TIMER_SUCCESS_{ARM,CANCEL} states with
RTE_EVENT_TIMER_ARMED
Erik Gabriel Carrillo (9):
eventtimer: introduce event t
represents a timer expiration,
and it provides APIs with which adapters can be created or destroyed
and event timers can be armed and canceled.
Signed-off-by: Jerin Jacob
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/Makefile | 1
1 - 100 of 183 matches
Mail list logo