From ed2ad311c92516da34ca74090159fc65f8f3ed08 Mon Sep 17 00:00:00 2001 From: Francesco Romani Date: Fri, 12 Feb 2021 08:45:53 +0100 Subject: [PATCH] doc: README: document the net.NIC.PCIAddress Document the new field added in commit 13f3f64 Signed-off-by: Francesco Romani --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 2798f69b..12ccc8f7 100644 --- a/README.md +++ b/README.md @@ -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 ` 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: