]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd15516c18d12d3fade686b4f3d5a3d6b5031b6f9
tree0c040e60d292d659702ebab7c36715b77b6ec531
parentad2bf2fec81fd07b8bc1fd5df751926c965b05dc
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