Skip to content

Commit

Permalink
Merge pull request #226 from fromanirh/net-pciaddr-doc
Browse files Browse the repository at this point in the history
doc: README: document the net.NIC.PCIAddress
  • Loading branch information
jaypipes authored Feb 12, 2021
2 parents 8e90727 + ed2ad31 commit 6068798
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,9 @@ Each `ghw.NIC` struct contains the following fields:
* `ghw.NIC.Capabilities` is an array of pointers to `ghw.NICCapability` structs
that can describe the things the NIC supports. These capabilities match the
returned values from the `ethtool -k <DEVICE>` call on Linux
* `ghw.NIC.PCIAddress` is the PCI device address of the device backing the NIC.
this is not-nil only if the backing device is indeed a PCI device; more backing
devices (e.g. USB) will be added in future versions.

The `ghw.NICCapability` struct contains the following fields:

Expand Down

0 comments on commit 6068798

Please sign in to comment.