summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJingjing Wu <jingjing.wu@intel.com>2015-10-31 23:57:23 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-11-01 14:44:31 +0100
commitcb60ede6e3b6a87273e6cd565c56c2338ef811c8 (patch)
treef1b0f90e04258be13febd2c79692bad51eaa4c3b /app
parent198a3c339a8ff9ecc5916566cfd25e98d98ce484 (diff)
downloaddpdk-cb60ede6e3b6a87273e6cd565c56c2338ef811c8.zip
dpdk-cb60ede6e3b6a87273e6cd565c56c2338ef811c8.tar.gz
dpdk-cb60ede6e3b6a87273e6cd565c56c2338ef811c8.tar.xz
ethdev: rename DCB field in config structs
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Jijiang Liu <jijiang.liu@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test-pmd/testpmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 3cd3cd0..4c6aec6 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -1878,8 +1878,8 @@ get_eth_dcb_conf(struct rte_eth_conf *eth_conf, struct dcb_config *dcb_conf)
vmdq_rx_conf.pool_map[i].pools = 1 << (i % vmdq_rx_conf.nb_queue_pools);
}
for (i = 0; i < ETH_DCB_NUM_USER_PRIORITIES; i++) {
- vmdq_rx_conf.dcb_queue[i] = i;
- vmdq_tx_conf.dcb_queue[i] = i;
+ vmdq_rx_conf.dcb_tc[i] = i;
+ vmdq_tx_conf.dcb_tc[i] = i;
}
/*set DCB mode of RX and TX of multiple queues*/
@@ -1909,8 +1909,8 @@ get_eth_dcb_conf(struct rte_eth_conf *eth_conf, struct dcb_config *dcb_conf)
tx_conf.nb_tcs = dcb_conf->num_tcs;
for (i = 0; i < ETH_DCB_NUM_USER_PRIORITIES; i++){
- rx_conf.dcb_queue[i] = i;
- tx_conf.dcb_queue[i] = i;
+ rx_conf.dcb_tc[i] = i;
+ tx_conf.dcb_tc[i] = i;
}
eth_conf->rxmode.mq_mode = ETH_MQ_RX_DCB;
eth_conf->txmode.mq_mode = ETH_MQ_TX_DCB;