[dpdk-dev] [PATCH 1/1] net/mlx4: add port parameter

Gaëtan Rivet gaetan.rivet at 6wind.com
Mon Mar 27 17:46:08 CEST 2017


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 <gaetan.rivet at 6wind.com>
>
>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


More information about the dev mailing list