diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2017-06-05 22:00:51 +0200 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2017-07-06 17:30:08 +0200 |
commit | 854b1dd9c39d8c8c8647a44de47ef18506ae11f9 (patch) | |
tree | 25bd4a7ecda672c882bcd8e224a90fc34a3cc565 /MAINTAINERS | |
parent | ntb: Add error path/handling to Debug FS entry creation (diff) | |
download | linux-854b1dd9c39d8c8c8647a44de47ef18506ae11f9.tar.xz linux-854b1dd9c39d8c8c8647a44de47ef18506ae11f9.zip |
ntb_netdev: set the net_device's parent
At present, ntb_netdev devices end up under /sys/devices/virtual/net
completely unconnected to the ntb trees below them. This patch sets the
parent of the net_device (using SET_NETDEV_DEV) to the client_dev
device. This results in a better connected sysfs path for the network
device:
/sys/devices/pci0000:00/0000:00:03.0/0000:03:00.1/0000:03:00.1/ntb_netdev0/net/eth2
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions