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

Ferruh Yigit ferruh.yigit at intel.com
Mon Mar 27 17:08:51 CEST 2017


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?

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;


More information about the dev mailing list