Page MenuHomeFreeBSD

ifconfig: Add SR-IOV VF status output
ClosedPublic

Authored by kbowling on Mon, Aug 10, 11:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 7, 5:01 AM
Unknown Object (File)
Sun, Sep 6, 3:23 PM
Unknown Object (File)
Sat, Sep 5, 7:10 PM
Unknown Object (File)
Sat, Sep 5, 11:12 AM
Unknown Object (File)
Fri, Sep 4, 5:04 PM
Unknown Object (File)
Tue, Sep 1, 5:33 PM
Unknown Object (File)
Tue, Sep 1, 1:52 PM
Unknown Object (File)
Tue, Sep 1, 1:36 PM
Subscribers

Details

Summary
ifconfig: Add SR-IOV VF status output

Add NIC-specific VF status to the existing ifconfig -v output. Request
and display the data through ifconfig’s native route Netlink interface.

Group optional identity, initialization, resources, VLAN policy,
administrator policy, protocol, and runtime-blocking fields.  Omitted
fields remain distinct from false or zero.  Refer users to iovctl -L
for device-neutral PCI attachment and passthrough state.

This is a Netlink-native evolution of the original interface by Eric
Joyner.

Relnotes:       yes

Co-authored-by: Eric Joyner <erj@FreeBSD.org>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kbowling edited the summary of this revision. (Show Details)
kbowling edited the summary of this revision. (Show Details)
kgalazka added inline comments.
sbin/ifconfig/ifconfig.8
378

Kind of related, if I'm not mistaken at the moment changing access VLAN or statically assigned MAC address requires re-creating all VFs. Do you know if something like

ifconfig if0 vf 1 vlan 100

would be possible to implement with ifconfig args parser?

sbin/ifconfig/ifconfig.8
378

I think we'd separately need to refactor iovctl to use netlink ultimately... how to reconcile the text ucl config and live updates, or don't?

This revision was not accepted when it landed; it landed in state Needs Review.Sun, Sep 6, 1:52 PM
This revision was automatically updated to reflect the committed changes.