Home
last modified time | relevance | path

Searched hist:"246 fd1caf0f4424a79fd7cb0a5fe69103ea7995b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.cdiff 246fd1caf0f4424a79fd7cb0a5fe69103ea7995b Thu Sep 09 07:36:33 CDT 2021 Eli Cohen <elic@nvidia.com> vdpa/mlx5: Remove mtu field from vdpa net device

No need to save the mtu int the net device struct. We can save it in the
config struct which cannot be modified.

Moreover, move the initialization to. mlx5_vdpa_set_features() callback
is not the right place to put it.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20210909123635.30884-2-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>