In linux-generic that value represents the default allocation length. On Friday, May 22, 2015, Zoltan Kiss <[email protected]> wrote:
> Hi, > > While fixing up things in the DPDK implementation I've found that > linux-generic might have some troubles too. odp_buffer_alloc() and > odp_packet_alloc() uses odp_pool_to_entry(pool_hdl)->s.params.buf.size, but > if it's a packet pool (which is always true in case of odp_packet_alloc(), > and might be true with odp_buffer_alloc()). > My first idea would be to use s.params.pkt.seg_len in that case, but it > might be 0. Maybe s.seg_size would be the right value? > If anyone has time to come up with a patch to fix this, feel free, I > probably won't have time to work on this in the near future. > > Zoli > _______________________________________________ > lng-odp mailing list > [email protected] > https://lists.linaro.org/mailman/listinfo/lng-odp >
_______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
