diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2021-06-12 11:20:54 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-06-12 23:16:45 +0300 |
| commit | 8c713dc93ca9a423d6af8849c9254742a1070c37 (patch) | |
| tree | 0e1fd314f469a3ddadf83411fc74df9ca35ff8b4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 73214a690c50a134bd364e1a4430e0e7ac81a8d8 (diff) | |
| download | linux-8c713dc93ca9a423d6af8849c9254742a1070c37.tar.xz | |
rtnetlink: add alloc() method to rtnl_link_ops
In order to make rtnetlink ops that can create different
kinds of devices, like what we want to add to the WWAN
framework, the priv_size and setup parameters aren't quite
sufficient. Make this easier to manage by allowing ops to
allocate their own netdev via an @alloc method that gets
the tb netlink data.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
