RE: mlx5 sub function issue

2021-03-10 Thread Parav Pandit
Hi Ze wang, > From: ze wang > Sent: Wednesday, March 10, 2021 2:59 PM > > Hi Parav, > Thanks for your help. I did enabled VFs, and after turning off SR-IOV, > it > works. Happy to hear that. > Now the each PF can create 255 SFs, which is probably enough for us. > Is it convenient > to re

Re: mlx5 sub function issue

2021-03-10 Thread ze wang
Hi Parav, Thanks for your help. I did enabled VFs, and after turning off SR-IOV, it works. Now the each PF can create 255 SFs, which is probably enough for us. Is it convenient to reveal how many SFs can be created at most? Ze Wang Parav Pandit 于2021年3月9日周二 下午8:36写道: > > Hi Ze Wang, > > >

RE: mlx5 sub function issue

2021-03-09 Thread Parav Pandit
Hi Ze Wang, > From: ze wang > Sent: Tuesday, March 9, 2021 8:34 AM > > Hi David, > I can see that the variable settings are in effect: > # mlxconfig -d b3:00.0 s PF_BAR2_ENABLE=0 PER_PF_NUM_SF=1 > PF_SF_BAR_SIZE=8 # mlxconfig -d b3:00.0 s PER_PF_NUM_SF=1 > PF_TOTAL_SF=192 PF_SF_BAR_SIZE=8

RE: mlx5 sub function issue

2021-03-09 Thread Parav Pandit
Hi David, > From: David Ahern > Sent: Monday, March 8, 2021 9:18 PM > > On 3/8/21 12:21 AM, ze wang wrote: > > mlxconfig tool from mft tools version 4.16.52 or higher to set number of SF. > > > > mlxconfig -d b3:00.0 PF_BAR2_ENABLE=0 PER_PF_NUM_SF=1 > > PF_SF_BAR_SIZE=8 mlxconfig -d b3:00.0 PE

Re: mlx5 sub function issue

2021-03-08 Thread ze wang
Hi David, I can see that the variable settings are in effect: # mlxconfig -d b3:00.0 s PF_BAR2_ENABLE=0 PER_PF_NUM_SF=1 PF_SF_BAR_SIZE=8 # mlxconfig -d b3:00.0 s PER_PF_NUM_SF=1 PF_TOTAL_SF=192 PF_SF_BAR_SIZE=8 # mlxconfig -d b3:00.1 s PER_PF_NUM_SF=1 PF_TOTAL_SF=192 PF_SF_BAR_SIZE=8 after c

Re: mlx5 sub function issue

2021-03-08 Thread David Ahern
On 3/8/21 12:21 AM, ze wang wrote: > mlxconfig tool from mft tools version 4.16.52 or higher to set number of SF. > > mlxconfig -d b3:00.0 PF_BAR2_ENABLE=0 PER_PF_NUM_SF=1 PF_SF_BAR_SIZE=8 > mlxconfig -d b3:00.0 PER_PF_NUM_SF=1 PF_TOTAL_SF=192 PF_SF_BAR_SIZE=8 > mlxconfig -d b3:00.1 PER_PF_NUM_

Re: mlx5 sub function issue

2021-03-07 Thread ze wang
t; mlxconfig -d b3:00.0 PER_PF_NUM_SF=1 PF_TOTAL_SF=192 PF_SF_BAR_SIZE=8 > mlxconfig -d b3:00.1 PER_PF_NUM_SF=1 PF_TOTAL_SF=192 PF_SF_BAR_SIZE=8 > > Cold reboot power cycle of the system as this changes the BAR size in device > > > > Parav > > > > From: ze wang > Sent: Mon

mlx5 sub function issue

2021-03-07 Thread avis.wang
Hi all,   I have some confusion with mlx5 sub function feature. I tested it with Mellanox ConnectX-6 Dx recently, then I found the maximum amount of SF in each PF is just 128, I‘m not sure if there is a problem with my configuration, or there are some limits of SF in ConnectX-6. Here is the