From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP; 27 Mar 2017 08:08:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,232,1486454400"; d="scan'208";a="81459526" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.122]) ([10.237.220.122]) by fmsmga006.fm.intel.com with ESMTP; 27 Mar 2017 08:08:52 -0700 To: Gaetan Rivet , dev@dpdk.org References: Cc: Adrien Mazarguil , Nelio Laranjeiro From: Ferruh Yigit Message-ID: <4b91170d-4696-5207-50ba-4d7e0d10b023@intel.com> Date: Mon, 27 Mar 2017 16:08:51 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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:08:55 -0000 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;