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
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
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
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
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
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
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
---
app/test/test_event_timer_adapter.c| 68 ++
lib/eventdev/event_timer_adapter_pmd.h | 7 +++
lib
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
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
reset_sync
documentation that indicates that these APIs should not be used inside
timer callback functions in order to avoid the hangs described above,
and suggests an alternative.
Bugzilla ID: 491
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_ti
proposed to
document a usage limitation[1]. This patch adds the notes.
[1] https://patches.dpdk.org/patch/75142/
Erik Gabriel Carrillo (1):
timer: add limitation note for sync stop and reset
lib/librte_timer/rte_timer.h | 12
1 file changed, 12 insertions(+)
--
2.6.4
Some new APIs were added to the timer library in the 19.05 release, and
there have been no changes to their interfaces since then. These
functions can be considered stable enough to remove their 'experimental'
tag.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/r
The timer subsystem should be initialized in the l3fwd-thread app before
the L-thread subsystem can be used.
Fixes: d48415e1fee3 ("examples/performance-thread: add l3fwd-thread app")
Cc: sta...@dpdk.org
Cc: ian.be...@intel.com
Signed-off-by: Erik Gabriel Carrillo
---
examples/p
dereferenced in a check for validity of a timer data object, resulting in
the segfault. This series fixes the validity check in the timer library,
and adds the missing call to rte_timer_subsystem_init in the application.
Erik Gabriel Carrillo (2):
timer: fix null pointer dereference
examples
;)
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c
index 71dffd2..bdcf05d 100644
--- a/lib/librte_timer/rte_timer.c
% improvement in arm latency in the non-burst case and a
65% improvement in arm latency in the burst case.
Note: To perform the test, I commented out a check in the original
version that checks the adapter tick interval against a minimum value.
Signed-off-by: Erik Gabriel Carrillo
---
lib
Mattias Ronnblom:
- remove unnecessary header include
- remove 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
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/rte_event_timer_adapter.c | 741 +++---
1 file changed, 322 insertions(+), 419 deletions(-)
--
2.6.4
% improvement in arm latency in the non-burst case and a
65% improvement in arm latency in the burst case.
Note: To perform the test, I commented out a check in the original
version that checks the adapter tick interval against a minimum value.
Signed-off-by: Erik Gabriel Carrillo
---
lib
Now that some of the symbols in the timer lib are versioned, the
Doxygen documentation that is generated is incorrect. Group all
versioned symbols, listing the generic name first, and remove comments
for older versions of symbols.
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer
Since memzones can be reserved from secondary processes as well as
primary processes, if the first call to the timer subsystem init
function occurs in a secondary process, we should allow it to succeed.
Fixes: c0749f7096c7 ("timer: allow management in shared memory")
Signed-off-by: Er
It is planned to make the rte_mem_config struct of the EAL private to
remove it from the visible ABI. Add a notice to announce the intention.
Signed-off-by: Erik Gabriel Carrillo
---
changes in v2:
- Original deprecation notice announced a change to the rte_mem_config
struct that would
processes.
[1] http://patches.dpdk.org/patch/53334/
Signed-off-by: Erik Gabriel Carrillo
---
doc/guides/rel_notes/deprecation.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index b47c8c2..7551383 100644
--- a/doc
By using a lock added to the rte_mem_config (which lives in shared
memory), we can synchronize multiple processes in init/finalize and
safely free allocations made during init.
Signed-off-by: Erik Gabriel Carrillo
---
changes in v3:
- The previous version had race condition. This version fixes
Since memzones can be reserved from secondary processes as well as
primary processes, if the first call to the timer subsystem init
function occurs in a secondary process, we should allow it to succeed.
Fixes: c0749f7096c7 ("timer: allow management in shared memory")
Signed-off-by: Er
Signed-off-by: Erik Gabriel Carrillo
---
doc/guides/rel_notes/release_19_05.rst | 8
1 file changed, 8 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_05.rst
b/doc/guides/rel_notes/release_19_05.rst
index 5044ac7..f4457ac 100644
--- a/doc/guides/rel_notes/release_19_05.rst
rte_timer_subsystem_finalize() at application exit time to release
allocations now made by the timer library.
Fixes: c0749f7096c7 ("timer: allow management in shared memory")
Signed-off-by: Erik Gabriel Carrillo
---
app/test/test.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test/test.c
The finalize function should free the memzone created in the init
function, rather than freeing the allocation the memzone references,
otherwise a memzone descriptor can be leaked.
Fixes: c0749f7096c7 ("timer: allow management in shared memory")
Signed-off-by: Erik Gabriel Carrillo
-
The finalize function should free the memzone created in the init
function, rather than freeing the allocation the memzone references,
otherwise a memzone descriptor can be leaked.
Fixes: c0749f7096c7 ("timer: allow management in shared memory")
Signed-off-by: Erik Gabriel Carrillo
t;eventdev: add eth Tx adapter APIs")
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
Acked-by: Jerin Jacob
---
Changes in v2:
- Add instance that was missed in rte_event_eth_tx_adapter.h (Jerin)
lib/librte_eventdev/rte_event_eth_tx_adapter.h | 3 ++-
lib/librte_eve
Remove references to the (deleted) rte_event_port_enqueue_depth()
function in the Doxygen comments for rte_event_enqueue_burst() and
friends, and replace with references to rte_event_port_attr_get().
Fixes: 78ffab961155 ("eventdev: add port attribute function")
Signed-off-by: Er
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
from Mattias Ronnblom:
- remove unnecessary header include
- remove 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
timer: allow management in shared memory")
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c
index d443b8c..9f2e921 100644
--- a/lib/li
scope instead.
Coverity issue: 337919
Fixes: c0749f7096c7 ("timer: allow management in shared memory")
Cc: sta...@dpdk.org
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_timer/rte_timer.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/librte_timer/rte
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/rte_event_timer_adapter.c | 703
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
This commit adds an autotest which exercises new timer reset/stop APIs
in a secondary process. Timers are created, and sometimes stopped, in
the secondary process, and their expiration is checked for and handled
in the primary process.
Signed-off-by: Erik Gabriel Carrillo
---
app/test/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 | 38 ++
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(+
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 | 1 +
lib/librt
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
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
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
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-
:
- 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
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
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
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
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(+
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
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
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(+
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
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
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.
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
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
/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
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(+)
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
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
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
"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
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/
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
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
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
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
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
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
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
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: 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
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: 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
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
---
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
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
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
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
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
---
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(-)
diff --git a
Signed-off-by: Erik Gabriel Carrillo
---
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 --git a/test/test/Makefile b
Signed-off-by: Erik Gabriel Carrillo
Signed-off-by: Jerin Jacob
Signed-off-by: Pavan Nikhilesh
---
doc/guides/prog_guide/event_timer_adapter.rst | 297 ++
doc/guides/prog_guide/index.rst | 1 +
2 files changed, 298 insertions(+)
create mode 100644 doc
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
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
---
config/common_base| 1 +
drivers/event/sw/sw_evdev.c
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 172 matches
Mail list logo