[dpdk-dev] [PATCH v4] eventdev/rx_adapter: add telemetry callbacks

Jerin Jacob jerinjacobk at gmail.com
Thu Oct 14 10:25:48 CEST 2021


On Wed, Oct 13, 2021 at 5:39 PM Naga Harish K, S V
<s.v.naga.harish.k at intel.com> wrote:
>
> Acked-by: Naga Harish K S V <s.v.naga.harish.k at intel.com>
>
> > -----Original Message-----
> > From: dev <dev-bounces at dpdk.org> On Behalf Of Ganapati Kundapura
> > Sent: Wednesday, October 13, 2021 1:27 PM
> > To: jerinjacobk at gmail.com; dev at dpdk.org
> > Cc: Jayatheerthan, Jay <jay.jayatheerthan at intel.com>
> > Subject: [dpdk-dev] [PATCH v4] eventdev/rx_adapter: add telemetry
> > callbacks
> >
> > Added telemetry callbacks to get Rx adapter stats, reset stats and to get Rx
> > queue config information.
> >
> > Acked-by: Jay Jayatheerthan <jay.jayatheerthan at intel.com>
> >
> > Signed-off-by: Ganapati Kundapura <ganapati.kundapura at intel.com>
> > ---
> > v4:
> > * Addressed segfault when per Rx queue event buffer is used.
> >
> > v3:
> > * Updated release notes.
> > * Addressed review comments.
> >
> > v2:
> > * Fixed checkpatch warning.
> > ---
> >
> > diff --git a/doc/guides/rel_notes/release_21_11.rst
> > b/doc/guides/rel_notes/release_21_11.rst
> > index dfc2cbd..9955e52 100644
> > --- a/doc/guides/rel_notes/release_21_11.rst
> > +++ b/doc/guides/rel_notes/release_21_11.rst
> > @@ -130,6 +130,10 @@ New Features
> >    * Added tests to validate packets hard expiry.
> >    * Added tests to verify tunnel header verification in IPsec inbound.
> >
> > +* **Updated rte_event_eth_rx_adapter_stats structure
> > +  * Added 'uint64_t rx_event_buf_count'
> > +  * Added 'uint64_t rx_event_buf_size'
> > +

We need to add this to ABI changed. Updated the patch to add ABI changes
as below

* eventdev: New variables ``rx_event_buf_count`` and ``rx_event_buf_size``
  were added in structure ``rte_event_eth_rx_adapter_stats`` to get additional
  status.

And Updatde git log as log below:

    eventdev/rx_adapter: support telemetry

    Added telemetry callbacks to get Rx adapter stats, reset stats and
    to get Rx queue config information.

    Signed-off-by: Ganapati Kundapura <ganapati.kundapura at intel.com>
    Acked-by: Jay Jayatheerthan <jay.jayatheerthan at intel.com>
    Acked-by: Naga Harish K S V <s.v.naga.harish.k at intel.com>
    Acked-by: Jerin Jacob <jerinj at marvell.com>


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


More information about the dev mailing list