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)
Tue, Jan 14, 3:18 AM
Unknown Object (File)
Dec 30 2024, 11:14 AM
Unknown Object (File)
Nov 21 2024, 5:42 PM
Unknown Object (File)
Nov 20 2024, 5:32 AM
Unknown Object (File)
Nov 3 2024, 12:54 AM
Unknown Object (File)
Oct 21 2024, 4:25 PM
Unknown Object (File)
Oct 2 2024, 5:57 AM
Unknown Object (File)
Sep 24 2024, 2:49 AM
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