Page MenuHomeFreeBSD

ix(4): Fix SRIOV initialization
AbandonedPublic

Authored by ziaee on Feb 21 2019, 11:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 3, 9:00 AM
Unknown Object (File)
Wed, Sep 2, 7:37 AM
Unknown Object (File)
Tue, Sep 1, 11:18 PM
Unknown Object (File)
Mon, Aug 31, 1:54 AM
Unknown Object (File)
Sun, Aug 16, 4:11 PM
Unknown Object (File)
Sat, Aug 8, 4:52 PM
Unknown Object (File)
Sat, Aug 8, 4:52 PM
Unknown Object (File)
Jul 27 2026, 12:32 PM

Details

Summary

This patch fixes SRIOV initialization by moving enabling of SRIOV
feature flag before ixgbe_if_init() is called. Also, Clear To Send flag
will not be added to MBX message when PF sends reset request to VF.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22638
Build 21746: arc lint + arc unit

Event Timeline

Does this match what the Linux PF driver does?

Partially. Linux driver does not add IXGBE_VT_MSGTYPE_CTS flag while responding to VF reset message. However, IXGBE_FEATURE_SRIOV flag is FreeBSD specific. It is used in ixgbe_if_init() ( https://github.com/freebsd/freebsd/blob/master/sys/dev/ixgbe/if_ix.c#L3016 ), so it should be set before calling ixgbe_if_init() in context of IOV initialization.

Is this still relevant? Can we merge or close this?

@ziaee yes this is overcome by b6cd053e6da9 no remaining changes are needed from this.

Okay, I am commandeering this revision to close it as overcome by events for the purpose of keeping search results clear. If you think this is an error please commandeer this revision and re-open it. Thanks!