diff options
author | 2025-03-21 08:00:17 -0700 | |
---|---|---|
committer | 2025-03-28 01:09:03 +0000 | |
commit | 11621ca68dd4150dfbe042956921ede7cbb33ac8 (patch) | |
tree | a9ed58d73cf1e70b22aaa43bacdd8b1bfdecad30 /docs/whatisvpp | |
parent | 463335f7667f86934320ab51385d31fc86c36caa (diff) |
When a page fault occurs, and the "block on fault" flag is not set, the
DSA device reports the error in the completion descriptor and software
should complete the operation in software. This behavior works properly,
except the batch was not added to the list of pending batches, so the
DSA node failed to completely process the batch. The side effect is the
application callback is not called, so buffers are not freed, and the
batch is never added back to the freelist, leading to eventual buffer
exhaustion, and traffic stopping.
The fix is to make sure the batch is added to the list of pending
batches so the DSA node completes the batch. This change also removes
the line that increments the "submitted" counter as that is only used
to count batches that are submitted to hardware. A separate counter,
sw_fallback, is used to count batches that are handled in software.
Type: fix
Change-Id: Ib54e8d77ac02e5dca237bb9348440c3ddaad993b
Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
Diffstat (limited to 'docs/whatisvpp')
0 files changed, 0 insertions, 0 deletions