DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0
@ 2022-05-01 14:57 jerinj
  2022-05-02  7:00 ` Jayatheerthan, Jay
  0 siblings, 1 reply; 3+ messages in thread
From: jerinj @ 2022-05-01 14:57 UTC (permalink / raw)
  To: dev, Jay Jayatheerthan, Jerin Jacob, Ray Kinsella, Pavan Nikhilesh
  Cc: thomas, david.marchand, stable

From: Jerin Jacob <jerinj@marvell.com>

Latest sphinx checks c language syntax more aggressively.
Fix the following warning by correcting c language syntax.

doc/guides/prog_guide/event_ethernet_rx_adapter.rst:243:
WARNING: Could not lex literal_block as "c". Highlighting skipped.

Fixes: 3c838062b91f ("eventdev: introduce event vector Rx capability")
Cc: Pavan Nikhilesh <pbhagavatula@marvell.com>
Cc: stable@dpdk.org

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
---
 doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
index 67b11e1563..3b4ef502b2 100644
--- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
+++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
@@ -257,8 +257,8 @@ A loop processing ``rte_event_vector`` containing mbufs is shown below.
                         /* Process each mbuf. */
                 }
         break;
-        case ...
-        ...
+        case default:
+                /* Handle other event_types. */
         }
 
 Rx event vectorization for SW Rx adapter
-- 
2.36.0


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

* RE: [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0
  2022-05-01 14:57 [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0 jerinj
@ 2022-05-02  7:00 ` Jayatheerthan, Jay
  2022-05-09 16:07   ` Jerin Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Jayatheerthan, Jay @ 2022-05-02  7:00 UTC (permalink / raw)
  To: jerinj, dev, Ray Kinsella, Pavan Nikhilesh; +Cc: thomas, david.marchand, stable

Looks good, thanks!

Acked-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>

-Jay



> -----Original Message-----
> From: jerinj@marvell.com <jerinj@marvell.com>
> Sent: Sunday, May 1, 2022 8:27 PM
> To: dev@dpdk.org; Jayatheerthan, Jay <jay.jayatheerthan@intel.com>; Jerin Jacob <jerinj@marvell.com>; Ray Kinsella
> <mdr@ashroe.eu>; Pavan Nikhilesh <pbhagavatula@marvell.com>
> Cc: thomas@monjalon.net; david.marchand@redhat.com; stable@dpdk.org
> Subject: [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0
> 
> From: Jerin Jacob <jerinj@marvell.com>
> 
> Latest sphinx checks c language syntax more aggressively.
> Fix the following warning by correcting c language syntax.
> 
> doc/guides/prog_guide/event_ethernet_rx_adapter.rst:243:
> WARNING: Could not lex literal_block as "c". Highlighting skipped.
> 
> Fixes: 3c838062b91f ("eventdev: introduce event vector Rx capability")
> Cc: Pavan Nikhilesh <pbhagavatula@marvell.com>
> Cc: stable@dpdk.org
> 
> Signed-off-by: Jerin Jacob <jerinj@marvell.com>
> ---
>  doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> index 67b11e1563..3b4ef502b2 100644
> --- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> +++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> @@ -257,8 +257,8 @@ A loop processing ``rte_event_vector`` containing mbufs is shown below.
>                          /* Process each mbuf. */
>                  }
>          break;
> -        case ...
> -        ...
> +        case default:
> +                /* Handle other event_types. */
>          }
> 
>  Rx event vectorization for SW Rx adapter
> --
> 2.36.0


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

* Re: [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0
  2022-05-02  7:00 ` Jayatheerthan, Jay
@ 2022-05-09 16:07   ` Jerin Jacob
  0 siblings, 0 replies; 3+ messages in thread
From: Jerin Jacob @ 2022-05-09 16:07 UTC (permalink / raw)
  To: Jayatheerthan, Jay
  Cc: jerinj, dev, Ray Kinsella, Pavan Nikhilesh, thomas,
	david.marchand, stable

On Mon, May 2, 2022 at 12:30 PM Jayatheerthan, Jay
<jay.jayatheerthan@intel.com> wrote:
>
> Looks good, thanks!
>
> Acked-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>

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

>
> -Jay
>
>
>
> > -----Original Message-----
> > From: jerinj@marvell.com <jerinj@marvell.com>
> > Sent: Sunday, May 1, 2022 8:27 PM
> > To: dev@dpdk.org; Jayatheerthan, Jay <jay.jayatheerthan@intel.com>; Jerin Jacob <jerinj@marvell.com>; Ray Kinsella
> > <mdr@ashroe.eu>; Pavan Nikhilesh <pbhagavatula@marvell.com>
> > Cc: thomas@monjalon.net; david.marchand@redhat.com; stable@dpdk.org
> > Subject: [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0
> >
> > From: Jerin Jacob <jerinj@marvell.com>
> >
> > Latest sphinx checks c language syntax more aggressively.
> > Fix the following warning by correcting c language syntax.
> >
> > doc/guides/prog_guide/event_ethernet_rx_adapter.rst:243:
> > WARNING: Could not lex literal_block as "c". Highlighting skipped.
> >
> > Fixes: 3c838062b91f ("eventdev: introduce event vector Rx capability")
> > Cc: Pavan Nikhilesh <pbhagavatula@marvell.com>
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Jerin Jacob <jerinj@marvell.com>
> > ---
> >  doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> > index 67b11e1563..3b4ef502b2 100644
> > --- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> > +++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> > @@ -257,8 +257,8 @@ A loop processing ``rte_event_vector`` containing mbufs is shown below.
> >                          /* Process each mbuf. */
> >                  }
> >          break;
> > -        case ...
> > -        ...
> > +        case default:
> > +                /* Handle other event_types. */
> >          }
> >
> >  Rx event vectorization for SW Rx adapter
> > --
> > 2.36.0
>

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

end of thread, other threads:[~2022-05-09 16:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-01 14:57 [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0 jerinj
2022-05-02  7:00 ` Jayatheerthan, Jay
2022-05-09 16:07   ` 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).