DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev]  [pull-request] next-eventdev 20.11 RC2
@ 2020-11-02 14:30 Jerin Jacob Kollanukkaran
  2020-11-02 15:50 ` David Marchand
  2020-11-03 10:40 ` Thomas Monjalon
  0 siblings, 2 replies; 5+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2020-11-02 14:30 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev, timothy.mcdaniel

The following changes since commit 79d69c6dcf0debea38ac258d230e2f8c93e5ad12:

  mbuf: remove seqn field (2020-10-31 22:14:44 +0100)

are available in the Git repository at:

  http://dpdk.org/git/next/dpdk-next-eventdev

for you to fetch changes up to e06cd1ddfeac30b4926a52a69336b4f25a9cd209:

  eventdev: check input parameter for dump op (2020-11-02 19:16:51 +0530)

----------------------------------------------------------------
David Marchand (1):
      eventdev: check input parameter for dump op

Timothy McDaniel (47):
      eventdev: increase max queues configuration
      event/dlb2: add documentation and meson build infrastructure
      event/dlb2: add dynamic logging
      event/dlb2: add private data structures and constants
      event/dlb2: add definitions shared with LKM or shared code
      event/dlb2: add inline functions
      event/dlb2: add eventdev probe
      event/dlb2: add flexible interface
      event/dlb2: add probe-time hardware init
      event/dlb2: add xstats
      event/dlb2: add infos get and configure
      event/dlb2: add queue and port default conf
      event/dlb2: add queue setup
      event/dlb2: add port setup
      event/dlb2: add port link
      event/dlb2: add port unlink and port unlinks in progress
      event/dlb2: add eventdev start
      event/dlb2: add enqueue and its burst variants
      event/dlb2: add dequeue and its burst variants
      event/dlb2: add eventdev stop and close
      event/dlb2: add PMD's token pop public interface
      event/dlb2: add PMD self-tests
      event/dlb2: add queue and port release
      event/dlb2: add timeout ticks entry point
      event/dlb: add documentation and meson infrastructure
      event/dlb: add dynamic logging
      event/dlb: add private data structures and constants
      event/dlb: add definitions shared with LKM or shared code
      event/dlb: add inline functions
      event/dlb: add eventdev probe
      event/dlb: add flexible interface
      event/dlb: add probe-time hardware init
      event/dlb: add xstats
      event/dlb: add infos get and configure
      event/dlb: add queue and port default conf
      event/dlb: add queue setup
      event/dlb: add port setup
      event/dlb: add port link
      event/dlb: add port unlink and port unlinks in progress
      event/dlb: add eventdev start
      event/dlb: add enqueue and its burst variants
      event/dlb: add dequeue and its burst variants
      event/dlb: add eventdev stop and close
	  event/dlb: add PMD's token pop public interface
      event/dlb: add PMD self-tests
      event/dlb: add queue and port release
      event/dlb: add timeout ticks entry point

 MAINTAINERS                                    |   10 +
 app/test/test_eventdev.c                       |   14 +
 config/rte_config.h                            |   15 +-
 doc/api/doxy-api-index.md                      |    4 +-
 doc/api/doxy-api.conf.in                       |    2 +
 doc/guides/eventdevs/dlb.rst                   |  341 ++
 doc/guides/eventdevs/dlb2.rst                  |  365 ++
 doc/guides/eventdevs/index.rst                 |    2 +
 doc/guides/rel_notes/release_20_11.rst         |   10 +
 drivers/event/dlb/dlb.c                        | 4079 ++++++++++++++
 drivers/event/dlb/dlb_iface.c                  |   79 +
 drivers/event/dlb/dlb_iface.h                  |   82 +
 drivers/event/dlb/dlb_inline_fns.h             |   36 +
 drivers/event/dlb/dlb_log.h                    |   25 +
 drivers/event/dlb/dlb_priv.h                   |  513 ++
 drivers/event/dlb/dlb_selftest.c               | 1539 ++++++
 drivers/event/dlb/dlb_user.h                   |  814 +++
 drivers/event/dlb/dlb_xstats.c                 | 1217 +++++
 drivers/event/dlb/meson.build                  |   22 +
 drivers/event/dlb/pf/base/dlb_hw_types.h       |  334 ++
 drivers/event/dlb/pf/base/dlb_osdep.h          |  310 ++
 drivers/event/dlb/pf/base/dlb_osdep_bitmap.h   |  441 ++
 drivers/event/dlb/pf/base/dlb_osdep_list.h     |  131 +
 drivers/event/dlb/pf/base/dlb_osdep_types.h    |   31 +
 drivers/event/dlb/pf/base/dlb_regs.h           | 2368 ++++++++
 drivers/event/dlb/pf/base/dlb_resource.c       | 6904 ++++++++++++++++++++++++
 drivers/event/dlb/pf/base/dlb_resource.h       |  876 +++
 drivers/event/dlb/pf/dlb_main.c                |  586 ++
 drivers/event/dlb/pf/dlb_main.h                |   47 +
 drivers/event/dlb/pf/dlb_pf.c                  |  750 +++
 drivers/event/dlb/rte_pmd_dlb.c                |   38 +
 drivers/event/dlb/rte_pmd_dlb.h                |   77 +
 drivers/event/dlb/version.map                  |    9 +
 drivers/event/dlb2/dlb2.c                      | 3947 ++++++++++++++
 drivers/event/dlb2/dlb2_iface.c                |   74 +
 drivers/event/dlb2/dlb2_iface.h                |   74 +
 drivers/event/dlb2/dlb2_inline_fns.h           |   33 +
 drivers/event/dlb2/dlb2_log.h                  |   25 +
 drivers/event/dlb2/dlb2_priv.h                 |  578 ++
 drivers/event/dlb2/dlb2_selftest.c             | 1524 ++++++
 drivers/event/dlb2/dlb2_user.h                 |  679 +++
 drivers/event/dlb2/dlb2_xstats.c               | 1235 +++++
 drivers/event/dlb2/meson.build                 |   23 +
 drivers/event/dlb2/pf/base/dlb2_hw_types.h     |  367 ++
 drivers/event/dlb2/pf/base/dlb2_mbox.h         |  596 ++
 drivers/event/dlb2/pf/base/dlb2_osdep.h        |  230 +
 drivers/event/dlb2/pf/base/dlb2_osdep_bitmap.h |  440 ++
 drivers/event/dlb2/pf/base/dlb2_osdep_list.h   |  131 +
 drivers/event/dlb2/pf/base/dlb2_osdep_types.h  |   31 +
  drivers/event/dlb2/pf/base/dlb2_regs.h         | 2527 +++++++++
 drivers/event/dlb2/pf/base/dlb2_resource.c     | 6027 +++++++++++++++++++++
 drivers/event/dlb2/pf/base/dlb2_resource.h     | 1913 +++++++
 drivers/event/dlb2/pf/dlb2_main.c              |  673 +++
 drivers/event/dlb2/pf/dlb2_main.h              |   97 +
 drivers/event/dlb2/pf/dlb2_pf.c                |  728 +++
 drivers/event/dlb2/rte_pmd_dlb2.c              |   39 +
 drivers/event/dlb2/rte_pmd_dlb2.h              |   72 +
 drivers/event/dlb2/version.map                 |    9 +
 drivers/event/meson.build                      |    3 +-
 lib/librte_eventdev/rte_eventdev.c             |    2 +
 60 files changed, 44145 insertions(+), 3 deletions(-)
 create mode 100644 doc/guides/eventdevs/dlb.rst
 create mode 100644 doc/guides/eventdevs/dlb2.rst
 create mode 100644 drivers/event/dlb/dlb.c
 create mode 100644 drivers/event/dlb/dlb_iface.c
 create mode 100644 drivers/event/dlb/dlb_iface.h
 create mode 100644 drivers/event/dlb/dlb_inline_fns.h
 create mode 100644 drivers/event/dlb/dlb_log.h
 create mode 100644 drivers/event/dlb/dlb_priv.h
 create mode 100644 drivers/event/dlb/dlb_selftest.c
 create mode 100644 drivers/event/dlb/dlb_user.h
 create mode 100644 drivers/event/dlb/dlb_xstats.c
 create mode 100644 drivers/event/dlb/meson.build
 create mode 100644 drivers/event/dlb/pf/base/dlb_hw_types.h
 create mode 100644 drivers/event/dlb/pf/base/dlb_osdep.h
 create mode 100644 drivers/event/dlb/pf/base/dlb_osdep_bitmap.h
 create mode 100644 drivers/event/dlb/pf/base/dlb_osdep_list.h
 create mode 100644 drivers/event/dlb/pf/base/dlb_osdep_types.h
 create mode 100644 drivers/event/dlb/pf/base/dlb_regs.h
 create mode 100644 drivers/event/dlb/pf/base/dlb_resource.c
 create mode 100644 drivers/event/dlb/pf/base/dlb_resource.h
 create mode 100644 drivers/event/dlb/pf/dlb_main.c
 create mode 100644 drivers/event/dlb/pf/dlb_main.h
 create mode 100644 drivers/event/dlb/pf/dlb_pf.c
 create mode 100644 drivers/event/dlb/rte_pmd_dlb.c
 create mode 100644 drivers/event/dlb/rte_pmd_dlb.h
 create mode 100644 drivers/event/dlb/version.map
 create mode 100644 drivers/event/dlb2/dlb2.c
 create mode 100644 drivers/event/dlb2/dlb2_iface.c
 create mode 100644 drivers/event/dlb2/dlb2_iface.h
 create mode 100644 drivers/event/dlb2/dlb2_inline_fns.h
 create mode 100644 drivers/event/dlb2/dlb2_log.h
 create mode 100644 drivers/event/dlb2/dlb2_priv.h
 create mode 100644 drivers/event/dlb2/dlb2_selftest.c
 create mode 100644 drivers/event/dlb2/dlb2_user.h
 create mode 100644 drivers/event/dlb2/dlb2_xstats.c
 create mode 100644 drivers/event/dlb2/meson.build
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_hw_types.h
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_mbox.h
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_osdep.h
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_osdep_bitmap.h
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_osdep_list.h
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_osdep_types.h
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_regs.h
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_resource.c
 create mode 100644 drivers/event/dlb2/pf/base/dlb2_resource.h
 create mode 100644 drivers/event/dlb2/pf/dlb2_main.c
 create mode 100644 drivers/event/dlb2/pf/dlb2_main.h
 create mode 100644 drivers/event/dlb2/pf/dlb2_pf.c
 create mode 100644 drivers/event/dlb2/rte_pmd_dlb2.c
 create mode 100644 drivers/event/dlb2/rte_pmd_dlb2.h
 create mode 100644 drivers/event/dlb2/version.map


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

* Re: [dpdk-dev] [pull-request] next-eventdev 20.11 RC2
  2020-11-02 14:30 [dpdk-dev] [pull-request] next-eventdev 20.11 RC2 Jerin Jacob Kollanukkaran
@ 2020-11-02 15:50 ` David Marchand
  2020-11-02 15:57   ` McDaniel, Timothy
  2020-11-03 10:40 ` Thomas Monjalon
  1 sibling, 1 reply; 5+ messages in thread
From: David Marchand @ 2020-11-02 15:50 UTC (permalink / raw)
  To: Jerin Jacob Kollanukkaran, Thomas Monjalon, timothy.mcdaniel; +Cc: dev

On Mon, Nov 2, 2020 at 3:31 PM Jerin Jacob Kollanukkaran
<jerinj@marvell.com> wrote:
>
> The following changes since commit 79d69c6dcf0debea38ac258d230e2f8c93e5ad12:
>
>   mbuf: remove seqn field (2020-10-31 22:14:44 +0100)
>
> are available in the Git repository at:
>
>   http://dpdk.org/git/next/dpdk-next-eventdev
>
> for you to fetch changes up to e06cd1ddfeac30b4926a52a69336b4f25a9cd209:
>
>   eventdev: check input parameter for dump op (2020-11-02 19:16:51 +0530)
>
> ----------------------------------------------------------------
> David Marchand (1):
>       eventdev: check input parameter for dump op

About this patch, could we squash some change in the dlb/dlb2 drivers?
I guess Thomas could do it while pulling if nobody objects?


diff --git a/drivers/event/dlb/dlb_xstats.c b/drivers/event/dlb/dlb_xstats.c
index 89186d506e..5f4c590307 100644
--- a/drivers/event/dlb/dlb_xstats.c
+++ b/drivers/event/dlb/dlb_xstats.c
@@ -921,11 +921,6 @@ dlb_eventdev_dump(struct rte_eventdev *dev, FILE *f)
        struct dlb_hw_dev *handle;
        int i;

-       if (f == NULL) {
-               DLB_LOG_ERR("Invalid file pointer\n");
-               return;
-       }
-
        dlb = dlb_pmd_priv(dev);

        if (dlb == NULL) {
diff --git a/drivers/event/dlb2/dlb2_xstats.c b/drivers/event/dlb2/dlb2_xstats.c
index a274779fee..8c3c3cda94 100644
--- a/drivers/event/dlb2/dlb2_xstats.c
+++ b/drivers/event/dlb2/dlb2_xstats.c
@@ -972,11 +972,6 @@ dlb2_eventdev_dump(struct rte_eventdev *dev, FILE *f)
        struct dlb2_hw_dev *handle;
        int i;

-       if (f == NULL) {
-               DLB2_LOG_ERR("Invalid file pointer\n");
-               return;
-       }
-
        dlb2 = dlb2_pmd_priv(dev);

        if (dlb2 == NULL) {



-- 
David Marchand


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

* Re: [dpdk-dev] [pull-request] next-eventdev 20.11 RC2
  2020-11-02 15:50 ` David Marchand
@ 2020-11-02 15:57   ` McDaniel, Timothy
  2020-11-03 10:04     ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: McDaniel, Timothy @ 2020-11-02 15:57 UTC (permalink / raw)
  To: David Marchand, Jerin Jacob Kollanukkaran, Thomas Monjalon; +Cc: dev



> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Monday, November 2, 2020 9:51 AM
> To: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Thomas Monjalon
> <thomas@monjalon.net>; McDaniel, Timothy <timothy.mcdaniel@intel.com>
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [pull-request] next-eventdev 20.11 RC2
> 
> On Mon, Nov 2, 2020 at 3:31 PM Jerin Jacob Kollanukkaran
> <jerinj@marvell.com> wrote:
> >
> > The following changes since commit
> 79d69c6dcf0debea38ac258d230e2f8c93e5ad12:
> >
> >   mbuf: remove seqn field (2020-10-31 22:14:44 +0100)
> >
> > are available in the Git repository at:
> >
> >   http://dpdk.org/git/next/dpdk-next-eventdev
> >
> > for you to fetch changes up to
> e06cd1ddfeac30b4926a52a69336b4f25a9cd209:
> >
> >   eventdev: check input parameter for dump op (2020-11-02 19:16:51 +0530)
> >
> > ----------------------------------------------------------------
> > David Marchand (1):
> >       eventdev: check input parameter for dump op
> 
> About this patch, could we squash some change in the dlb/dlb2 drivers?
> I guess Thomas could do it while pulling if nobody objects?
> 
> 
> diff --git a/drivers/event/dlb/dlb_xstats.c b/drivers/event/dlb/dlb_xstats.c
> index 89186d506e..5f4c590307 100644
> --- a/drivers/event/dlb/dlb_xstats.c
> +++ b/drivers/event/dlb/dlb_xstats.c
> @@ -921,11 +921,6 @@ dlb_eventdev_dump(struct rte_eventdev *dev, FILE *f)
>         struct dlb_hw_dev *handle;
>         int i;
> 
> -       if (f == NULL) {
> -               DLB_LOG_ERR("Invalid file pointer\n");
> -               return;
> -       }
> -
>         dlb = dlb_pmd_priv(dev);
> 
>         if (dlb == NULL) {
> diff --git a/drivers/event/dlb2/dlb2_xstats.c b/drivers/event/dlb2/dlb2_xstats.c
> index a274779fee..8c3c3cda94 100644
> --- a/drivers/event/dlb2/dlb2_xstats.c
> +++ b/drivers/event/dlb2/dlb2_xstats.c
> @@ -972,11 +972,6 @@ dlb2_eventdev_dump(struct rte_eventdev *dev, FILE
> *f)
>         struct dlb2_hw_dev *handle;
>         int i;
> 
> -       if (f == NULL) {
> -               DLB2_LOG_ERR("Invalid file pointer\n");
> -               return;
> -       }
> -
>         dlb2 = dlb2_pmd_priv(dev);
> 
>         if (dlb2 == NULL) {
> 
> 
> 
> --
> David Marchand

I am fine with Thomas pulling these changes in.

Thanks, Tim

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

* Re: [dpdk-dev] [pull-request] next-eventdev 20.11 RC2
  2020-11-02 15:57   ` McDaniel, Timothy
@ 2020-11-03 10:04     ` Thomas Monjalon
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2020-11-03 10:04 UTC (permalink / raw)
  To: David Marchand, Jerin Jacob Kollanukkaran, McDaniel, Timothy; +Cc: dev

02/11/2020 16:57, McDaniel, Timothy:
> From: David Marchand <david.marchand@redhat.com>
> > On Mon, Nov 2, 2020 at 3:31 PM Jerin Jacob Kollanukkaran
> > <jerinj@marvell.com> wrote:
> > >
> > > The following changes since commit
> > 79d69c6dcf0debea38ac258d230e2f8c93e5ad12:
> > >
> > >   mbuf: remove seqn field (2020-10-31 22:14:44 +0100)
> > >
> > > are available in the Git repository at:
> > >
> > >   http://dpdk.org/git/next/dpdk-next-eventdev
> > >
> > > for you to fetch changes up to
> > e06cd1ddfeac30b4926a52a69336b4f25a9cd209:
> > >
> > >   eventdev: check input parameter for dump op (2020-11-02 19:16:51 +0530)
> > >
> > > ----------------------------------------------------------------
> > > David Marchand (1):
> > >       eventdev: check input parameter for dump op
> > 
> > About this patch, could we squash some change in the dlb/dlb2 drivers?
> > I guess Thomas could do it while pulling if nobody objects?
> > 
> > 
> > diff --git a/drivers/event/dlb/dlb_xstats.c b/drivers/event/dlb/dlb_xstats.c
> > index 89186d506e..5f4c590307 100644
> > --- a/drivers/event/dlb/dlb_xstats.c
> > +++ b/drivers/event/dlb/dlb_xstats.c
> > @@ -921,11 +921,6 @@ dlb_eventdev_dump(struct rte_eventdev *dev, FILE *f)
> >         struct dlb_hw_dev *handle;
> >         int i;
> > 
> > -       if (f == NULL) {
> > -               DLB_LOG_ERR("Invalid file pointer\n");
> > -               return;
> > -       }
> > -
> >         dlb = dlb_pmd_priv(dev);
> > 
> >         if (dlb == NULL) {
> > diff --git a/drivers/event/dlb2/dlb2_xstats.c b/drivers/event/dlb2/dlb2_xstats.c
> > index a274779fee..8c3c3cda94 100644
> > --- a/drivers/event/dlb2/dlb2_xstats.c
> > +++ b/drivers/event/dlb2/dlb2_xstats.c
> > @@ -972,11 +972,6 @@ dlb2_eventdev_dump(struct rte_eventdev *dev, FILE
> > *f)
> >         struct dlb2_hw_dev *handle;
> >         int i;
> > 
> > -       if (f == NULL) {
> > -               DLB2_LOG_ERR("Invalid file pointer\n");
> > -               return;
> > -       }
> > -
> >         dlb2 = dlb2_pmd_priv(dev);
> > 
> >         if (dlb2 == NULL) {
> > 
> > 
> > 
> > --
> > David Marchand
> 
> I am fine with Thomas pulling these changes in.

OK will do, after moving David's patch at first position.



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

* Re: [dpdk-dev] [pull-request] next-eventdev 20.11 RC2
  2020-11-02 14:30 [dpdk-dev] [pull-request] next-eventdev 20.11 RC2 Jerin Jacob Kollanukkaran
  2020-11-02 15:50 ` David Marchand
@ 2020-11-03 10:40 ` Thomas Monjalon
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2020-11-03 10:40 UTC (permalink / raw)
  To: Jerin Jacob Kollanukkaran; +Cc: dev, timothy.mcdaniel, david.marchand

02/11/2020 15:30, Jerin Jacob Kollanukkaran:
>   http://dpdk.org/git/next/dpdk-next-eventdev

Pulled with discussed change, thanks




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

end of thread, other threads:[~2020-11-03 10:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 14:30 [dpdk-dev] [pull-request] next-eventdev 20.11 RC2 Jerin Jacob Kollanukkaran
2020-11-02 15:50 ` David Marchand
2020-11-02 15:57   ` McDaniel, Timothy
2020-11-03 10:04     ` Thomas Monjalon
2020-11-03 10:40 ` Thomas Monjalon

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git