mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
561a16366e
There is no caller and implementation in tree. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Message-Id: <20240819140930.122019-1-yuehaibing@huawei.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Zhu Lingshan <lingshan.zhu@kernel.org> Reviewed-by: Shannon Nelson <<a href="mailto:shannon.nelson@amd.com" target="_blank">shannon.nelson@amd.com</a>><br> Reviewed-by: Zhu Lingshan <lingshan.zhu@kernel.org>
18 lines
729 B
C
18 lines
729 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* Copyright(c) 2023 Advanced Micro Devices, Inc */
|
|
|
|
#ifndef _VDPA_CMDS_H_
|
|
#define _VDPA_CMDS_H_
|
|
|
|
int pds_vdpa_init_hw(struct pds_vdpa_device *pdsv);
|
|
|
|
int pds_vdpa_cmd_reset(struct pds_vdpa_device *pdsv);
|
|
int pds_vdpa_cmd_set_status(struct pds_vdpa_device *pdsv, u8 status);
|
|
int pds_vdpa_cmd_set_mac(struct pds_vdpa_device *pdsv, u8 *mac);
|
|
int pds_vdpa_cmd_set_max_vq_pairs(struct pds_vdpa_device *pdsv, u16 max_vqp);
|
|
int pds_vdpa_cmd_init_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx,
|
|
struct pds_vdpa_vq_info *vq_info);
|
|
int pds_vdpa_cmd_reset_vq(struct pds_vdpa_device *pdsv, u16 qid, u16 invert_idx,
|
|
struct pds_vdpa_vq_info *vq_info);
|
|
#endif /* _VDPA_CMDS_H_ */
|