diff options
author | Jiri Pirko <[email protected]> | 2019-03-28 13:56:46 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-03-28 12:55:31 -0700 |
commit | 746364f298d48cc89067e6d0c9bc1a4da1efb52a (patch) | |
tree | 3a4d5031f135209c4db0a6027e7b983e45caca40 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | f1fa719cfd552dccdfe80e6f81be8d15503dfcce (diff) |
net: devlink: add warning for ndo_get_phys_port_name set when not needed
Currently if the driver registers devlink port instance, it should set
the devlink port attributes as well. Then the devlink core is able to
obtain physical port name itself, no need for driver to implement
the ndo. Once all drivers will implement devlink port registration,
this ndo should be removed. This warning guides new
drivers to do things as they should be done.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions