switchdev: bring back switchdev_obj and use it as a generic object param
authorJiri Pirko <jiri@mellanox.com>
Thu, 1 Oct 2015 09:03:45 +0000 (11:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Oct 2015 11:49:39 +0000 (04:49 -0700)
commit648b4a995a057187ddd77cdb181e6a0b24ab2959
tree28535b6300765d1411c7a7e4a30015de227cb947
parent52ba57cfdc4c90da3bf996dfbe0c5feb731eb477
switchdev: bring back switchdev_obj and use it as a generic object param

Replace "void *obj" with a generic structure. Introduce couple of
helpers along that.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c
include/net/switchdev.h
net/bridge/br_fdb.c
net/bridge/br_vlan.c
net/dsa/slave.c
net/switchdev/switchdev.c