Page MenuHomeFreeBSD

Use the port device name for the iov device for Chelsio T4/T5 cards.
ClosedPublic

Authored by jhb on Aug 2 2016, 10:50 PM.
Tags
None
Referenced Files
F107743347: D7402.diff
Fri, Jan 17, 10:19 PM
Unknown Object (File)
Sep 30 2024, 6:00 AM
Unknown Object (File)
Sep 26 2024, 3:52 AM
Unknown Object (File)
Sep 18 2024, 6:30 PM
Unknown Object (File)
Sep 18 2024, 3:27 PM
Unknown Object (File)
Sep 17 2024, 11:08 PM
Unknown Object (File)
Sep 16 2024, 7:41 PM
Unknown Object (File)
Sep 16 2024, 2:03 AM
Subscribers

Details

Summary

Use the port device name for the iov device for Chelsio T4/T5 cards.

Chelsio T4/T5 adapters are multifunction cards. The main driver uses
physical function 4 (PF4). However, VF devices for SR-IOV are only
supported on physical functions 0 through 3 where PF0 creates VFs tied
to port 0, etc. The t4iov/t5iov driver was previously added to
create VF devices for ports that are present on each adapter. This
change uses the recently added pci_iov_attach_name() function to
name the character device in /dev/iov after the associated port on
the card (e.g. /dev/iov/cxl0 is used to create VFs that share the
cxl0 port). With this in place, mark the t4iov/t5iov devices quiet
to prevent them from cluttering dmesg.

Test Plan
  • create a VF on /dev/iov/cxl0

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Use the port device name for the iov device for Chelsio T4/T5 cards..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added reviewers: rstone, np.
rstone edited edge metadata.
This revision is now accepted and ready to land.Aug 3 2016, 3:27 PM
This revision was automatically updated to reflect the committed changes.