TAPI for helper DPDK functions

Overview

// global functions

int rpc_dpdk_find_representors(rcf_rpc_server* rpcs, unsigned int* n_rep, uint16_t** rep_port_ids);
int rpc_rte_eth_representor_info_get(rcf_rpc_server* rpcs, uint16_t port_id, struct tarpc_rte_eth_representor_info* info);

Detailed Documentation

Global Functions

int rpc_dpdk_find_representors(rcf_rpc_server* rpcs, unsigned int* n_rep, uint16_t** rep_port_ids)

Find DPDK representor ports.

Parameters:

n_rep

Number of found representors

rep_port_ids

Port ids of the found representors

Returns:

Status code

int rpc_rte_eth_representor_info_get(rcf_rpc_server* rpcs, uint16_t port_id, struct tarpc_rte_eth_representor_info* info)

Get DPDK representor info.

Parameters:

port_id

Port id of backing device

info

Representor info structure

Returns:

Number of representors, error if negative