From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 1/1] net/mlx4: add port parameter Date: Mon, 27 Mar 2017 16:08:51 +0100 Message-ID: <4b91170d-4696-5207-50ba-4d7e0d10b023@intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Adrien Mazarguil , Nelio Laranjeiro To: Gaetan Rivet , dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 01A90FB16 for ; Mon, 27 Mar 2017 17:08:54 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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? 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;