File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,15 @@ The user must ensure the tokens are returned to the kernel in a timely manner.
225
225
Failure to do so will exhaust the limited dmabuf that is bound to the RX queue
226
226
and will lead to packet drops.
227
227
228
+ The user must pass no more than 128 tokens, with no more than 1024 total frags
229
+ among the token->token_count across all the tokens. If the user provides more
230
+ than 1024 frags, the kernel will free up to 1024 frags and return early.
231
+
232
+ The kernel returns the number of actual frags freed. The number of frags freed
233
+ can be less than the tokens provided by the user in case of:
234
+
235
+ (a) an internal kernel leak bug.
236
+ (b) the user passed more than 1024 frags.
228
237
229
238
Implementation & Caveats
230
239
========================
You can’t perform that action at this time.
0 commit comments