acltdtFreeBuf

Description

Frees the mbuf allocated by the acltdtAllocBuf call. This API is synchronous.

The Ascend 910 AI Processor does not support this API in the current version.

Restrictions

This API can be used only in open Ctrl CPU form or RC mode.

Prototype

aclError acltdtFreeBuf(acltdtBuf buf)

Parameters

Parameter

Input/Output

Description

buf

Input

mbuf to be freed.

Returns

0 on success; else, failure.

See Also

For details about the API call sequence and example, see Shared Buffer Management.