From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id F31F21B1F7 for ; Wed, 15 Nov 2017 08:58:43 +0100 (CET) Received: by mail-wm0-f65.google.com with SMTP id b189so1039146wmd.5 for ; Tue, 14 Nov 2017 23:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Hsp/6nmrp5qYQ0TCugAI9kY7Ig8uo1l9CJwB4xHhGpk=; b=jpAt+keHhHD0lGeZ5u7fn7M6A3e+Fr/71Eqh3KpK3ifCQ0iB3fRkOnOImx/wyleBJv ScD1h0ZTl85Lgfn8yObmOhsTZtcFDdMpbg6UlyhebqqIcX9ai0DOvw5g3JC3NbQtIHQB x00c1b9VJULYezI7w14GRWCyZbKJfXfOOcADPcat8KzPulz4beLRyGK+DqEj8+GHwShw BCxwMMi6hgqWVVIl7EVThCAtxqoUnNxUuxE/FJDQU7Scp51KTheMKU+5U9KZFPXADiPQ Sck/klCqOYvgnKLe2tygNh9HQAeye13s+3pWB9NA/06KT70feKcC+hIOzVTnn5V/pR3s GCBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Hsp/6nmrp5qYQ0TCugAI9kY7Ig8uo1l9CJwB4xHhGpk=; b=QMMcy9E/GzksTh6nMYkM6zIY5hJZU+DxHaVwpZK5DgdiyLAISD5rLh2rP0DFl/yxDg FsTEAgtKCAdPFfBC+457cqhVjE9ZN7gKKhh8Qodvls5xcoKfqcCRW4PSPM7KDw0aKcUu My934UTtqO3E8mqo4xA3SbTEks2r5kL5nYYMtelDhqL6oLKM+0wM5gfXnWKOL6GLoPZJ UzbKITvGWnPRhnIVjMmxt4kGcthzqBv+fA1vl71HFf4yxaEHt3+Di97CGrbzC03vaiKw cK0xAFwZf+Dw/n1MK9MlJDP95R+qpMpj/TrWeJB2mtDGdPs64Wm66hIMI4kBqw0ZJWck BGDg== X-Gm-Message-State: AJaThX6AOGY4aujnst8kxCDAxmaz23Hs/cZ9dv9okwAlh3X2o0n99RxX 9wysx3TIm65E8kWmqLH2D89V X-Google-Smtp-Source: AGs4zMYbdbiMDz8W1vU7TJwzZIc8l1tl0DFyv9/WrS4oyjD8Ay6Oe9Lk/WYgeC3d/0uh7Nu4XClkKA== X-Received: by 10.80.241.72 with SMTP id z8mr18842832edl.35.1510732723707; Tue, 14 Nov 2017 23:58:43 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id i10sm17734015edl.34.2017.11.14.23.58.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Nov 2017 23:58:43 -0800 (PST) Date: Wed, 15 Nov 2017 08:58:35 +0100 From: Nelio Laranjeiro To: Shahaf Shuler Cc: yskoh@mellanox.com, adrien.mazarguil@6wind.com, dev@dpdk.org Message-ID: <20171115075835.kyp4yw3yyc2vtvm5@laranjeiro-vm.dev.6wind.com> References: <20171115070949.95541-1-shahafs@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171115070949.95541-1-shahafs@mellanox.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix flow mark action on port start X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 07:58:44 -0000 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 > --- > 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 -- Nélio Laranjeiro 6WIND