Page MenuHomeFreeBSD

ena: Support LLQ entry size recommendation from device
Needs ReviewPublic

Authored by osamaabb_amazon.com on Aug 20 2024, 8:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Aug 13 2025, 6:41 PM
Unknown Object (File)
Aug 12 2025, 9:36 PM
Unknown Object (File)
Aug 7 2025, 5:30 AM
Unknown Object (File)
Jul 5 2025, 1:37 AM
Unknown Object (File)
Jul 4 2025, 1:19 AM
Unknown Object (File)
Jun 22 2025, 12:18 AM
Unknown Object (File)
Jun 10 2025, 11:27 AM
Unknown Object (File)
May 11 2025, 10:48 PM
Subscribers

Details

Reviewers
cperciva
Summary

To allow ENA driver to configure LLQ size according to device's
default size which is now being published via ENA_ADMIN_GET_FEATURE
command, and updated ena_admin_def.h.

new definitions:
(1) entry_size_recommended field was introduced in the ENA_ADMIN_LLQ

feature struct and is being used to set LLQ size in case user did
not specify otherwise.

(2) llq_feature_version enum was introduced to allow struct changes

within command - see (1)

From now on, when querying ENA_ADMIN_LLQ feature, we use current version
(ENA_ADMIN_LLQ_FEATURE_VERSION_1) instead of hard-coded 0.

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 59054
Build 55941: arc lint + arc unit