mbuf: document how to set length when attaching ext buffer
authorJörg Thalheim <joerg@thalheim.io>
Mon, 2 Dec 2019 11:47:58 +0000 (11:47 +0000)
committerOlivier Matz <olivier.matz@6wind.com>
Thu, 26 Dec 2019 12:49:07 +0000 (13:49 +0100)
commite088716edeb9d72b48d384007d88376a22321e49
treed5fadfcf2abd14b09d4d79b51d568d1dc5266220
parent946f84933ae5591eaddd038f2842109f76997765
mbuf: document how to set length when attaching ext buffer

Enhance API documentation of rte_pktmbuf_attach_extbuf() to
explain that the attached mbuf is initialized with length = 0.

Link: https://bugs.dpdk.org/show_bug.cgi?id=362
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf.h