]> asedeno.scripts.mit.edu Git - linux.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)
commitda34f1a85b78c2220dac1ce4f4c4595dd0cab5a9
tree062d4b2bafa6241b3ea0695bfffe49ddd221db4f
parent980f91c3a62852ebfd0e60387d4a9d13934d9760
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