Home
last modified time | relevance | path

Searched hist:"8 c713dc93ca9a423d6af8849c9254742a1070c37" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Drtnetlink.hdiff 8c713dc93ca9a423d6af8849c9254742a1070c37 Sat Jun 12 03:20:54 CDT 2021 Johannes Berg <johannes.berg@intel.com> 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>
/openbmc/linux/net/core/
H A Drtnetlink.cdiff 8c713dc93ca9a423d6af8849c9254742a1070c37 Sat Jun 12 03:20:54 CDT 2021 Johannes Berg <johannes.berg@intel.com> 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>