Appends a shared buffer to the tail of a buffer chain whose head is the shared buffer pointed to by headBuf. The buffer chain can have only one shared buffer. This API is synchronous.
The Ascend 910 AI Processor does not support this API in the current version.
This API can be used only in open Ctrl CPU form or RC mode.
A shared buffer chain supports a maximum of 128 shared buffers.
Parameter |
Input/Output |
Description |
|---|---|---|
headBuf |
Input |
Pointer to the head of a shared buffer chain, which is obtained by calling acltdtAllocBuf or acltdtCopyBufRef. |
buf |
Input |
Pointer to the buffer to be appended, which is obtained by calling acltdtAllocBuf or acltdtCopyBufRef. |
0 on success; else, failure.