vsiienko
> ; Matan Azrad
> Subject: [dpdk-dev] [PATCH 2/2] net/mlx5: avoid unbind step to enable
> switchdev mode
>
> From: Jan Viktorin
>
> The step 4 is a contradiction. It advices to unbind the device from the
> mlx5_core which removes the associated system network i
On Mon, 15 Mar 2021 19:52:46 +
Slava Ovsiienko wrote:
> Hi, Jan
>
> > -Original Message-
> > From: Jan Viktorin
> > Sent: Monday, March 15, 2021 21:49
> > To: Slava Ovsiienko
> > Cc: dev@dpdk.org; Asaf Penso ; Shahaf Shuler
> > ; Matan Azrad
> > Subject: Re: [PATCH 2/2] net/mlx5:
Hi, Jan
> -Original Message-
> From: Jan Viktorin
> Sent: Monday, March 15, 2021 21:49
> To: Slava Ovsiienko
> Cc: dev@dpdk.org; Asaf Penso ; Shahaf Shuler
> ; Matan Azrad
> Subject: Re: [PATCH 2/2] net/mlx5: avoid unbind step to enable switchdev
> mode
>
> On Mon, 15 Mar 2021 19:31:25
On Mon, 15 Mar 2021 19:31:25 +
Slava Ovsiienko wrote:
> Hi, Jan
Hello Salva,
I am sorry, but I didn't get the point of your response. For me, there
was 1 PF :05:00.1, SRIOV disabled. So, I followed the guide [1].
1. Enable SRIOV via mlxconfig. Done.
2. Configure max number of VFs. Don
Hi, Jan
1. Let's suppose we have the one port NIC, PCI BDF 08:00.0, SR-IOV enabled, 0
VFs is configured,
netdev name is ens1f0 (depends on distro and kernel version).
2. Then, we configure 3 VFs with SR-IOV, we get :
- 08:00.0 - PF, ens1f0
- 08:00.1 - VF0, ens1f1
- 08:00.2 - VF1, ens1f2
- 08:00
From: Jan Viktorin
The step 4 is a contradiction. It advices to unbind the device from the
mlx5_core which removes the associated system network interface (e.g.
eth0). In the step 5, the same system network interface (e.g. eth0) is
required to exist.
Signed-off-by: Jan Viktorin
---
doc/guides/
Hello Salva,
On Mon, 15 Mar 2021 15:53:51 +
Slava Ovsiienko wrote:
> Hi, Jan
>
> Yes, bullet [4] explicitly requires to unbind VFs, and detach the netdevs
> from the mlx5_core driver.
> Otherwise, kernel driver refuses to be configured with switchdev mode in [5].
> So, [4] can't be skippe
Hi, Jan
Yes, bullet [4] explicitly requires to unbind VFs, and detach the netdevs from
the mlx5_core driver.
Otherwise, kernel driver refuses to be configured with switchdev mode in [5].
So, [4] can't be skipped.
After setting swithdev mode, VFs can be bound back (if it is needed, and these
one
8 matches
Mail list logo