linux/drivers/vdpa/ifcvf/ifcvf_base.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Intel IFC VF NIC driver for virtio dataplane offloading
 *
 * Copyright (C) 2020 Intel Corporation.
 *
 * Author: Zhu Lingshan <[email protected]>
 *
 */

#include "ifcvf_base.h"

u16 ifcvf_set_vq_vector(struct ifcvf_hw *hw, u16 qid, int vector)
{}

u16 ifcvf_set_config_vector(struct ifcvf_hw *hw, int vector)
{}

static void __iomem *get_cap_addr(struct ifcvf_hw *hw,
				  struct virtio_pci_cap *cap)
{}

static int ifcvf_read_config_range(struct pci_dev *dev,
				   uint32_t *val, int size, int where)
{}

u16 ifcvf_get_vq_size(struct ifcvf_hw *hw, u16 qid)
{}

u16 ifcvf_get_max_vq_size(struct ifcvf_hw *hw)
{}

int ifcvf_init_hw(struct ifcvf_hw *hw, struct pci_dev *pdev)
{}

u8 ifcvf_get_status(struct ifcvf_hw *hw)
{}

void ifcvf_set_status(struct ifcvf_hw *hw, u8 status)
{}

void ifcvf_reset(struct ifcvf_hw *hw)
{}

u64 ifcvf_get_hw_features(struct ifcvf_hw *hw)
{}

/* return provisioned vDPA dev features */
u64 ifcvf_get_dev_features(struct ifcvf_hw *hw)
{}

u64 ifcvf_get_driver_features(struct ifcvf_hw *hw)
{}

int ifcvf_verify_min_features(struct ifcvf_hw *hw, u64 features)
{}

u32 ifcvf_get_config_size(struct ifcvf_hw *hw)
{}

void ifcvf_read_dev_config(struct ifcvf_hw *hw, u64 offset,
			   void *dst, int length)
{}

void ifcvf_write_dev_config(struct ifcvf_hw *hw, u64 offset,
			    const void *src, int length)
{}

void ifcvf_set_driver_features(struct ifcvf_hw *hw, u64 features)
{}

u16 ifcvf_get_vq_state(struct ifcvf_hw *hw, u16 qid)
{}

int ifcvf_set_vq_state(struct ifcvf_hw *hw, u16 qid, u16 num)
{}

void ifcvf_set_vq_num(struct ifcvf_hw *hw, u16 qid, u32 num)
{}

int ifcvf_set_vq_address(struct ifcvf_hw *hw, u16 qid, u64 desc_area,
			 u64 driver_area, u64 device_area)
{}

bool ifcvf_get_vq_ready(struct ifcvf_hw *hw, u16 qid)
{}

void ifcvf_set_vq_ready(struct ifcvf_hw *hw, u16 qid, bool ready)
{}

static void ifcvf_reset_vring(struct ifcvf_hw *hw)
{}

static void ifcvf_reset_config_handler(struct ifcvf_hw *hw)
{}

static void ifcvf_synchronize_irq(struct ifcvf_hw *hw)
{}

void ifcvf_stop(struct ifcvf_hw *hw)
{}

void ifcvf_notify_queue(struct ifcvf_hw *hw, u16 qid)
{}