search for: mlx5_interface

Displaying 2 results from an estimated 2 matches for "mlx5_interface".

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 to apply more easily. * Fixed devlink reload bug that caused to lost TCP connection. v0: https:/...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...v); > + if (IS_ERR(vdev)) > + return NULL; > + > + return vdev; > +} > + > +static void mlx5_vdpa_remove(struct mlx5_core_dev *mdev, void *context) > +{ > + struct mlx5_vdpa_dev *vdev = context; > + > + mlx5_vdpa_remove_dev(vdev); > +} > + > +static struct mlx5_interface mlx5_vdpa_interface = { > + .add = mlx5_vdpa_add, > + .remove = mlx5_vdpa_remove, > + .protocol = MLX5_INTERFACE_PROTOCOL_VDPA, > +}; > + > +static int __init mlx5_vdpa_init(void) > +{ > + return mlx5_register_interface(&mlx5_vdpa_interface); > +} > + > +static...