File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed
Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1+ 2024-11-14 ipfixprobe-4.14.0
2+ * dpdk: set mempool size as rx queue size
3+
142024-10-17 ipfixprobe-4.13.0
25 * usability: introduce docker/podman container to convert PCAP files to CSV
36 * IPFIX: fix order of TCP options flags
Original file line number Diff line number Diff line change 1+ 2024-11-12 (Jan Sobol): dpdkDevice: use mempool size as rx queue size instead of burst size
2+ 2024-11-12 (Jan Sobol): dpdk: reduce value of DEFAULT_MBUF_POOL_SIZE to use it also as rx queue size
3+
142024-10-17 (Tomas Cejka): doc: include generated Doxyfile to create documentation
252024-10-17 (Tomas Cejka): doc: add doxygen comment for parse_packet()
362024-10-16 (Jan Sobol): dpdk-ring - fix checking if any packet has actually been parsed
Original file line number Diff line number Diff line change 22# Process this file with autoconf to produce a configure script.
33
44AC_PREREQ ( [ 2.69] )
5- AC_INIT ( [ ipfixprobe] ,
[ 4.13 .0] ,
[ [email protected] ] ) 5+ AC_INIT ( [ ipfixprobe] ,
[ 4.14 .0] ,
[ [email protected] ] ) 66
77AC_CONFIG_SRCDIR ( [ main.cpp] )
88AC_CONFIG_HEADERS ( [ config.h] )
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ namespace ipxp {
4444class DpdkOptParser : public OptionsParser {
4545private:
4646 static constexpr size_t DEFAULT_MBUF_BURST_SIZE = 64 ;
47- static constexpr size_t DEFAULT_MBUF_POOL_SIZE = 16384 ;
47+ static constexpr size_t DEFAULT_MBUF_POOL_SIZE = 4096 ;
4848 size_t pkt_buffer_size_;
4949 size_t pkt_mempool_size_;
5050 std::vector<uint16_t > port_numbers_;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ DpdkDevice::DpdkDevice(
5454 recognizeDriver ();
5555 configurePort ();
5656 initMemPools (memPoolSize);
57- setupRxQueues ();
57+ setupRxQueues (memPoolSize );
5858 configureRSS ();
5959 enablePort ();
6060}
@@ -194,13 +194,13 @@ void DpdkDevice::initMemPools(uint16_t memPoolSize)
194194 }
195195}
196196
197- void DpdkDevice::setupRxQueues ()
197+ void DpdkDevice::setupRxQueues (uint16_t memPoolSize )
198198{
199199 for (uint16_t rxQueueID = 0 ; rxQueueID < m_rxQueueCount; rxQueueID++) {
200200 int ret = rte_eth_rx_queue_setup (
201201 m_portID,
202202 rxQueueID,
203- m_mBufsCount ,
203+ memPoolSize ,
204204 rte_eth_dev_socket_id (m_portID),
205205 nullptr ,
206206 m_memPools[rxQueueID]);
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class DpdkDevice {
7676 void configurePort ();
7777 rte_eth_conf createPortConfig ();
7878 void initMemPools (uint16_t memPoolSize);
79- void setupRxQueues ();
79+ void setupRxQueues (uint16_t memPoolSize );
8080 void configureRSS ();
8181 void enablePort ();
8282 void createRteMempool (uint16_t mempoolSize);
You can’t perform that action at this time.
0 commit comments