DPDK
26.11.0
drivers
net
vhost
rte_eth_vhost.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2016 IGEL Co., Ltd.
3
* Copyright(c) 2016-2018 Intel Corporation
4
*/
5
#ifndef _RTE_ETH_VHOST_H_
6
#define _RTE_ETH_VHOST_H_
7
8
#include <stdint.h>
9
#include <stdbool.h>
10
11
#include <
rte_vhost.h
>
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
/*
18
* Event description.
19
*/
20
struct
rte_eth_vhost_queue_event {
21
uint16_t queue_id;
22
bool
rx;
23
bool
enable;
24
};
25
43
int
rte_eth_vhost_get_queue_event(uint16_t port_id,
44
struct
rte_eth_vhost_queue_event *event);
45
53
int
rte_eth_vhost_get_vid_from_port_id(uint16_t port_id);
54
55
#ifdef __cplusplus
56
}
57
#endif
58
59
#endif
rte_vhost.h
Generated by
1.9.4