> On 12 Apr 2017, at 18:03, Bill Fischofer <bill.fischo...@linaro.org> wrote: > > This patch seems orthogonal to the rest of this series. Shouldn't this > be a separate patch? >
The pktio validation test fails without this fix. The following packet pool patch in the series fixes an issue where the pool to didn't allocate enough packets if the requested length (params->pkt.len) packets were segmented. As a result of this fix it is now possible to allocate more than params->pkt.num packets from the pool, if the requested packet length fits into a single segment (or less segments than the original params->pkt.len). Now, the pktio validation test pktio_test_start_stop() tries to create up to 1000 packets and then send as many it managed to allocate. After the aforementioned change the test manages to allocate 64 packets from the pool instead of the previous 32. The socket pktio max tx burst is set to 32, so the test will fail. -Matias