diff options
| author | Jakub Kicinski <[email protected]> | 2018-06-29 17:04:38 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-06-30 21:31:56 +0900 |
| commit | 5d4b0b4068f1dc637d8a9b53c2960bbad8ce654d (patch) | |
| tree | b876fbbf586a9c39576849fecd2d4b00f55b6fe5 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d387b8a19a3921e291ebeb26b55495479cd36b21 (diff) | |
nfp: populate bus-info on representors
We used to leave bus-info in ethtool driver info empty for
representors in case multi-PCIe-to-single-host cards make
the association between PCIe device and NFP many to one.
It seems these attempts are futile, we need to link the
representors to one PCIe device in sysfs to get consistent
naming, plus devlink uses one PCIe as a handle, anyway.
The multi-PCIe-to-single-system support won't be clean,
if it ever comes.
Turns out some user space (RHEL tests) likes to read bus-info
so just populate it.
While at it remove unnecessary app NULL-check, representors
are spawned by an app, so it must exist.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Dirk van der Merwe <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions