[dpdk-dev] QoS: The difference of traffic class between subport and pipe in QoS

2016-09-08 Thread lveny...@1218.com.cn
Hi Cristian, Thanks for your explanation. I haved learned. The traffic class in function of rte_sched_port_pkt_write is both subport's and pipe's . Regards, enyong lvenyong at 1218.com.cn From: Dumitrescu, Cristian Date: 2016-09-07 23:05 To: lvenyong at 1218.com.cn; dev at dpdk.org; users

[dpdk-dev] eal : rte_rdtsc is wrong on some cpu

2016-09-01 Thread lveny...@1218.com.cn
HI ! rte_rdtsc is wrong on some cpu. when runing on Intel(R) Xeon(R) CPU E5-2640 v2 @ 2.00GHz , it is OK. But on Intel(R) Xeon(R) CPU E5-4610 v2 @ 2.30GHz, it return a very big value sometime. Here is my test use gdb. It can jump from 26460438829980939 to 2840228530541503 in less one secon

[dpdk-dev] eal : rte_rdtsc is wrong on some cpu

2016-09-01 Thread lveny...@1218.com.cn
HI ! rte_rdtsc is wrong on some cpu. when runing on Intel(R) Xeon(R) CPU E5-2640 v2 @ 2.00GHz , it is OK. But on Intel(R) Xeon(R) CPU E5-4610 v2 @ 2.30GHz, it return a very big value sometime. Here is my test use gdb. It can jump from 26460438829980939 to 2840228530541503 in less one secon

[dpdk-dev] QoS: The difference of traffic class between subport and pipe in QoS

2016-09-01 Thread lveny...@1218.com.cn
Thanks for your answer! But i haved not understand it. what is the role of traffic class in subport, and the relationship with the traffic class in pipe ? The traffic class in function of rte_sched_port_pkt_write is subport's or pipe's ? void rte_sched_port_pkt_write(struct rte_mbuf *pkt, ui