#include <linux/mlx5/driver.h>
#include <linux/mlx5/device.h>
#include <linux/mlx5/eswitch.h>
#include "mlx5_core.h"
#include "dev.h"
#include "devlink.h"
static int mlx5_core_peer_devlink_set(struct mlx5_sf_dev *sf_dev, struct devlink *devlink)
{ … }
static int mlx5_sf_dev_probe(struct auxiliary_device *adev, const struct auxiliary_device_id *id)
{ … }
static void mlx5_sf_dev_remove(struct auxiliary_device *adev)
{ … }
static void mlx5_sf_dev_shutdown(struct auxiliary_device *adev)
{ … }
static const struct auxiliary_device_id mlx5_sf_dev_id_table[] = …;
MODULE_DEVICE_TABLE(auxiliary, mlx5_sf_dev_id_table);
static struct auxiliary_driver mlx5_sf_driver = …;
int mlx5_sf_driver_register(void)
{ … }
void mlx5_sf_driver_unregister(void)
{ … }