Page MenuHomeFreeBSD

Refactor network stack state separate from VSI state
ClosedPublic

Authored by rstone on Jan 24 2015, 10:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 3 2024, 12:22 AM
Unknown Object (File)
Feb 2 2024, 12:07 PM
Unknown Object (File)
Jan 23 2024, 6:25 AM
Unknown Object (File)
Jan 20 2024, 5:27 PM
Unknown Object (File)
Dec 28 2023, 9:41 PM
Unknown Object (File)
Dec 23 2023, 5:41 AM
Unknown Object (File)
Dec 20 2023, 12:20 AM
Unknown Object (File)
Nov 5 2023, 5:54 PM
Subscribers

Details

Reviewers
jfv
Summary

Currently the ixl driver has a struct ixl_vsi that it uses to
track both network stack interface state (e.g. the ifnet) and
Virtual Station Interface (VSI) state in the hardware. However,
when the ixl driver is acting as a PF device for SR-IOV, we will
allocate VSIs for the VFs, but won't have any network stack state
for those VSIs in the ixl driver itself (instead the ixlv driver
will attach to the VF device, which has its own state independent
of the PF driver).

Fix this by introducing a new structure, ixl_ifx, which will be
used to track network stack state. Refactor both the ixl and
ixlv drivers to move their network stack state into this new
structure, and retain the ixl_vsi structure to track only
information related to details of the VSI allocated from the hw.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

rstone retitled this revision from to Refactor network stack state separate from VSI state.
rstone edited the test plan for this revision. (Show Details)
rstone added a reviewer: jfv.
rstone updated this object.
rstone added a subscriber: Unknown Object (MLST).

Remove the ifx/vsi separation and just refactor out the necessary functions

jfv edited edge metadata.

Thanks Ryan, am happier with this.

This revision is now accepted and ready to land.Jan 28 2015, 1:15 AM