]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net/mlx5e: IPoIB, Add PKEY child interface ndos
authorAlex Vesker <valex@mellanox.com>
Thu, 14 Sep 2017 13:33:35 +0000 (16:33 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 14 Oct 2017 18:22:11 +0000 (11:22 -0700)
commitaf98cebcb3e66d349173c33c0aaef352d108a081
tree1946f1a17a6c7a42dc8de3637679a05648567bfe
parent4c6c615e3f308aee26277abebc7d4ffcd9a6abe2
net/mlx5e: IPoIB, Add PKEY child interface ndos

Child interface ndos will be called to support child interface
specific behaviour.

ndo_init flow:
-Acquire shared QPN to net-device HT from parent
-Continue with the same flow as parent interface

ndo_open flow:
-Initialize child underlay QP and connect to shared FT
-Create child send TIS
-Open child send channels

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c