net/mlx5: E-Switch, Refactor load/unload of representors
authorMark Bloch <markb@mellanox.com>
Wed, 9 Aug 2017 14:50:57 +0000 (14:50 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Dec 2017 10:36:33 +0000 (12:36 +0200)
commit6ed1803abe401ec44eb65a4ca12d3b9da2839f45
tree3942533e2b7e02df0259036959f8c1c6f80aebdc
parente8d31c4d65998c38feccc539297ca506099e0194
net/mlx5: E-Switch, Refactor load/unload of representors

Refactor the load/unload stages for better code reuse.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c