Skip to content

Add section for NIC virtual functions #523

Description

@harp-intel

Virtual Functions

Bus Name Associated interface
0000:c0:11.0 Ethernet Adaptive Virtual Function eth0
0000:c0:11.1 Ethernet Adaptive Virtual Function eth0
0000:c0:11.2 Ethernet Adaptive Virtual Function eth0

I see two ways it could be done:

By checking the memory mapping under lshw -c network
physical interfaces on a card share the same iomemory regions (always?), and the bus address start
virtual interfaces use memory regions from physical card's memory space
Using files under /sys/bus/pci/devices in a manner similar to this script https://github.com/OpenVisualCloud/Media-Transport-Library/blob/main/script/nicctl.sh (BSD-3-Clause)

Split from this original Issue: #377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions