net/mlx5e: Save the represntor netdevice as part of the representor
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 1 Dec 2016 12:06:39 +0000 (14:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 18:28:37 +0000 (13:28 -0500)
commit726293f1f851242c1c308e71ef9dfd0c2251f94a
tree19cf300116f3a7b1e838462123f9bceb98c99a6c
parent718f13e72be48e2e088f8a3993017c281f275dcd
net/mlx5e: Save the represntor netdevice as part of the representor

Replace the representor private data to a net_device pointer holding the
representor netdevice, instead of void pointer holding mlx5e_priv.

It will be used by a new eswitch service function, returning the uplink representor
netdevice.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c