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
Hi Parav, Thanks for the answer. There are more than two hundred CPUs on our machine, we're planning to put SFs into the containers, This may requires allocate one SF per CPU,so we want to know the upper limit of creating SFs. By the way, the latest version of the MFT download center is 4.16.1-9,