mirror of https://github.com/F-Stack/f-stack.git
dpdk-if: Change the TX_QUEUE_SIZE to 512.
The ring length of some NIC devices(e.g vmxnet3 ) should be between 512-4096. We should change the TX_QUEUE_SIZE from 256 to 512 and make sure we can use the f-stack in vmxnet3. Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
This commit is contained in:
parent
6adce16393
commit
2408588520
|
@ -68,7 +68,7 @@
|
||||||
* Configurable number of RX/TX ring descriptors
|
* Configurable number of RX/TX ring descriptors
|
||||||
*/
|
*/
|
||||||
#define RX_QUEUE_SIZE 512
|
#define RX_QUEUE_SIZE 512
|
||||||
#define TX_QUEUE_SIZE 256
|
#define TX_QUEUE_SIZE 512
|
||||||
|
|
||||||
#define MAX_PKT_BURST 32
|
#define MAX_PKT_BURST 32
|
||||||
#define BURST_TX_DRAIN_US 100 /* TX drain every ~100us */
|
#define BURST_TX_DRAIN_US 100 /* TX drain every ~100us */
|
||||||
|
|
Loading…
Reference in New Issue