[dpdk-dev,05/13] acl: fix acl_flow_data comments

Message ID 575c97e9aa780b0c5f8d7f0e38ed3f6f308f7669.1481590851.git.mirq-linux@rere.qmqm.pl (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel compilation success Compilation OK

Commit Message

Michał Mirosław Dec. 13, 2016, 1:08 a.m. UTC
  Signed-off-by: Michał Mirosław <michal.miroslaw@atendesoftware.pl>
---
 lib/librte_acl/acl_run.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Ananyev, Konstantin Dec. 13, 2016, 10:43 a.m. UTC | #1
> -----Original Message-----

> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Michal Miroslaw

> Sent: Tuesday, December 13, 2016 1:08 AM

> To: dev@dpdk.org

> Subject: [dpdk-dev] [PATCH 05/13] acl: fix acl_flow_data comments

> 

> Signed-off-by: Michał Mirosław <michal.miroslaw@atendesoftware.pl>

> ---

>  lib/librte_acl/acl_run.h | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)

> 

> diff --git a/lib/librte_acl/acl_run.h b/lib/librte_acl/acl_run.h

> index 024f393..a862ff6 100644

> --- a/lib/librte_acl/acl_run.h

> +++ b/lib/librte_acl/acl_run.h

> @@ -69,10 +69,10 @@ struct acl_flow_data {

>  	uint32_t            trie;

>  	/* current trie index (0 to N-1) */

>  	uint32_t            cmplt_size;

> +	/* maximum number of packets to process */

>  	uint32_t            total_packets;

> -	uint32_t            categories;

>  	/* number of result categories per packet. */

> -	/* maximum number of packets to process */

> +	uint32_t            categories;

>  	const uint64_t     *trans;

>  	const uint8_t     **data;

>  	uint32_t           *results;

> --


Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>


> 2.10.2
  
Thomas Monjalon Jan. 30, 2017, 10:15 a.m. UTC | #2
> > Signed-off-by: Michał Mirosław <michal.miroslaw@atendesoftware.pl>
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

Applied, thanks
  

Patch

diff --git a/lib/librte_acl/acl_run.h b/lib/librte_acl/acl_run.h
index 024f393..a862ff6 100644
--- a/lib/librte_acl/acl_run.h
+++ b/lib/librte_acl/acl_run.h
@@ -69,10 +69,10 @@  struct acl_flow_data {
 	uint32_t            trie;
 	/* current trie index (0 to N-1) */
 	uint32_t            cmplt_size;
+	/* maximum number of packets to process */
 	uint32_t            total_packets;
-	uint32_t            categories;
 	/* number of result categories per packet. */
-	/* maximum number of packets to process */
+	uint32_t            categories;
 	const uint64_t     *trans;
 	const uint8_t     **data;
 	uint32_t           *results;