FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
virtio.c File Reference
+ Include dependency graph for virtio.c:

Go to the source code of this file.

Functions

static clib_error_tcall_read_ready (clib_file_t *uf)
 
clib_error_tvirtio_vring_init (vlib_main_t *vm, virtio_if_t *vif, u16 idx, u16 sz)
 
void virtio_free_rx_buffers (vlib_main_t *vm, virtio_vring_t *vring)
 
clib_error_tvirtio_vring_free_rx (vlib_main_t *vm, virtio_if_t *vif, u32 idx)
 
void virtio_free_used_desc (vlib_main_t *vm, virtio_vring_t *vring)
 
clib_error_tvirtio_vring_free_tx (vlib_main_t *vm, virtio_if_t *vif, u32 idx)
 
void virtio_vring_set_numa_node (vlib_main_t *vm, virtio_if_t *vif, u32 idx)
 
void virtio_set_net_hdr_size (virtio_if_t *vif)
 
void virtio_show (vlib_main_t *vm, u32 *hw_if_indices, u8 show_descr, u32 type)
 

Variables

virtio_main_t virtio_main
 

Function Documentation

static clib_error_t* call_read_ready ( clib_file_t uf)
static

Definition at line 47 of file virtio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void virtio_free_rx_buffers ( vlib_main_t vm,
virtio_vring_t vring 
)
inline

Definition at line 155 of file virtio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void virtio_free_used_desc ( vlib_main_t vm,
virtio_vring_t vring 
)
inline

Definition at line 192 of file virtio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void virtio_set_net_hdr_size ( virtio_if_t vif)
inline

Definition at line 257 of file virtio.c.

+ Here is the caller graph for this function:

void virtio_show ( vlib_main_t vm,
u32 hw_if_indices,
u8  show_descr,
u32  type 
)
inline

Definition at line 267 of file virtio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* virtio_vring_free_rx ( vlib_main_t vm,
virtio_if_t vif,
u32  idx 
)

Definition at line 170 of file virtio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* virtio_vring_free_tx ( vlib_main_t vm,
virtio_if_t vif,
u32  idx 
)

Definition at line 218 of file virtio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* virtio_vring_init ( vlib_main_t vm,
virtio_if_t vif,
u16  idx,
u16  sz 
)

Definition at line 65 of file virtio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void virtio_vring_set_numa_node ( vlib_main_t vm,
virtio_if_t vif,
u32  idx 
)

Definition at line 241 of file virtio.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

virtio_main_t virtio_main

Definition at line 37 of file virtio.c.