FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | virtchnl_vsi_resource_t |
struct | virtchnl_vf_resource_t |
struct | virtchnl_pf_event_t |
struct | virtchnl_version_info_t |
struct | avf_aq_desc_t |
struct | virtchnl_txq_info_t |
struct | virtchnl_rxq_info_t |
struct | virtchnl_queue_pair_info_t |
struct | virtchnl_vsi_queue_config_info_t |
struct | virtchnl_queue_select_t |
struct | virtchnl_vector_map_t |
struct | virtchnl_irq_map_info_t |
struct | virtchnl_ether_addr_t |
struct | virtchnl_ether_addr_list_t |
struct | virtchnl_eth_stats_t |
struct | virtchnl_rss_key_t |
struct | virtchnl_rss_lut_t |
struct | virtchnl_vf_res_request_t |
Macros | |
#define | VIRTCHNL_VERSION_MAJOR 1 |
#define | VIRTCHNL_VERSION_MINOR 1 |
#define | AVFINT_DYN_CTLN(x) (0x00003800 + (0x4 * x)) |
#define | AVFINT_ICR0 0x00004800 |
#define | AVFINT_ICR0_ENA1 0x00005000 |
#define | AVFINT_DYN_CTL0 0x00005C00 |
#define | AVF_ARQBAH 0x00006000 |
#define | AVF_ATQH 0x00006400 |
#define | AVF_ATQLEN 0x00006800 |
#define | AVF_ARQBAL 0x00006C00 |
#define | AVF_ARQT 0x00007000 |
#define | AVF_ARQH 0x00007400 |
#define | AVF_ATQBAH 0x00007800 |
#define | AVF_ATQBAL 0x00007C00 |
#define | AVF_ARQLEN 0x00008000 |
#define | AVF_ATQT 0x00008400 |
#define | AVFGEN_RSTAT 0x00008800 |
#define | AVF_QTX_TAIL(q) (0x00000000 + (0x4 * q)) |
#define | AVF_QRX_TAIL(q) (0x00002000 + (0x4 * q)) |
#define | AVF_AQ_F_DD (1 << 0) |
#define | AVF_AQ_F_CMP (1 << 1) |
#define | AVF_AQ_F_ERR (1 << 2) |
#define | AVF_AQ_F_VFE (1 << 3) |
#define | AVF_AQ_F_LB (1 << 9) |
#define | AVF_AQ_F_RD (1 << 10) |
#define | AVF_AQ_F_VFC (1 << 11) |
#define | AVF_AQ_F_BUF (1 << 12) |
#define | AVF_AQ_F_SI (1 << 13) |
#define | AVF_AQ_F_EI (1 << 14) |
#define | AVF_AQ_F_FE (1 << 15) |
#define | foreach_virtchnl_op |
#define | foreach_avf_vf_cap_flag |
#define | foreach_virtchnl_link_speed |
#define | foreach_virtchnl_eth_stats |
Enumerations | |
enum | virtchnl_ops_t { VIRTCHNL_N_OPS } |
enum | virtchnl_status_code_t { VIRTCHNL_STATUS_SUCCESS = 0, VIRTCHNL_STATUS_ERR_PARAM = -5, VIRTCHNL_STATUS_ERR_NO_MEMORY = -18, VIRTCHNL_STATUS_ERR_OPCODE_MISMATCH = -38, VIRTCHNL_STATUS_ERR_CQP_COMPL_ERROR = -39, VIRTCHNL_STATUS_ERR_INVALID_VF_ID = -40, VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR = -53, VIRTCHNL_STATUS_NOT_SUPPORTED = -64 } |
enum | avf_vf_cap_flag_t { foreach_avf_vf_cap_flag } |
enum | virtchnl_vsi_type_t { VIRTCHNL_VSI_TYPE_INVALID = 0, VIRTCHNL_VSI_SRIOV = 6 } |
enum | virtchnl_vfr_states_t { VIRTCHNL_VFR_INPROGRESS = 0, VIRTCHNL_VFR_COMPLETED, VIRTCHNL_VFR_VFACTIVE } |
enum | virtchnl_event_codes_t { VIRTCHNL_EVENT_UNKNOWN = 0, VIRTCHNL_EVENT_LINK_CHANGE, VIRTCHNL_EVENT_RESET_IMPENDING, VIRTCHNL_EVENT_PF_DRIVER_CLOSE } |
enum | virtchnl_link_speed_t { VIRTCHNL_LINK_SPEED_UNKNOWN = 0, foreach_virtchnl_link_speed } |
#define AVF_AQ_F_BUF (1 << 12) |
Definition at line 50 of file virtchnl.h.
#define AVF_AQ_F_CMP (1 << 1) |
Definition at line 44 of file virtchnl.h.
#define AVF_AQ_F_DD (1 << 0) |
Definition at line 43 of file virtchnl.h.
#define AVF_AQ_F_EI (1 << 14) |
Definition at line 52 of file virtchnl.h.
#define AVF_AQ_F_ERR (1 << 2) |
Definition at line 45 of file virtchnl.h.
#define AVF_AQ_F_FE (1 << 15) |
Definition at line 53 of file virtchnl.h.
#define AVF_AQ_F_LB (1 << 9) |
Definition at line 47 of file virtchnl.h.
#define AVF_AQ_F_RD (1 << 10) |
Definition at line 48 of file virtchnl.h.
#define AVF_AQ_F_SI (1 << 13) |
Definition at line 51 of file virtchnl.h.
#define AVF_AQ_F_VFC (1 << 11) |
Definition at line 49 of file virtchnl.h.
#define AVF_AQ_F_VFE (1 << 3) |
Definition at line 46 of file virtchnl.h.
#define AVF_ARQBAH 0x00006000 |
Definition at line 29 of file virtchnl.h.
#define AVF_ARQBAL 0x00006C00 |
Definition at line 32 of file virtchnl.h.
#define AVF_ARQH 0x00007400 |
Definition at line 34 of file virtchnl.h.
#define AVF_ARQLEN 0x00008000 |
Definition at line 37 of file virtchnl.h.
#define AVF_ARQT 0x00007000 |
Definition at line 33 of file virtchnl.h.
#define AVF_ATQBAH 0x00007800 |
Definition at line 35 of file virtchnl.h.
#define AVF_ATQBAL 0x00007C00 |
Definition at line 36 of file virtchnl.h.
#define AVF_ATQH 0x00006400 |
Definition at line 30 of file virtchnl.h.
#define AVF_ATQLEN 0x00006800 |
Definition at line 31 of file virtchnl.h.
#define AVF_ATQT 0x00008400 |
Definition at line 38 of file virtchnl.h.
#define AVF_QRX_TAIL | ( | q | ) | (0x00002000 + (0x4 * q)) |
Definition at line 41 of file virtchnl.h.
#define AVF_QTX_TAIL | ( | q | ) | (0x00000000 + (0x4 * q)) |
Definition at line 40 of file virtchnl.h.
#define AVFGEN_RSTAT 0x00008800 |
Definition at line 39 of file virtchnl.h.
#define AVFINT_DYN_CTL0 0x00005C00 |
Definition at line 28 of file virtchnl.h.
#define AVFINT_DYN_CTLN | ( | x | ) | (0x00003800 + (0x4 * x)) |
Definition at line 25 of file virtchnl.h.
#define AVFINT_ICR0 0x00004800 |
Definition at line 26 of file virtchnl.h.
#define AVFINT_ICR0_ENA1 0x00005000 |
Definition at line 27 of file virtchnl.h.
#define foreach_avf_vf_cap_flag |
Definition at line 113 of file virtchnl.h.
#define foreach_virtchnl_eth_stats |
Definition at line 340 of file virtchnl.h.
#define foreach_virtchnl_link_speed |
Definition at line 180 of file virtchnl.h.
#define foreach_virtchnl_op |
Definition at line 56 of file virtchnl.h.
#define VIRTCHNL_VERSION_MAJOR 1 |
Definition at line 21 of file virtchnl.h.
#define VIRTCHNL_VERSION_MINOR 1 |
Definition at line 22 of file virtchnl.h.
enum avf_vf_cap_flag_t |
Enumerator | |
---|---|
foreach_avf_vf_cap_flag |
Definition at line 131 of file virtchnl.h.
Enumerator | |
---|---|
VIRTCHNL_EVENT_UNKNOWN | |
VIRTCHNL_EVENT_LINK_CHANGE | |
VIRTCHNL_EVENT_RESET_IMPENDING | |
VIRTCHNL_EVENT_PF_DRIVER_CLOSE |
Definition at line 172 of file virtchnl.h.
Enumerator | |
---|---|
VIRTCHNL_LINK_SPEED_UNKNOWN | |
foreach_virtchnl_link_speed |
Definition at line 188 of file virtchnl.h.
enum virtchnl_ops_t |
Enumerator | |
---|---|
VIRTCHNL_N_OPS |
Definition at line 93 of file virtchnl.h.
Definition at line 101 of file virtchnl.h.
Enumerator | |
---|---|
VIRTCHNL_VFR_INPROGRESS | |
VIRTCHNL_VFR_COMPLETED | |
VIRTCHNL_VFR_VFACTIVE |
Definition at line 144 of file virtchnl.h.
enum virtchnl_vsi_type_t |
Enumerator | |
---|---|
VIRTCHNL_VSI_TYPE_INVALID | |
VIRTCHNL_VSI_SRIOV |
Definition at line 138 of file virtchnl.h.
STATIC_ASSERT_SIZEOF | ( | virtchnl_pf_event_t | , |
16 | |||
) |
STATIC_ASSERT_SIZEOF | ( | avf_aq_desc_t | , |
32 | |||
) |
STATIC_ASSERT_SIZEOF | ( | virtchnl_txq_info_t | , |
24 | |||
) |
STATIC_ASSERT_SIZEOF | ( | virtchnl_rxq_info_t | , |
40 | |||
) |
STATIC_ASSERT_SIZEOF | ( | virtchnl_vsi_queue_config_info_t | , |
72 | |||
) |
STATIC_ASSERT_SIZEOF | ( | virtchnl_queue_select_t | , |
12 | |||
) |
STATIC_ASSERT_SIZEOF | ( | virtchnl_irq_map_info_t | , |
14 | |||
) |
STATIC_ASSERT_SIZEOF | ( | virtchnl_rss_key_t | , |
6 | |||
) |
STATIC_ASSERT_SIZEOF | ( | virtchnl_rss_lut_t | , |
6 | |||
) |