On 16/12/15 15:39, Christophe Milard wrote:
Hi, Following the discussion at the ARCH call, today, would it be reasonable to require that all packet pools that can be used by a NIC have to be created before the related nic pktio is opened? -This is implicitly required in RX, as the pool handle from which buffer should be allocated in RX is a parameter to the pktio_open() function.
Yes, for me it's quite obvious. ? Is the fact that an
application will not be able to transmit packets from a pool created AFTER pktio open() was called acceptable?
I think TX is different from that point of view. The packet should obviously exist at the time of TX, but whether it came from the pool supplied to odp_pktio_open() or not shouldn't really matter.
/Christophe. _______________________________________________ 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
