linux/drivers/net/ethernet/mellanox/mlx5/core/lib/hv.c

// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
// Copyright (c) 2018 Mellanox Technologies

#include <linux/hyperv.h>
#include "mlx5_core.h"
#include "lib/hv.h"

static int mlx5_hv_config_common(struct mlx5_core_dev *dev, void *buf, int len,
				 int offset, bool read)
{}

int mlx5_hv_read_config(struct mlx5_core_dev *dev, void *buf, int len,
			int offset)
{}

int mlx5_hv_write_config(struct mlx5_core_dev *dev, void *buf, int len,
			 int offset)
{}

int mlx5_hv_register_invalidate(struct mlx5_core_dev *dev, void *context,
				void (*block_invalidate)(void *context,
							 u64 block_mask))
{}

void mlx5_hv_unregister_invalidate(struct mlx5_core_dev *dev)
{}