Page MenuHomeFreeBSD

ena: Handle ENA_CMD_ABORTED case on admin queue interrupt mode
Needs ReviewPublic

Authored by osamaabb_amazon.com on Aug 20 2024, 8:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 29, 9:56 PM
Unknown Object (File)
Sat, Jan 25, 6:18 AM
Unknown Object (File)
Thu, Jan 23, 12:55 AM
Unknown Object (File)
Tue, Jan 21, 2:27 PM
Unknown Object (File)
Tue, Jan 21, 12:16 AM
Unknown Object (File)
Mon, Jan 20, 10:07 PM
Unknown Object (File)
Fri, Jan 17, 8:41 AM
Unknown Object (File)
Dec 16 2024, 10:25 PM
Subscribers

Details

Reviewers
cperciva
Summary

Currently admin_queue->stats.aborted_cmd counter is incremented if an
admin command status is ENA_CMD_ABORTED and only if the admin queue is
in polling mode.
This commit fixes handling the case of incrementing
admin_queue->stats.aborted_cmd if the admin queue is in interrupt
mode as well.
Also added a verification that the command status is a valid
completion status which is currently verified only if the admin queue
is in polling mode.

Approved by: cperciva
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 59081
Build 55968: arc lint + arc unit