27 #include <rdma/rdma.api_enum.h> 28 #include <rdma/rdma.api_types.h> 71 rmp->sw_if_index = ntohl (args.sw_if_index);
82 vl_api_rdma_delete_reply_t *rmp;
92 rv = VNET_API_ERROR_INVALID_INTERFACE;
105 #include <rdma/rdma.api.c>
u16 txq_size[default=1024]
vnet_main_t * vnet_get_main(void)
#define REPLY_MACRO2(t, body)
static rdma_mode_t rdma_api_mode(vl_api_rdma_mode_t mode)
clib_memset(h->entries, 0, sizeof(h->entries[0]) *entries)
u16 rxq_size[default=1024]
VLIB_API_INIT_FUNCTION(rdma_plugin_api_hookup)
vl_api_gre_tunnel_mode_t mode
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
vl_api_interface_index_t sw_if_index
static void vl_api_rdma_create_t_handler(vl_api_rdma_create_t *mp)
static vnet_hw_interface_t * vnet_get_sup_hw_interface_api_visible_or_null(vnet_main_t *vnm, u32 sw_if_index)
void rdma_create_if(vlib_main_t *vm, rdma_create_if_args_t *args)
vl_api_rdma_mode_t mode[default=0]
static void setup_message_id_table(api_main_t *am)
static vlib_main_t * vlib_get_main(void)
vnet_device_class_t rdma_device_class
static void vl_api_rdma_delete_t_handler(vl_api_rdma_delete_t *mp)
void rdma_delete_if(vlib_main_t *vm, rdma_device_t *rd)
static clib_error_t * rdma_plugin_api_hookup(vlib_main_t *vm)