Skip to content

Commit

Permalink
doc: README: document the net.NIC.PCIAddress
Browse files Browse the repository at this point in the history
Document the new field added in commit 13f3f64

Signed-off-by: Francesco Romani <[email protected]>
  • Loading branch information
ffromani committed Feb 12, 2021
1 parent 8e90727 commit ed2ad31
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 ed2ad31

Please sign in to comment.