Re: [lng-odp] [PATCH] validation: classification: increase SHM_PKT_BUF_SIZE

2016-12-08 Thread Bala Manoharan
I understand the issue the better fix would be to reduce the length packet while calling create_packet_len() function in odp_classification_test_pmr.c:807. It is better to keep the segment size as a power of 2. Regards, Bala On 7 December 2016 at 14:51, Nicolas Morey-Chaisemartin

Re: [lng-odp] [PATCH] validation: classification: increase SHM_PKT_BUF_SIZE

2016-12-08 Thread Mike Holmes
I assume we want to support systems without segmentation support, but this shows that it was not transparent to the application. Does it mean that applications (in this case test) should have a way to know this and thus not break or should it be hidden in the implimentation ? Before commit to

[lng-odp] [PATCH] validation: classification: increase SHM_PKT_BUF_SIZE

2016-12-07 Thread Nicolas Morey-Chaisemartin
classification_test_pmr_term_packet_len allocs a packet with 1024 of payload + headers which is greater than the segsize used to allocate the pool and breaks on implementation without segmentation support Signed-off-by: Nicolas Morey-Chaisemartin --- Should be aplied on