]> git.baikalelectronics.ru Git - 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)
commit8f17f26ce9170a44dfe4321ce4b72cb890d49efd
tree1946f1a17a6c7a42dc8de3637679a05648567bfe
parent09650613aac53baae4922ea637ad7fa2412dbddf
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