diff mbox series

[v4,2/4] event/sw: report periodic event timer capability

Message ID 20220812160734.287123-1-s.v.naga.harish.k@intel.com (mailing list archive)
State Changes Requested
Delegated to: Jerin Jacob
Headers show
Series [v4,1/4] eventdev/timer: add periodic event timer support | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Naga Harish K, S V Aug. 12, 2022, 4:07 p.m. UTC
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(-)

Comments

Van Haaren, Harry Sept. 6, 2022, 8:10 a.m. UTC | #1
> -----Original Message-----
> From: Naga Harish K, S V <s.v.naga.harish.k@intel.com>
> Sent: Friday, August 12, 2022 5:08 PM
> To: Carrillo, Erik G <erik.g.carrillo@intel.com>; jerinj@marvell.com; Van Haaren,
> Harry <harry.van.haaren@intel.com>
> Cc: dev@dpdk.org
> Subject: [PATCH v4 2/4] event/sw: report periodic event timer capability
> 
> 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>

Thanks for explaining how things work on the v2 & follow-up reworks;
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Naga Harish K, S V Sept. 9, 2022, 5:33 a.m. UTC | #2
Hi Jerin,
    This patch set (all 4 patches in the series) is acked by the respective maintainers.
Please review and do the needful.

-Harish

> -----Original Message-----
> From: Van Haaren, Harry <harry.van.haaren@intel.com>
> Sent: Tuesday, September 6, 2022 1:40 PM
> To: Naga Harish K, S V <s.v.naga.harish.k@intel.com>; Carrillo, Erik G
> <erik.g.carrillo@intel.com>; jerinj@marvell.com
> Cc: dev@dpdk.org
> Subject: RE: [PATCH v4 2/4] event/sw: report periodic event timer capability
> 
> > -----Original Message-----
> > From: Naga Harish K, S V <s.v.naga.harish.k@intel.com>
> > Sent: Friday, August 12, 2022 5:08 PM
> > To: Carrillo, Erik G <erik.g.carrillo@intel.com>; jerinj@marvell.com;
> > Van Haaren, Harry <harry.van.haaren@intel.com>
> > Cc: dev@dpdk.org
> > Subject: [PATCH v4 2/4] event/sw: report periodic event timer
> > capability
> >
> > 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>
> 
> Thanks for explaining how things work on the v2 & follow-up reworks;
> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
diff mbox series

Patch

diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index f93313b31b..6eddf8bd93 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_SW_CAP;
 
 	/* Use default SW ops */
 	*ops = NULL;