From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f172.google.com (mail-wr0-f172.google.com [209.85.128.172]) by dpdk.org (Postfix) with ESMTP id 5ABB92BE1 for ; Mon, 27 Mar 2017 17:46:17 +0200 (CEST) Received: by mail-wr0-f172.google.com with SMTP id l43so62631342wre.1 for ; Mon, 27 Mar 2017 08:46:17 -0700 (PDT) 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=VIhGG8Hu0+LcA8eNcCrbRzAPXK/5voQPY+V/m9b+nQw=; b=EWdEXYL84NXGIxP0aRertGhVGXCwdlK0knGcX+G3e5tFklgytw+/71PPQjnGLSDF3R wfc2PFLPLypKaIfBM+abLA7yXuIquID0q3ddeoedQiAzgyrDfuRjJYiutqLkOP/oOupl zIeqiEtCPh2Ph0eq8YvL9NvX8OHUddeildMthwIDbZlEqIZDlkA9xUlpKx+zwDiitjF2 nI4/lslE+1PDxzgRNlcFDqLCzJSf4cw7o2B3/wQb9Jmm8LV0cME739xIespojGbPhPGP i2U3N6p5m7ZNrdIUeIzzxtU9XZVh8RE0uRkn1DbBp0/uFIm9M6T0HuLZHI3gXEdRKqNM 9hhQ== 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=VIhGG8Hu0+LcA8eNcCrbRzAPXK/5voQPY+V/m9b+nQw=; b=GYR6tOVGoSIPfMCOFRJB0O1ziY9XdR8ATSnhIu0kNjixx1ANh1KllNDbk1PSJ0aS3k neRtASJ9T0yvBF8ylkGOBkfdOMUBibEKRcLJDlwY9fhzmgc9Yld/9ULwgzFC+eg2C9gI tIfdaYgxOMJgzuSNhcbLDmTuCf/5zDoJJ6IuHqd70OCsWbM3pauaRR+Gb268k1uXw1GH J90olyKwd+gK5qXEW9VdnpQJmzk5PJ3XuMo/LrQVZTah1oU68ZMzi4hwEht3/A4AcWAf BzoNd7sLW61K8B1fyfgpZAgVp9UMhqOlHhFerQK5OepqWpM8eif0QhQKS3tn6xhGvbc9 GIoQ== X-Gm-Message-State: AFeK/H3ACI4g6VMIRMIVhEamZkVR4P0y4kRF4Uj+ZJZDPiPWH+x6ad8Pn+Se72YgcHl8NjLC X-Received: by 10.28.5.8 with SMTP id 8mr9796996wmf.70.1490629577067; Mon, 27 Mar 2017 08:46:17 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id q135sm1375038wmd.8.2017.03.27.08.46.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2017 08:46:16 -0700 (PDT) Date: Mon, 27 Mar 2017 17:46:08 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: Ferruh Yigit Cc: dev@dpdk.org, Adrien Mazarguil , Nelio Laranjeiro Message-ID: <20170327154608.GJ2956@bidouze.vm.6wind.com> References: <4b91170d-4696-5207-50ba-4d7e0d10b023@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4b91170d-4696-5207-50ba-4d7e0d10b023@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH 1/1] net/mlx4: add port parameter 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: Mon, 27 Mar 2017 15:46:17 -0000 Hi Ferruh, On Mon, Mar 27, 2017 at 04:08:51PM +0100, Ferruh Yigit wrote: >On 3/3/2017 3:40 PM, Gaetan Rivet wrote: >> Most ConnectX-3 adapters expose two physical ports on a single PCI bus >> address. >> >> Add a new port parameter allowing the user to choose >> either or both physical ports to be used by the application. >> >> This parameter is used as follows: >> >> Selecting only the second port: >> -w 00:00.0,port=1 >> >> Selecting both ports: >> -w 00:00.0,port=0,port=1 >> >> If no parameter is given, the default behavior is unchanged: all ports >> are probed. >> >> Signed-off-by: Gaetan Rivet > >Hi Gaetan, > >Getting following checkpatch warning [1], can you please address it? > Sure, here it is: http://dpdk.org/ml/archives/dev/2017-March/061582.html Sorry for that, I was checking it with an older checkpatch.pl. >Thanks, >ferruh > >[1] >WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' >#156: FILE: drivers/net/mlx4/mlx4.c:5462: >+ unsigned arg_count; -- Gaëtan Rivet 6WIND