The pool passed to odp_pktio_open() must be of type ODP_POOL_PACKET so add a note to clarify.
Signed-off-by: Stuart Haslam <[email protected]> --- include/odp/api/packet_io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h index 178d98b..9b930bd 100644 --- a/include/odp/api/packet_io.h +++ b/include/odp/api/packet_io.h @@ -100,8 +100,8 @@ typedef struct odp_pktio_param_t { * device. Packet IO parameters provide interface level configuration options. * * @param dev Packet IO device name - * @param pool Default pool from which to allocate buffers for storing packets - * received over this packet IO + * @param pool Default pool from which to allocate storage for packets + * received over this interface, must be of type ODP_POOL_PACKET * @param param Packet IO parameters * * @return Packet IO handle -- 2.1.1 _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
