We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3b0f8 commit 782d577Copy full SHA for 782d577
lib/ff_api.h
@@ -269,7 +269,9 @@ int ff_zc_mbuf_get(struct ff_zc_mbuf *m, int len);
269
* APP can call this function multiple times, need pay attion to the offset of data.
270
* but the total len can't be larger than m->len.
271
* After this fuction return success,
272
- * the struct 'ff_zc_mbuf *m' can be reused in `ff_zc_mbuf_get`.
+ *
273
+ * the struct 'ff_zc_mbuf *m' can be reused in `ff_zc_mbuf_get` and then Use normally.
274
+ * Nerver directly reused in `ff_zc_mbuf_write` before recall `ff_zc_mbuf_get`.
275
*
276
* APP nedd call 'ff_write' to send data actually after finish write data to mbuf,
277
* And use 'bsd_mbuf' of 'struct ff_zc_mbuf' as the 'buf' argument.
0 commit comments