mtcp-stack / mtcp

mTCP: A Highly Scalable User-level TCP Stack for Multicore Systems
Other
1.98k stars 435 forks source link

Add num_tx/num_rx config option to specify the DPDK driver TX/RX ring size #284

Closed vincentmli closed 4 years ago

vincentmli commented 4 years ago

In dpdk_module.c,TX/RX ring size is hard coded to 128, this prevent mTCP example apps from running in VMware ESXi VM since VMXNET3 PMD default TX descriptor ring size minimum value is 512. With this new config option, mTCP example app users can specify the DPDK TX/RX descriptor ring size to fit in users environment.