took this patch to api-next. Maxim.
On 04/06/15 18:56, Bill Fischofer wrote:
Signed-off-by: Bill Fischofer <[email protected]> --- include/odp/api/packet_io.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h index 6d31aeb..e960f10 100644 --- a/include/odp/api/packet_io.h +++ b/include/odp/api/packet_io.h @@ -52,15 +52,22 @@ extern "C" { * odp_pktio_lookup() may be used to obtain a handle to an already open device. * * @param dev Packet IO device name - * @param pool Pool from which to allocate buffers for storing packets + * @param pool Default pool from which to allocate buffers for storing packets * received over this packet IO * * @return ODP packet IO handle * @retval ODP_PKTIO_INVALID on failure * - * @note dev name loop is specially pktio reserved name for - * device used for testing. Usually it's loop back - * interface. + * @note dev name loop is specially pktio reserved name for device used for + * testing. Usually it's loop back interface. + * + * @note Packets arriving via this interface assigned to a CoS by the + * classifier are received into the pool associated with that CoS. This + * will occur either becuase this pktio is assigned a default CoS via + * the odp_pktio_default_cos_set() routine, or because a matching PMR + * assigned the packet to a specific CoS. The default pool specified + * here is applicable only for those packets that are not assigned to a + * more specific CoS. */ odp_pktio_t odp_pktio_open(const char *dev, odp_pool_t pool);
_______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
