DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v1 1/1] eventdev/eth_rx: add event buf size and count in telemetry
@ 2023-03-23  8:58 Ganapati Kundapura
  2023-04-04 10:49 ` Jerin Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Ganapati Kundapura @ 2023-03-23  8:58 UTC (permalink / raw)
  To: jerinjacobk, dev, jay.jayatheerthan, s.v.naga.harish.k

rx_event_buf_count and rx_event_buf_size is added to structure
rte_event_eth_rx_adapter_stats but they are not displayed in
rxa_stats telemetry handler.

Updated handle_rxa_stats() to display rx_event_buf_count and
rx_event_buf_size.

Signed-off-by: Ganapati Kundapura <ganapati.kundapura@intel.com>

diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c
index c1cd124..07d8235 100644
--- a/lib/eventdev/rte_event_eth_rx_adapter.c
+++ b/lib/eventdev/rte_event_eth_rx_adapter.c
@@ -3597,6 +3597,8 @@ handle_rxa_stats(const char *cmd __rte_unused,
 	RXA_ADD_DICT(rx_adptr_stats, rx_enq_block_cycles);
 	RXA_ADD_DICT(rx_adptr_stats, rx_enq_end_ts);
 	RXA_ADD_DICT(rx_adptr_stats, rx_intr_packets);
+	RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_count);
+	RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_size);
 
 	return 0;
 }
-- 
2.6.4


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

* Re: [PATCH v1 1/1] eventdev/eth_rx: add event buf size and count in telemetry
  2023-03-23  8:58 [PATCH v1 1/1] eventdev/eth_rx: add event buf size and count in telemetry Ganapati Kundapura
@ 2023-04-04 10:49 ` Jerin Jacob
  2023-04-04 10:49   ` Jerin Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Jerin Jacob @ 2023-04-04 10:49 UTC (permalink / raw)
  To: Ganapati Kundapura; +Cc: dev, jay.jayatheerthan, s.v.naga.harish.k

On Thu, Mar 23, 2023 at 2:28 PM Ganapati Kundapura
<ganapati.kundapura@intel.com> wrote:
>
> rx_event_buf_count and rx_event_buf_size is added to structure
> rte_event_eth_rx_adapter_stats but they are not displayed in
> rxa_stats telemetry handler.
>
> Updated handle_rxa_stats() to display rx_event_buf_count and
> rx_event_buf_size.
>
> Signed-off-by: Ganapati Kundapura <ganapati.kundapura@intel.com>


Acked-by: Jerin Jacob <jerinj@marvell.com>


>
> diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c
> index c1cd124..07d8235 100644
> --- a/lib/eventdev/rte_event_eth_rx_adapter.c
> +++ b/lib/eventdev/rte_event_eth_rx_adapter.c
> @@ -3597,6 +3597,8 @@ handle_rxa_stats(const char *cmd __rte_unused,
>         RXA_ADD_DICT(rx_adptr_stats, rx_enq_block_cycles);
>         RXA_ADD_DICT(rx_adptr_stats, rx_enq_end_ts);
>         RXA_ADD_DICT(rx_adptr_stats, rx_intr_packets);
> +       RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_count);
> +       RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_size);
>
>         return 0;
>  }
> --
> 2.6.4
>

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

* Re: [PATCH v1 1/1] eventdev/eth_rx: add event buf size and count in telemetry
  2023-04-04 10:49 ` Jerin Jacob
@ 2023-04-04 10:49   ` Jerin Jacob
  0 siblings, 0 replies; 3+ messages in thread
From: Jerin Jacob @ 2023-04-04 10:49 UTC (permalink / raw)
  To: Ganapati Kundapura; +Cc: dev, jay.jayatheerthan, s.v.naga.harish.k

On Tue, Apr 4, 2023 at 4:19 PM Jerin Jacob <jerinjacobk@gmail.com> wrote:
>
> On Thu, Mar 23, 2023 at 2:28 PM Ganapati Kundapura
> <ganapati.kundapura@intel.com> wrote:
> >
> > rx_event_buf_count and rx_event_buf_size is added to structure
> > rte_event_eth_rx_adapter_stats but they are not displayed in
> > rxa_stats telemetry handler.
> >
> > Updated handle_rxa_stats() to display rx_event_buf_count and
> > rx_event_buf_size.
> >
> > Signed-off-by: Ganapati Kundapura <ganapati.kundapura@intel.com>
>
>
> Acked-by: Jerin Jacob <jerinj@marvell.com>

Applied to dpdk-next-net-eventdev/for-main. Thanks

>
>
> >
> > diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c
> > index c1cd124..07d8235 100644
> > --- a/lib/eventdev/rte_event_eth_rx_adapter.c
> > +++ b/lib/eventdev/rte_event_eth_rx_adapter.c
> > @@ -3597,6 +3597,8 @@ handle_rxa_stats(const char *cmd __rte_unused,
> >         RXA_ADD_DICT(rx_adptr_stats, rx_enq_block_cycles);
> >         RXA_ADD_DICT(rx_adptr_stats, rx_enq_end_ts);
> >         RXA_ADD_DICT(rx_adptr_stats, rx_intr_packets);
> > +       RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_count);
> > +       RXA_ADD_DICT(rx_adptr_stats, rx_event_buf_size);
> >
> >         return 0;
> >  }
> > --
> > 2.6.4
> >

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

end of thread, other threads:[~2023-04-04 10:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23  8:58 [PATCH v1 1/1] eventdev/eth_rx: add event buf size and count in telemetry Ganapati Kundapura
2023-04-04 10:49 ` Jerin Jacob
2023-04-04 10:49   ` Jerin Jacob

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).