search for: err_mtu

Displaying 3 results from an estimated 3 matches for "err_mtu".

Did you mean: err_mem
2020 Aug 10
0
[PATCH] vdpa/mlx5: fix up endian-ness for mtu
...-1925,7 +1935,7 @@ void *mlx5_vdpa_add_dev(struct mlx5_core_dev *mdev) init_mvqs(ndev); mutex_init(&ndev->reslock); config = &ndev->config; - err = mlx5_query_nic_vport_mtu(mdev, &config->mtu); + err = mlx5_query_nic_vport_mtu(mdev, &ndev->mtu); if (err) goto err_mtu; -- MST
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...ndev->mvdev.max_vqs = max_vqs; > + mvdev = &ndev->mvdev; > + mvdev->mdev = mdev; > + init_mvqs(ndev); > + mutex_init(&ndev->reslock); > + config = &ndev->config; > + err = mlx5_query_nic_vport_mtu(mdev, &config->mtu); > + if (err) > + goto err_mtu; > + > + err = mlx5_query_nic_vport_mac_address(mdev, 0, 0, config->mac); > + if (err) > + goto err_mtu; > + > + mvdev->vdev.dma_dev = mdev->device; > + err = mlx5_vdpa_alloc_resources(&ndev->mvdev); > + if (err) > + goto err_mtu; > + > + err = all...
2020 Nov 01
12
[PATCH mlx5-next v1 00/11] Convert mlx5 to use auxiliary bus
From: Leon Romanovsky <leonro at nvidia.com> Changelog: v1: * Renamed _mlx5_rescan_driver to be mlx5_rescan_driver_locked like in other parts of the mlx5 driver. * Renamed MLX5_INTERFACE_PROTOCOL_VDPA to tbe MLX5_INTERFACE_PROTOCOL_VNET as a preparation to coming series from Eli C. * Some small naming renames in mlx5_vdpa. * Refactored adev index code to make Parav's SF series