]> 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)
commit7630eac77918d9aa3e0e08e26798d79f5269bb3b
tree0c040e60d292d659702ebab7c36715b77b6ec531
parent1e3e9b916a507630a27566b8950994106adadad6
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