FD.io VPP  v19.04.2-12-g66b1689
Vector Packet Processing
virtio_if_t Struct Reference
+ Collaboration diagram for virtio_if_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

u32 flags
 
u32 dev_instance
 
u32 hw_if_index
 
u32 sw_if_index
 
u32 numa_node
 
u16 virtio_net_hdr_sz
 
virtio_if_type_t type
 
union {
   u32   id
 
   pci_addr_t   pci_addr
 
}; 
 
u32 per_interface_next_index
 
union {
   int   fd
 
   u32   msix_enabled
 
}; 
 
union {
   int   tap_fd
 
   u32   pci_dev_handle
 
}; 
 
virtio_vring_trxq_vrings
 
virtio_vring_ttxq_vrings
 
u64 features
 
u64 remote_features
 
clib_error_terror
 
u8 support_int_mode
 
u16 max_queue_pairs
 
u16 num_rxqs
 
u16 num_txqs
 
u8 status
 
u8 mac_addr [6]
 
u8host_if_name
 
u8net_ns
 
u8host_bridge
 
u8 host_mac_addr [6]
 
ip4_address_t host_ip4_addr
 
u8 host_ip4_prefix_len
 
ip6_address_t host_ip6_addr
 
u8 host_ip6_prefix_len
 
int gso_enabled
 
int ifindex
 
virtio_vring_tcxq_vring
 

Detailed Description

Definition at line 134 of file virtio.h.

Member Function Documentation

virtio_if_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

union { ... }
union { ... }
union { ... }
virtio_vring_t* virtio_if_t::cxq_vring

Definition at line 183 of file virtio.h.

u32 virtio_if_t::dev_instance

Definition at line 139 of file virtio.h.

clib_error_t* virtio_if_t::error

Definition at line 166 of file virtio.h.

int virtio_if_t::fd

Definition at line 153 of file virtio.h.

u64 virtio_if_t::features

Definition at line 163 of file virtio.h.

u32 virtio_if_t::flags

Definition at line 137 of file virtio.h.

int virtio_if_t::gso_enabled

Definition at line 181 of file virtio.h.

u8* virtio_if_t::host_bridge

Definition at line 175 of file virtio.h.

u8* virtio_if_t::host_if_name

Definition at line 173 of file virtio.h.

ip4_address_t virtio_if_t::host_ip4_addr

Definition at line 177 of file virtio.h.

u8 virtio_if_t::host_ip4_prefix_len

Definition at line 178 of file virtio.h.

ip6_address_t virtio_if_t::host_ip6_addr

Definition at line 179 of file virtio.h.

u8 virtio_if_t::host_ip6_prefix_len

Definition at line 180 of file virtio.h.

u8 virtio_if_t::host_mac_addr[6]

Definition at line 176 of file virtio.h.

u32 virtio_if_t::hw_if_index

Definition at line 140 of file virtio.h.

u32 virtio_if_t::id

Definition at line 147 of file virtio.h.

int virtio_if_t::ifindex

Definition at line 182 of file virtio.h.

u8 virtio_if_t::mac_addr[6]

Definition at line 172 of file virtio.h.

u16 virtio_if_t::max_queue_pairs

Definition at line 168 of file virtio.h.

u32 virtio_if_t::msix_enabled

Definition at line 154 of file virtio.h.

u8* virtio_if_t::net_ns

Definition at line 174 of file virtio.h.

u16 virtio_if_t::num_rxqs

Definition at line 169 of file virtio.h.

u16 virtio_if_t::num_txqs

Definition at line 170 of file virtio.h.

u32 virtio_if_t::numa_node

Definition at line 142 of file virtio.h.

pci_addr_t virtio_if_t::pci_addr

Definition at line 148 of file virtio.h.

u32 virtio_if_t::pci_dev_handle

Definition at line 159 of file virtio.h.

u32 virtio_if_t::per_interface_next_index

Definition at line 150 of file virtio.h.

u64 virtio_if_t::remote_features

Definition at line 163 of file virtio.h.

virtio_vring_t* virtio_if_t::rxq_vrings

Definition at line 161 of file virtio.h.

u8 virtio_if_t::status

Definition at line 171 of file virtio.h.

u8 virtio_if_t::support_int_mode

Definition at line 167 of file virtio.h.

u32 virtio_if_t::sw_if_index

Definition at line 141 of file virtio.h.

int virtio_if_t::tap_fd

Definition at line 158 of file virtio.h.

virtio_vring_t* virtio_if_t::txq_vrings

Definition at line 162 of file virtio.h.

virtio_if_type_t virtio_if_t::type

Definition at line 144 of file virtio.h.

u16 virtio_if_t::virtio_net_hdr_sz

Definition at line 143 of file virtio.h.


The documentation for this struct was generated from the following file: