1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2023 Advanced Micro Devices, Inc */
7 int pds_vdpa_init_hw(struct pds_vdpa_device
*pdsv
);
9 int pds_vdpa_cmd_reset(struct pds_vdpa_device
*pdsv
);
10 int pds_vdpa_cmd_set_status(struct pds_vdpa_device
*pdsv
, u8 status
);
11 int pds_vdpa_cmd_set_mac(struct pds_vdpa_device
*pdsv
, u8
*mac
);
12 int pds_vdpa_cmd_set_max_vq_pairs(struct pds_vdpa_device
*pdsv
, u16 max_vqp
);
13 int pds_vdpa_cmd_init_vq(struct pds_vdpa_device
*pdsv
, u16 qid
, u16 invert_idx
,
14 struct pds_vdpa_vq_info
*vq_info
);
15 int pds_vdpa_cmd_reset_vq(struct pds_vdpa_device
*pdsv
, u16 qid
, u16 invert_idx
,
16 struct pds_vdpa_vq_info
*vq_info
);
17 #endif /* _VDPA_CMDS_H_ */