[dpdk-dev] [PATCH 1/2] net/tap: fix indentation in flow file

Matan Azrad matan at mellanox.com
Tue Oct 3 17:07:32 CEST 2017


I sent it from root user by mistake, sorry!
I Sent it again with my user.

> -----Original Message-----
> From: root [mailto:root at pegasus12.mtr.labs.mlnx]
> Sent: Tuesday, October 3, 2017 5:52 PM
> To: Pascal Mazon <pascal.mazon at 6wind.com>
> Cc: dev at dpdk.org; Matan Azrad <matan at mellanox.com>
> Subject: [PATCH 1/2] net/tap: fix indentation in flow file
> 
> From: Matan Azrad <matan at mellanox.com>
> 
> Missed 4 spaces were added after break if line.
> 
> Fixes: 7a6811d78ed6 ("net/tap: fix flow and port commands")
> 
> Signed-off-by: Matan Azrad <matan at mellanox.com>
> ---
>  drivers/net/tap/tap_flow.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/tap/tap_flow.c b/drivers/net/tap/tap_flow.c index
> eefa868..aa33960 100644
> --- a/drivers/net/tap/tap_flow.c
> +++ b/drivers/net/tap/tap_flow.c
> @@ -1093,7 +1093,7 @@ struct tap_flow_items {
>  				goto exit_action_not_supported;
>  			action = 1;
>  			if (!queue ||
> -			(queue->index > pmd->dev->data->nb_rx_queues -
> 1))
> +			    (queue->index > pmd->dev->data->nb_rx_queues
> - 1))
>  				goto exit_action_not_supported;
>  			if (flow)
>  				err = add_action_skbedit(flow, queue-
> >index);
> --
> 1.8.3.1



More information about the dev mailing list