mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
netdev-dpdk: use defined values for queues length
Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
This commit is contained in:
committed by
Pravin B Shelar
parent
691d39b2f9
commit
a715f600c3
@@ -369,7 +369,8 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev) OVS_REQUIRES(dpdk_mutex)
|
||||
}
|
||||
|
||||
for (i = 0; i < NR_QUEUE; i++) {
|
||||
diag = rte_eth_tx_queue_setup(dev->port_id, i, 64, 0, &tx_conf);
|
||||
diag = rte_eth_tx_queue_setup(dev->port_id, i, MAX_TX_QUEUE_LEN, 0,
|
||||
&tx_conf);
|
||||
if (diag) {
|
||||
VLOG_ERR("eth dev tx queue setup error %d",diag);
|
||||
return diag;
|
||||
@@ -377,8 +378,8 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev) OVS_REQUIRES(dpdk_mutex)
|
||||
}
|
||||
|
||||
for (i = 0; i < NR_QUEUE; i++) {
|
||||
diag = rte_eth_rx_queue_setup(dev->port_id, i, 64, 0, &rx_conf,
|
||||
dev->dpdk_mp->mp);
|
||||
diag = rte_eth_rx_queue_setup(dev->port_id, i, MAX_RX_QUEUE_LEN, 0,
|
||||
&rx_conf, dev->dpdk_mp->mp);
|
||||
if (diag) {
|
||||
VLOG_ERR("eth dev rx queue setup error %d",diag);
|
||||
return diag;
|
||||
|
Reference in New Issue
Block a user