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)
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
vl_api_interface_index_t sw_if_index
vl_api_tunnel_mode_t mode
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)
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)
static clib_error_t * rdma_plugin_api_hookup(vlib_main_t *vm)
void rdma_delete_if(vlib_main_t *vm, rdma_device_t *rd)
void rdma_create_if(vlib_main_t *vm, rdma_create_if_args_t *args)