Message ID | 20210526074712.9270-1-hemant.agrawal@nxp.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Thomas Monjalon |
Headers | show |
Series | [1/2] doc: add policy for adding vendor PMD specific examples | expand |
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
On Wed, May 26, 2021 at 1:19 PM Hemant Agrawal <hemant.agrawal@nxp.com> wrote: > > This patch update the dpdk sample app policy to support > vendor PMD specific test examples in the respective drivers > sub-directory in examples. > > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> > --- > doc/guides/sample_app_ug/intro.rst | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/doc/guides/sample_app_ug/intro.rst b/doc/guides/sample_app_ug/intro.rst > index 8ff223b16c..fd34e7790d 100644 > --- a/doc/guides/sample_app_ug/intro.rst > +++ b/doc/guides/sample_app_ug/intro.rst > @@ -58,10 +58,6 @@ examples are highlighted below. > forwarding Graph, or ``l3fwd_graph`` application does forwarding based on IPv4 > like a simple router with DPDK Graph framework. > > -* :doc:`Hardware packet copying<ioat>`: The Hardware packet copying, > - or ``ioatfwd`` application demonstrates how to use IOAT rawdev driver for > - copying packets between two threads. > - > * :doc:`Packet Distributor<dist_app>`: The Packet Distributor > demonstrates how to distribute packets arriving on an Rx port to different > cores for processing and transmission. > @@ -94,3 +90,15 @@ examples are highlighted below. > There are many more examples shown in the following chapters. Each of the > documented sample applications show how to compile, configure and run the > application as well as explaining the main functionality of the code. > + > +Driver specific Sample Application > +---------------------------------- > + > +There are case where exiting sample applications may not be suitable to test cases > +a new driver contribution. In such cases a new driver specific sample application > +can be added to specific drivers sub-directory in the examples folder with prior > +approval from DPDK technical board. e.g. > + > +* :doc:`Hardware packet copying<ioat>`: The Hardware packet copying, > + or ``ioat`` application demonstrates how to use IOAT rawdev driver for > + copying packets between two threads. With the above fix, it looks good to me. Acked-by: Jerin Jacob <jerinj@marvell.com> > -- > 2.17.1 >
26/05/2021 09:47, Hemant Agrawal: > This patch update the dpdk sample app policy to support > vendor PMD specific test examples in the respective drivers > sub-directory in examples. Please could you add a link to the decision in techboard minutes? > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> > --- > doc/guides/sample_app_ug/intro.rst | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/doc/guides/sample_app_ug/intro.rst b/doc/guides/sample_app_ug/intro.rst > index 8ff223b16c..fd34e7790d 100644 > --- a/doc/guides/sample_app_ug/intro.rst > +++ b/doc/guides/sample_app_ug/intro.rst > @@ -58,10 +58,6 @@ examples are highlighted below. > forwarding Graph, or ``l3fwd_graph`` application does forwarding based on IPv4 > like a simple router with DPDK Graph framework. > > -* :doc:`Hardware packet copying<ioat>`: The Hardware packet copying, > - or ``ioatfwd`` application demonstrates how to use IOAT rawdev driver for > - copying packets between two threads. > - > * :doc:`Packet Distributor<dist_app>`: The Packet Distributor > demonstrates how to distribute packets arriving on an Rx port to different > cores for processing and transmission. > @@ -94,3 +90,15 @@ examples are highlighted below. > There are many more examples shown in the following chapters. Each of the > documented sample applications show how to compile, configure and run the > application as well as explaining the main functionality of the code. > + > +Driver specific Sample Application > +---------------------------------- > + > +There are case where exiting sample applications may not be suitable to test typo: existing > +a new driver contribution. In such cases a new driver specific sample application > +can be added to specific drivers sub-directory in the examples folder with prior > +approval from DPDK technical board. e.g. > + > +* :doc:`Hardware packet copying<ioat>`: The Hardware packet copying, > + or ``ioat`` application demonstrates how to use IOAT rawdev driver for > + copying packets between two threads. This example is now generic and renamed as examples/dma.
diff --git a/doc/guides/sample_app_ug/intro.rst b/doc/guides/sample_app_ug/intro.rst index 8ff223b16c..fd34e7790d 100644 --- a/doc/guides/sample_app_ug/intro.rst +++ b/doc/guides/sample_app_ug/intro.rst @@ -58,10 +58,6 @@ examples are highlighted below. forwarding Graph, or ``l3fwd_graph`` application does forwarding based on IPv4 like a simple router with DPDK Graph framework. -* :doc:`Hardware packet copying<ioat>`: The Hardware packet copying, - or ``ioatfwd`` application demonstrates how to use IOAT rawdev driver for - copying packets between two threads. - * :doc:`Packet Distributor<dist_app>`: The Packet Distributor demonstrates how to distribute packets arriving on an Rx port to different cores for processing and transmission. @@ -94,3 +90,15 @@ examples are highlighted below. There are many more examples shown in the following chapters. Each of the documented sample applications show how to compile, configure and run the application as well as explaining the main functionality of the code. + +Driver specific Sample Application +---------------------------------- + +There are case where exiting sample applications may not be suitable to test +a new driver contribution. In such cases a new driver specific sample application +can be added to specific drivers sub-directory in the examples folder with prior +approval from DPDK technical board. e.g. + +* :doc:`Hardware packet copying<ioat>`: The Hardware packet copying, + or ``ioat`` application demonstrates how to use IOAT rawdev driver for + copying packets between two threads.
This patch update the dpdk sample app policy to support vendor PMD specific test examples in the respective drivers sub-directory in examples. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- doc/guides/sample_app_ug/intro.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-)