mbox series

[v2,0/2] app/testpmd: support TCP TSO in Tx only mode

Message ID 20221111084929.1579639-1-andrew.rybchenko@oktetlabs.ru (mailing list archive)
Headers
Series app/testpmd: support TCP TSO in Tx only mode |

Message

Andrew Rybchenko Nov. 11, 2022, 8:49 a.m. UTC
  Add command-line option to generate TSO packets with specified MSS
in txonly mode.

I'm not sure that it is a good idea to enable TSO offload automaticaly
when the options is specified, but it is convenient.

v2:
    - fix wrong data length calculation (as per review notes from Ferruh)

Andrew Rybchenko (2):
  app/testpmd: prepare to support TCP in Tx only mode
  app/testpmd: support TCP TSO in Tx only mode

 app/test-pmd/parameters.c             |  16 ++-
 app/test-pmd/testpmd.c                |  12 +++
 app/test-pmd/testpmd.h                |   5 +-
 app/test-pmd/txonly.c                 | 140 +++++++++++++++++++-------
 doc/guides/testpmd_app_ug/run_app.rst |   4 +
 5 files changed, 134 insertions(+), 43 deletions(-)
  

Comments

Andrew Rybchenko Nov. 11, 2022, 8:52 a.m. UTC | #1
On 11/11/22 11:49, Andrew Rybchenko wrote:
> Add command-line option to generate TSO packets with specified MSS
> in txonly mode.
> 
> I'm not sure that it is a good idea to enable TSO offload automaticaly
> when the options is specified, but it is convenient.
> 
> v2:
>      - fix wrong data length calculation (as per review notes from Ferruh)
> 
> Andrew Rybchenko (2):
>    app/testpmd: prepare to support TCP in Tx only mode
>    app/testpmd: support TCP TSO in Tx only mode
> 
>   app/test-pmd/parameters.c             |  16 ++-
>   app/test-pmd/testpmd.c                |  12 +++
>   app/test-pmd/testpmd.h                |   5 +-
>   app/test-pmd/txonly.c                 | 140 +++++++++++++++++++-------
>   doc/guides/testpmd_app_ug/run_app.rst |   4 +
>   5 files changed, 134 insertions(+), 43 deletions(-)
> 

Self NAK, I forgot --in-reply-to and finally changed my mind
about review notes processing. Sorry for spam. I'll send v3
shortly.