-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg: net: report backing device address
Report the backing device address - currently PCI only - in the network interface data. This allows the client code to fetch the device information using the specific package, for example `pkg/pci`. We prefer to add the address, and not a pointer to the relevant backing device object, the make the net module less coupled with the other hardware modules. Signed-off-by: Francesco Romani <[email protected]>
- Loading branch information
Showing
2 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters