diff options
Diffstat (limited to 'accel-dp/kni_dev.h')
-rw-r--r-- | accel-dp/kni_dev.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/accel-dp/kni_dev.h b/accel-dp/kni_dev.h new file mode 100644 index 00000000..78fa448b --- /dev/null +++ b/accel-dp/kni_dev.h @@ -0,0 +1,9 @@ +#ifndef __KNI_DEV_H +#define __KNI_DEV_H + +int kni_dev_count(); +uint16_t kni_dev_rx_burst(uint8_t port_id, uint16_t queue_id, struct rte_mbuf **rx_pkts, const uint16_t nb_pkts); +uint16_t kni_dev_tx_burst(uint8_t port_id, uint16_t queue_id, struct rte_mbuf **tx_pkts, uint16_t nb_pkts); + +#endif + |