25 #include <exec-env/rte_kni_common.h>
41 int (*change_mtu)(uint16_t port_id,
unsigned int new_mtu);
44 int (*config_network_if)(uint16_t port_id, uint8_t if_up);
47 int (*config_mac_address)(uint16_t port_id, uint8_t mac_addr[]);
50 int (*config_promiscusity)(uint16_t port_id, uint8_t to_on);
62 char name[RTE_KNI_NAMESIZE];
70 uint8_t force_bind : 1;
252 int __rte_experimental
int __rte_experimental rte_kni_update_link(struct rte_kni *kni, unsigned int linkup)
int rte_kni_init(unsigned int max_kni_ifaces)
int rte_kni_unregister_handlers(struct rte_kni *kni)
struct rte_kni * rte_kni_get(const char *name)
int rte_kni_register_handlers(struct rte_kni *kni, struct rte_kni_ops *ops)
unsigned rte_kni_rx_burst(struct rte_kni *kni, struct rte_mbuf **mbufs, unsigned num)
int rte_kni_handle_request(struct rte_kni *kni)
unsigned rte_kni_tx_burst(struct rte_kni *kni, struct rte_mbuf **mbufs, unsigned num)
struct rte_kni * rte_kni_alloc(struct rte_mempool *pktmbuf_pool, const struct rte_kni_conf *conf, struct rte_kni_ops *ops)
const char * rte_kni_get_name(const struct rte_kni *kni)
int rte_kni_release(struct rte_kni *kni)