doc: remove redundant "OF" prefix from testpmd doc

Message ID 1544097974-5507-1-git-send-email-dekelp@mellanox.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series doc: remove redundant "OF" prefix from testpmd doc |

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Dekel Peled Dec. 6, 2018, 12:06 p.m. UTC
  testpmd actions set_tp_src and set_tp_dst documentation adds the
of_ prefix to action names, while the implementation doesn't add it.

This patch removes the prefix from action names in testpmd
documentation.

Fixes: 9ccc94919500 ("ethdev: add flow API actions to modify TCP/UDP port numbers")
Cc: rahul.lakkireddy@chelsio.com

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Ori Kam Dec. 6, 2018, 12:15 p.m. UTC | #1
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Dekel Peled
> Sent: Thursday, December 6, 2018 2:06 PM
> To: wenzhuo.lu@intel.com; jingjing.wu@intel.com;
> bernard.iremonger@intel.com
> Cc: dev@dpdk.org; Ori Kam <orika@mellanox.com>; Shahaf Shuler
> <shahafs@mellanox.com>; Dekel Peled <dekelp@mellanox.com>;
> rahul.lakkireddy@chelsio.com
> Subject: [dpdk-dev] [PATCH] doc: remove redundant "OF" prefix from testpmd
> doc
> 
> testpmd actions set_tp_src and set_tp_dst documentation adds the
> of_ prefix to action names, while the implementation doesn't add it.
> 
> This patch removes the prefix from action names in testpmd
> documentation.
> 
> Fixes: 9ccc94919500 ("ethdev: add flow API actions to modify TCP/UDP port
> numbers")
> Cc: rahul.lakkireddy@chelsio.com
> 
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
> ---
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> index 056f8bb..9d4f107 100644
> --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> @@ -3931,12 +3931,12 @@ This section lists supported actions and their
> attributes, if any.
> 
>    - ``ipv6_addr``: New IPv6 destination address.
> 
> -- ``of_set_tp_src``: Set a new source port number in the outermost TCP/UDP
> +- ``set_tp_src``: Set a new source port number in the outermost TCP/UDP
>    header.
> 
>    - ``port``: New TCP/UDP source port number.
> 
> -- ``of_set_tp_dst``: Set a new destination port number in the outermost
> TCP/UDP
> +- ``set_tp_dst``: Set a new destination port number in the outermost TCP/UDP
>    header.
> 
>    - ``port``: New TCP/UDP destination port number.
> --
> 1.8.3.1

Acked-by: Ori Kam <orika@mellanox.com>
Thanks,
Ori
  
Rahul Lakkireddy Dec. 6, 2018, 12:18 p.m. UTC | #2
On Thursday, December 12/06/18, 2018 at 17:36:14 +0530, Dekel Peled wrote:
> testpmd actions set_tp_src and set_tp_dst documentation adds the
> of_ prefix to action names, while the implementation doesn't add it.
> 
> This patch removes the prefix from action names in testpmd
> documentation.
> 
> Fixes: 9ccc94919500 ("ethdev: add flow API actions to modify TCP/UDP port numbers")
> Cc: rahul.lakkireddy@chelsio.com
> 
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
> ---
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> index 056f8bb..9d4f107 100644
> --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> @@ -3931,12 +3931,12 @@ This section lists supported actions and their attributes, if any.
>  
>    - ``ipv6_addr``: New IPv6 destination address.
>  
> -- ``of_set_tp_src``: Set a new source port number in the outermost TCP/UDP
> +- ``set_tp_src``: Set a new source port number in the outermost TCP/UDP
>    header.
>  
>    - ``port``: New TCP/UDP source port number.
>  
> -- ``of_set_tp_dst``: Set a new destination port number in the outermost TCP/UDP
> +- ``set_tp_dst``: Set a new destination port number in the outermost TCP/UDP
>    header.
>  
>    - ``port``: New TCP/UDP destination port number.
> -- 
> 1.8.3.1
> 

Good catch!

Acked-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
  
Ferruh Yigit Dec. 11, 2018, 5:43 p.m. UTC | #3
On 12/6/2018 12:18 PM, Rahul Lakkireddy wrote:
> On Thursday, December 12/06/18, 2018 at 17:36:14 +0530, Dekel Peled wrote:
>> testpmd actions set_tp_src and set_tp_dst documentation adds the
>> of_ prefix to action names, while the implementation doesn't add it.
>>
>> This patch removes the prefix from action names in testpmd
>> documentation.
>>
>> Fixes: 9ccc94919500 ("ethdev: add flow API actions to modify TCP/UDP port numbers")
>> Cc: rahul.lakkireddy@chelsio.com
>>
>> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
> 
> Acked-by: Ori Kam <orika@mellanox.com>
>
> Acked-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>

Applied to dpdk-next-net/master, thanks.
  

Patch

diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 056f8bb..9d4f107 100644
--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
@@ -3931,12 +3931,12 @@  This section lists supported actions and their attributes, if any.
 
   - ``ipv6_addr``: New IPv6 destination address.
 
-- ``of_set_tp_src``: Set a new source port number in the outermost TCP/UDP
+- ``set_tp_src``: Set a new source port number in the outermost TCP/UDP
   header.
 
   - ``port``: New TCP/UDP source port number.
 
-- ``of_set_tp_dst``: Set a new destination port number in the outermost TCP/UDP
+- ``set_tp_dst``: Set a new destination port number in the outermost TCP/UDP
   header.
 
   - ``port``: New TCP/UDP destination port number.