diff options
| author | Jason Gunthorpe <[email protected]> | 2021-06-11 19:00:27 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-06-16 20:58:30 -0300 |
| commit | d89eb509aaa36a08f983eac58b9fccd61ff3d375 (patch) | |
| tree | a8b7bf52492e0c90fccaf2cc400206021cc9e0f8 /tools/perf/scripts/python | |
| parent | b7066b32a14fd21480efd93cb0c24807d6b28484 (diff) | |
RDMA/core: Remove the kobject_uevent() NOP
This call does nothing because the ib_port kobj is nested under a struct
device kobject and the dev_uevent_filter() function of the struct device
blocks uevents for any children kobj's that are not also struct devices.
A uevent for the struct device will be triggered after
ib_setup_port_attrs() returns which causes udev to pick up all the deep
"attributes" which are implemented as kobjects nested under a struct
device and assign them to the udev object for the struct device:
$ udevadm info -a /sys/class/infiniband/ibp0s9
ATTR{ports/1/counters/excessive_buffer_overrun_errors}=="0"
Link: https://lore.kernel.org/r/49231c92c7d4c60686de18f7e20932d0c82160ee.1623427137.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions