[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Yong Liu
After enable vector pmd, qos_sched only send 32 packets every burst. That will cause some packets not transmitted and therefore mempool will be drain after a while. App qos_sched now will re-send the packets which failed to send out in previous tx function. Signed-off-by:

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Thomas Monjalon
2014-07-03 16:59, Yong Liu: > After enable vector pmd, qos_sched only send 32 packets every burst. > That will cause some packets not transmitted and therefore mempool > will be drain after a while. > App qos_sched now will re-send the packets which failed to send out in >

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Dumitrescu, Cristian
Acked-by: Cristian Dumitrescu -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yong Liu Sent: Thursday, July 3, 2014 10:00 AM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets After enable vector pmd, qos_sched

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Dumitrescu, Cristian
>>How about "mbufs += ret" rather than "mbufs = (struct rte_mbuf >>**)[ret]"? Functionally it is the same, but "mbufs = (struct rte_mbuf **)[ret]" is likely less prone to compiler warnings, so my vote is to keep it as it is and get this patch integrated asap into 1.7. Regards, Cristian

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yong Liu > Sent: Thursday, July 03, 2014 5:00 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M > packets > > After enable vector