net/mlx5e: Store eswitch uplink representor state on a dedicated struct
authorOz Shlomo <ozsh@mellanox.com>
Thu, 25 Oct 2018 18:51:11 +0000 (21:51 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 23:53:03 +0000 (15:53 -0800)
commitec1366c20721157cc2d077e84d2a062f93175ce5
tree0c040e60d292d659702ebab7c36715b77b6ec531
parent2f62747c77e2e5a8acb720aaec9ee4860d55118f
net/mlx5e: Store eswitch uplink representor state on a dedicated struct

Currently only a single field in the representor private structure
is relevant for uplink representors.  As a pre-step to allow adding
additional uplink representor fields, introduce uplink representor
private structure.

This is prepration step towards replacing egdev logic with the
indirect block notification mechanism. This patch doesn't change
any functionality.

Signed-off-by: Oz Shlomo <ozsh@mellanox.com>
Reviewed-by: Eli Britstein <elibr@mellanox.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.h
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c