]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Support for setting PKEY index to underlay QP
authorAlex Vesker <valex@mellanox.com>
Wed, 13 Sep 2017 09:17:50 +0000 (12:17 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 14 Oct 2017 18:22:09 +0000 (11:22 -0700)
commit0b2a5baf15be345c7d6559d03082e5efa35ea88d
tree062d4b2bafa6241b3ea0695bfffe49ddd221db4f
parent2773385aa7f6aa6691527c38ca2ad05a949e5ce0
net/mlx5e: IPoIB, Support for setting PKEY index to underlay QP

Added a function to set PKEY index to IPoIB device driver using the
already present set_id function. PKEY index is attached to the QP
during state modification.

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