DPDK patches and discussions
 help / color / mirror / Atom feed
From: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
To: Shahaf Shuler <shahafs@mellanox.com>
Cc: yskoh@mellanox.com, adrien.mazarguil@6wind.com, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix flow mark action on port start
Date: Wed, 15 Nov 2017 08:58:35 +0100	[thread overview]
Message-ID: <20171115075835.kyp4yw3yyc2vtvm5@laranjeiro-vm.dev.6wind.com> (raw)
In-Reply-To: <20171115070949.95541-1-shahafs@mellanox.com>

On Wed, Nov 15, 2017 at 09:09:49AM +0200, Shahaf Shuler wrote:
> Mark action flag was not set on the flow, causing the rx burst function
> after port start to ignore the flow mark.
> 
> Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow")
> Cc: nelio.laranjeiro@6wind.com
> 
> Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5_flow.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
> index 466d74b5f..f32dfdd3f 100644
> --- a/drivers/net/mlx5/mlx5_flow.c
> +++ b/drivers/net/mlx5/mlx5_flow.c
> @@ -1930,6 +1930,7 @@ priv_flow_create(struct priv *priv,
>  	flow->queues = (uint16_t (*)[])(flow + 1);
>  	memcpy(flow->queues, parser.queues, parser.queues_n * sizeof(uint16_t));
>  	flow->queues_n = parser.queues_n;
> +	flow->mark = parser.mark;
>  	/* Copy RSS configuration. */
>  	flow->rss_conf = parser.rss_conf;
>  	flow->rss_conf.rss_key = flow->rss_key;
> -- 
> 2.12.0
 
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>

-- 
Nélio Laranjeiro
6WIND

  reply	other threads:[~2017-11-15  7:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15  7:09 Shahaf Shuler
2017-11-15  7:58 ` Nelio Laranjeiro [this message]
2017-11-15  8:08   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171115075835.kyp4yw3yyc2vtvm5@laranjeiro-vm.dev.6wind.com \
    --to=nelio.laranjeiro@6wind.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=shahafs@mellanox.com \
    --cc=yskoh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).