NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
doca_devemu_virtio_io.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES, ALL RIGHTS RESERVED.
3  *
4  * This software product is a proprietary product of NVIDIA CORPORATION &
5  * AFFILIATES (the "Company") and all right, title, and interest in and to the
6  * software product, including all associated intellectual property rights, are
7  * and shall remain exclusively with the Company.
8  *
9  * This software product is governed by the End User License Agreement
10  * provided with the software product.
11  *
12  */
13 
25 #ifndef DOCA_DEVEMU_VIRTIO_IO_H_
26 #define DOCA_DEVEMU_VIRTIO_IO_H_
27 
28 #include <stdint.h>
29 
30 #include <doca_error.h>
31 #include <doca_dev.h>
32 #include <doca_devemu_pci.h>
33 #include <doca_devemu_virtio.h>
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 /*********************************************************************************************************************
40  * DOCA devemu Virtio IO context API
41  *********************************************************************************************************************/
42 
53 struct doca_ctx *doca_devemu_virtio_io_as_ctx(struct doca_devemu_virtio_io *io);
54 
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
62 #endif /* DOCA_DEVEMU_VIRTIO_IO_H_ */
#define DOCA_EXPERIMENTAL
To set a Symbol (or specifically a function) as experimental.
Definition: doca_compat.h:103
DOCA_EXPERIMENTAL struct doca_ctx * doca_devemu_virtio_io_as_ctx(struct doca_devemu_virtio_io *io)
Convert DOCA Virtio device IO context instance into doca context.