20#include <rte_compat.h>
24#include <rte_kni_common.h>
40 int (*change_mtu)(uint16_t port_id,
unsigned int new_mtu);
43 int (*config_network_if)(uint16_t port_id, uint8_t if_up);
46 int (*config_mac_address)(uint16_t port_id, uint8_t mac_addr[]);
49 int (*config_promiscusity)(uint16_t port_id, uint8_t to_on);
52 int (*config_allmulticast)(uint16_t port_id, uint8_t to_on);
64 char name[RTE_KNI_NAMESIZE];
72 uint8_t force_bind : 1;
#define RTE_ETHER_ADDR_LEN
unsigned rte_kni_rx_burst(struct rte_kni *kni, struct rte_mbuf **mbufs, unsigned num)
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)
const char * rte_kni_get_name(const struct rte_kni *kni)
struct rte_kni * rte_kni_alloc(struct rte_mempool *pktmbuf_pool, const struct rte_kni_conf *conf, struct rte_kni_ops *ops)
__rte_experimental int rte_kni_update_link(struct rte_kni *kni, unsigned int linkup)
int rte_kni_release(struct rte_kni *kni)
int rte_kni_handle_request(struct rte_kni *kni)
unsigned rte_kni_tx_burst(struct rte_kni *kni, struct rte_mbuf **mbufs, unsigned num)
int rte_kni_register_handlers(struct rte_kni *kni, struct rte_kni_ops *ops)