numam-dpdk/lib/librte_kni
Alex Wang 4608601000 kni: describe mempool capacity requirement
Function like 'rte_kni_rx_burst()' keeps
allocating 'MAX_MBUF_BURST_NUM' mbufs to
kni fifo queue unless the queue's capacity
('KNI_FIFO_COUNT_MAX') is reached.  So, if
the mempool is under-provisioned, user may
run into "Out of Memory" logs from KNI code.
This commit documents the need to provision
mempool capacity of more than
"2 x KNI_FIFO_COUNT_MAX" for each KNI interface.

Signed-off-by: Alex Wang <alex@awakenetworks.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
2016-06-14 17:15:01 +02:00
..
Makefile kni: remove deprecated functions 2015-09-03 19:22:48 +02:00
rte_kni_fifo.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte_kni_version.map kni: remove deprecated functions 2015-09-03 19:22:48 +02:00
rte_kni.c mempool: allocate in several memory chunks by default 2016-05-19 14:40:13 +02:00
rte_kni.h kni: describe mempool capacity requirement 2016-06-14 17:15:01 +02:00