On 03/30/2015 03:34 PM, Zhujianhua wrote:
@ Jerin Jacob:
What will happen if odp_cos_set_pool(odp_cos_t cos_id, odp_buffer_pool_t
pool_id) was called twice?
Will the new pool_id replace the old one or the CoS have two pools?
@Taras:
Assume: set several pools per pktio interface.
What will happen if two data plane applications share one physical Ethernet
port to receive packets?
Since the pool is per pktio interface, will these two applications share the
same buffer pool?
If there is memory leak in one application, the other application will be
disturbed.
Correct me if my understanding were wrong.
That's a nice question. I'm afraid this use-case was not considered before.
Do you want to split traffic between two applications via classifier?
Maybe to let each CoS have more than one pool and limit the max number of Pool
to for example 4 (Let the application designer decide how many pools are needed
for each CoS) could be one option.
That is a possible solution.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp