lkml.org 
[lkml]   [2019]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net-next v4 9/9] net: Remove switchdev_ops
Date
On Mon, Feb 11, 2019 at 11:10:01AM -0800, Florian Fainelli wrote:
> Now that we have converted all possible callers to using a switchdev
> notifier for attributes we do not have a need for implementing
> switchdev_ops anymore, and this can be removed from all drivers the
> net_device structure.
>
> Acked-by: Jiri Pirko <jiri@mellanox.com>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 12 ------------
> drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 2 --
> .../mellanox/mlxsw/spectrum_switchdev.c | 13 -------------
> drivers/net/ethernet/mscc/ocelot.c | 5 -----
> drivers/net/ethernet/rocker/rocker_main.c | 6 ------
> drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 6 ------
> include/linux/netdevice.h | 3 ---
> include/net/switchdev.h | 18 ------------------
> net/dsa/slave.c | 6 ------

There's also this line that can be removed from the 8021q driver:

net/8021q/vlan_dev.c:34:#include <net/switchdev.h>

\
 
 \ /
  Last update: 2019-02-12 15:10    [W:0.190 / U:6.552 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site