From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 0330B1B339 for ; Tue, 7 Nov 2017 11:08:40 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id z3so2543376wme.5 for ; Tue, 07 Nov 2017 02:08:40 -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=pflfS/ho5UuhSmsHG8A34b5i1lpTn9zc5T2uZFkviwQ=; b=RcmXC7bZSVk/zNl9CueFCBZVSLLLgYn/ESbamkwn4rF93YxZXthSS+gcfdeFT7kybx j4mrxNQZkDzaofoFJdbM3228P4WfFHP5oZjUL6cYQ1DLnQigz3n0GwUGJTsQ3stMI91a gLG9FTgHL/yCdhEJjJcdt9za/7SOAFNmTekKbncvsDljkGvMPxyGipjXesQ/laUC2Zfs e1KgAK1xCYknJD0+PHIoUxnmPHY2rTE93+f+hcgPxFt2DWfE/C+yd/stZcEHltiYWITL 5qlVDxw+flqCsHev2hARTQPp0b1y5vbe1ylG20c6Nxbu2rbpnOJMB9bw/fKprGEfILjI 5hhA== 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=pflfS/ho5UuhSmsHG8A34b5i1lpTn9zc5T2uZFkviwQ=; b=j8actSEUEEuaDYDFucnWlVcRJ391CZjO4c/qZQ2wvvvfzsS4FB8eN7Yo86sS2vZxwS OYiJntpJ8tKOrLR5aU1UYiIJYA9VlYRdINrD3NbnO4RleoOqaTM+2GP8lTW1fORMHhMO RWSPK8IiTaY+VooLtQjoQ/CII4loReaGp2WWQtzX8elRKwNFgBQvv+XDmqK6a4929Hv4 ne7jT4Q41/PnB52F0ds5qJUOUUdBgAiTG2i9BED5ozYOnwMJGPvHktD2OCFpQ+TaNLy4 486281w/bsJpVa0w+q96MFotPf5JeyjiY/AHjjTJ/a93eE5G/j7OOIR8EUhFPPq63Dqq rZbw== X-Gm-Message-State: AMCzsaVs+ABoI0JsY78QXfVItKDQL4gFsXtGGlF1OjMlaowLpGBtQ4DK SeKlL1ZLxZyJhRiqwuBdasfv X-Google-Smtp-Source: ABhQp+Q4JM8Aez55cuj9RZH5HInP7q2Iof9n6+AXWVUORAX3uyO/gpWiVnfuZozUA+XSFixuwO5BcA== X-Received: by 10.80.189.139 with SMTP id y11mr23486656edh.2.1510049320686; Tue, 07 Nov 2017 02:08:40 -0800 (PST) Received: from laranjeiro-vm (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id y21sm938654edi.25.2017.11.07.02.08.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Nov 2017 02:08:40 -0800 (PST) Date: Tue, 7 Nov 2017 11:08:54 +0100 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Olivier Gournet Cc: dev@dpdk.org Message-ID: <20171107100854.7sngrsohkp5yuegx@laranjeiro-vm> References: <1510048777-31098-1-git-send-email-ogournet@corp.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1510048777-31098-1-git-send-email-ogournet@corp.free.fr> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix socket field initialization 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: Tue, 07 Nov 2017 10:08:41 -0000 On Tue, Nov 07, 2017 at 10:59:37AM +0100, Olivier Gournet wrote: > Fixes: a1366b1a2be (net/mlx5: add reference counter on DPDK Rx queues) > > Signed-off-by: Olivier Gournet > --- > drivers/net/mlx5/mlx5_rxq.c | 1 + > drivers/net/mlx5/mlx5_txq.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c > index a1f382b..53bb423 100644 > --- a/drivers/net/mlx5/mlx5_rxq.c > +++ b/drivers/net/mlx5/mlx5_rxq.c > @@ -894,6 +894,7 @@ mlx5_priv_rxq_new(struct priv *priv, uint16_t idx, uint16_t desc, > 0, socket); > if (!tmpl) > return NULL; > + tmpl->socket = socket; > if (priv->dev->data->dev_conf.intr_conf.rxq) > tmpl->irq = 1; > /* Enable scattered packets support for this queue if necessary. */ > diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c > index fbb2630..9c5860f 100644 > --- a/drivers/net/mlx5/mlx5_txq.c > +++ b/drivers/net/mlx5/mlx5_txq.c > @@ -580,6 +580,7 @@ mlx5_priv_txq_new(struct priv *priv, uint16_t idx, uint16_t desc, > assert(desc > MLX5_TX_COMP_THRESH); > tmpl->txq.flags = conf->txq_flags; > tmpl->priv = priv; > + tmpl->socket = socket; > tmpl->txq.elts_n = log2above(desc); > if (priv->mps == MLX5_MPW_ENHANCED) > tmpl->txq.mpw_hdr_dseg = priv->mpw_hdr_dseg; > -- > 2.1.4 Acked-by: Nelio Laranjeiro Thanks, -- Nélio Laranjeiro 6WIND