On Thu, Jul 12, 2018 at 9:08 PM, Roy Shterman <roys@xxxxxxxxxxxxxxxxx> wrote: > Hi, Just saw you were not explicitly cc'ed on this email. Hi Roy, Nope -- it was your email that didn't get to the list.. I don't see it in my inbox nor it is in the archive [1], so none of the non-direct recipients got it [1] https://marc.info/?t=152949137200002&r=1&w=2 anyway, > Begin forwarded message: > From: Roy Shterman <roys@xxxxxxxxxxxxxxxxx> > Date: 20 June 2018 at 23:47:12 GMT+3 > To: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: Sagi Grimberg <sagi@xxxxxxxxxxx>, "linux-rdma@xxxxxxxxxxxxxxx" > <linux-rdma@xxxxxxxxxxxxxxx>, Leon Romanovsky <leon@xxxxxxxxxx>, Saeed > Mahameed <saeedm@xxxxxxxxxxxx>, Stable <stable@xxxxxxxxxxxxxxx> > Subject: Re: cx4 sriov problem in stable 4.14.47 > > Hey, > > It seems that configuring CONFIG_MLX5_ESWITCH solved the problem. > > Dependency between MLX5_ESWITCH and NET_SWITCHDEV was added in commit below > (stable-kernel 4.14.44): > > net/mlx5: Make eswitch support to depend on switchdev > > [ Upstream commit f125376b06bcc57dfb0216ac8d6ec6d5dcf81025 ] > > Add dependancy for switchdev to be congfigured as any user-space control > plane SW is expected to use the HW switchdev ID to locate the > representors > related to VFs of a certain PF and apply SW/offloaded switching on them. > > Fixes: e80541ecabd5 ('net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig') > Signed-off-by: Or Gerlitz <ogerlitz@xxxxxxxxxxxx> > Reviewed-by: Mark Bloch <markb@xxxxxxxxxxxx> > Signed-off-by: Saeed Mahameed <saeedm@xxxxxxxxxxxx> > Signed-off-by: Sasha Levin <alexander.levin@xxxxxxxxxxxxx> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > > Seems that SRIOV on ConnectX4 cannot work with stable-kernel 4.14.47 without > configuring NET_SWITCHDEV. yeah, sometimes you can't make everyone happy, without adding this dep, someone could have attempted to enable the sriov switchdev mode and not get clear indication that something is missing, so we opted to add the dep. > Thanks for all the help, sure, and please consider to use the switchdev mode for your use-case, the upstream OVS (version 2.7) and higher can get you e-switch HW offloading for mlx5 SRIOV VF traffic. Or. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html