aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/writingdocs/styleguidemd/styleguide03.md
diff options
context:
space:
mode:
authorJeff Shaw <jeffrey.b.shaw@intel.com>2025-03-21 08:00:17 -0700
committerFlorin Coras <florin.coras@gmail.com>2025-03-28 01:09:03 +0000
commit11621ca68dd4150dfbe042956921ede7cbb33ac8 (patch)
treea9ed58d73cf1e70b22aaa43bacdd8b1bfdecad30 /docs/gettingstarted/writingdocs/styleguidemd/styleguide03.md
parent463335f7667f86934320ab51385d31fc86c36caa (diff)
dma_intel: fix dsa software fallbackHEADmaster
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/gettingstarted/writingdocs/styleguidemd/styleguide03.md')
0 files changed, 0 insertions, 0 deletions