FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
ssvm_eth.h File Reference
+ Include dependency graph for ssvm_eth.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ssvm_eth_queue_elt_t
 
struct  ssvm_eth_main_t
 

Macros

#define SSVM_BUFFER_SIZE   (VLIB_BUFFER_DATA_SIZE + VLIB_BUFFER_PRE_DATA_SIZE)
 
#define SSVM_PACKET_TYPE   1
 
#define SSVM_BUFFER_NEXT_PRESENT   (1<<0)
 

Enumerations

enum  ssvm_eth_opaque_index_t {
  CHUNK_POOL_FREELIST_INDEX = 0, CHUNK_POOL_INDEX, CHUNK_POOL_NFREE, TO_MASTER_Q_INDEX,
  TO_SLAVE_Q_INDEX, MASTER_ADMIN_STATE_INDEX, SLAVE_ADMIN_STATE_INDEX
}
 

Functions

static void ssvm_eth_validate_freelists (int need_lock)
 

Variables

vnet_device_class_t ssvm_eth_device_class
 
vlib_node_registration_t ssvm_eth_input_node
 (constructor) VLIB_REGISTER_NODE (ssvm_eth_input_node) More...
 
ssvm_eth_main_t ssvm_eth_main
 

Macro Definition Documentation

#define SSVM_BUFFER_NEXT_PRESENT   (1<<0)

Definition at line 47 of file ssvm_eth.h.

#define SSVM_BUFFER_SIZE   (VLIB_BUFFER_DATA_SIZE + VLIB_BUFFER_PRE_DATA_SIZE)

Definition at line 38 of file ssvm_eth.h.

#define SSVM_PACKET_TYPE   1

Definition at line 40 of file ssvm_eth.h.

Enumeration Type Documentation

Enumerator
CHUNK_POOL_FREELIST_INDEX 
CHUNK_POOL_INDEX 
CHUNK_POOL_NFREE 
TO_MASTER_Q_INDEX 
TO_SLAVE_Q_INDEX 
MASTER_ADMIN_STATE_INDEX 
SLAVE_ADMIN_STATE_INDEX 

Definition at line 87 of file ssvm_eth.h.

Function Documentation

static void ssvm_eth_validate_freelists ( int  need_lock)
inlinestatic

Definition at line 102 of file ssvm_eth.h.

+ Here is the call graph for this function:

Variable Documentation

vnet_device_class_t ssvm_eth_device_class
vlib_node_registration_t ssvm_eth_input_node

(constructor) VLIB_REGISTER_NODE (ssvm_eth_input_node)

Definition at line 17 of file node.c.

ssvm_eth_main_t ssvm_eth_main

Definition at line 85 of file ssvm_eth.h.