Re: [PATCH net-next 3/4] net: Call into DSA netdevice_ops wrappers

2020-07-19 Thread Florian Fainelli
On 7/19/2020 9:04 AM, Andrew Lunn wrote: >> If we have the core network stack reference DSA as a module then we >> force DSA to be either built-in or not, which is not very practical, >> people would still want a modular choice to be possible. The static >> inline only wraps indirect function po

Re: [PATCH net-next 3/4] net: Call into DSA netdevice_ops wrappers

2020-07-19 Thread Andrew Lunn
> If we have the core network stack reference DSA as a module then we > force DSA to be either built-in or not, which is not very practical, > people would still want a modular choice to be possible. The static > inline only wraps indirect function pointer calls using definitions > available at bui

Re: [PATCH net-next 3/4] net: Call into DSA netdevice_ops wrappers

2020-07-18 Thread Florian Fainelli
On 7/18/2020 2:18 PM, Vladimir Oltean wrote: > On Fri, Jul 17, 2020 at 08:05:32PM -0700, Florian Fainelli wrote: >> Make the core net_device code call into our ndo_do_ioctl() and >> ndo_get_phys_port_name() functions via the wrappers defined previously >> >> Signed-off-by: Florian Fainelli >> -

Re: [PATCH net-next 3/4] net: Call into DSA netdevice_ops wrappers

2020-07-18 Thread Vladimir Oltean
On Fri, Jul 17, 2020 at 08:05:32PM -0700, Florian Fainelli wrote: > Make the core net_device code call into our ndo_do_ioctl() and > ndo_get_phys_port_name() functions via the wrappers defined previously > > Signed-off-by: Florian Fainelli > --- > net/core/dev.c | 5 + > net/core/dev_i

[PATCH net-next 3/4] net: Call into DSA netdevice_ops wrappers

2020-07-17 Thread Florian Fainelli
Make the core net_device code call into our ndo_do_ioctl() and ndo_get_phys_port_name() functions via the wrappers defined previously Signed-off-by: Florian Fainelli --- net/core/dev.c | 5 + net/core/dev_ioctl.c | 5 + 2 files changed, 10 insertions(+) diff --git a/net/core/dev.c