DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v2 2/4] event/sw: report periodic event timer capability
@ 2022-08-10  7:01 Naga Harish K S V
  0 siblings, 0 replies; 5+ messages in thread
From: Naga Harish K S V @ 2022-08-10  7:01 UTC (permalink / raw)
  To: erik.g.carrillo, jerinj, harry.van.haaren; +Cc: dev

update the software eventdev pmd timer_adapter_caps_get
callback function to report the support of periodic
event timer capability

Signed-off-by: Naga Harish K S V <s.v.naga.harish.k@intel.com>
---
 drivers/event/sw/sw_evdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index f93313b31b..89c07d30ae 100644
--- a/drivers/event/sw/sw_evdev.c
+++ b/drivers/event/sw/sw_evdev.c
@@ -564,7 +564,7 @@ sw_timer_adapter_caps_get(const struct rte_eventdev *dev, uint64_t flags,
 {
 	RTE_SET_USED(dev);
 	RTE_SET_USED(flags);
-	*caps = 0;
+	*caps = RTE_EVENT_TIMER_ADAPTER_CAP_PERIODIC;
 
 	/* Use default SW ops */
 	*ops = NULL;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH 2/4] event/sw: report periodic event timer capability
@ 2022-08-03 16:26 Naga Harish K S V
  2022-08-10  7:09 ` [PATCH v2 " Naga Harish K S V
  0 siblings, 1 reply; 5+ messages in thread
From: Naga Harish K S V @ 2022-08-03 16:26 UTC (permalink / raw)
  To: erik.g.carrillo, jerinj, harry.van.haaren; +Cc: dev

update the software eventdev pmd timer_adapter_caps_get
callback function to report the support of periodic
event timer capability

Signed-off-by: Naga Harish K S V <s.v.naga.harish.k@intel.com>
---
 drivers/event/sw/sw_evdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index f93313b31b..89c07d30ae 100644
--- a/drivers/event/sw/sw_evdev.c
+++ b/drivers/event/sw/sw_evdev.c
@@ -564,7 +564,7 @@ sw_timer_adapter_caps_get(const struct rte_eventdev *dev, uint64_t flags,
 {
 	RTE_SET_USED(dev);
 	RTE_SET_USED(flags);
-	*caps = 0;
+	*caps = RTE_EVENT_TIMER_ADAPTER_CAP_PERIODIC;
 
 	/* Use default SW ops */
 	*ops = NULL;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-11 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10  7:01 [PATCH v2 2/4] event/sw: report periodic event timer capability Naga Harish K S V
  -- strict thread matches above, loose matches on Subject: below --
2022-08-03 16:26 [PATCH " Naga Harish K S V
2022-08-10  7:09 ` [PATCH v2 " Naga Harish K S V
2022-08-10 20:52   ` Carrillo, Erik G
2022-08-11 15:33     ` Van Haaren, Harry
2022-08-11 15:44     ` Naga Harish K, S V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).