doc: fix build error with sphinx 4.5.0
Checks
Commit Message
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(-)
Comments
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
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
>
@@ -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