mlx5-shared-4.15-V2

mlx5 core driver shared code for both net-next and rdma-next trees.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABAgAGBQJZzJwBAAoJEEg/ir3gV/o+XuUIAKzqJLlFOwsjOJk3t79xxNAC
vEcGNr3rm13oEcyAboBVs+Bk0MSRkbEf0CPLY570u9S0BATq1VEvTWbWJihdZjGC
cYOtAlrbybEW45zO7lGUNpLTgPs2lAbjSZNgdHElZQN5uP47n+PX7jBd9aukWkeo
79GC5igPIsS4pm9BrUc5dRD2JoWkxxfMDTmstMZWt+pKOA6UlxGMIA68zMp1rnlh
0xMGdlegbWX+aC/AtHfRhAEvgC4PwKHTwWobJH3yzduoimyNu/87aKJZhJzOZZMt
gToaL6KgV7/kpd9grgXnRiYYmqCEjvkRslaLecU7EaWR9iQnFj4stHQWwNU8uJQ=
=mx/K
-----END PGP SIGNATURE-----
net/mlx5: Support for attaching multiple underlay QPs to root flow table

Previous support allowed connecting only a single QPN to the FT.
Now using a linked list multiple QPNs can be attached to the same FT.

Supporting attaching multiple underlay QPs is required for PKEY
support in which child and parent share the same FT.

The actual attaching/detaching FW commands will be called inside the
function symmetrically.

This change requires a change in IPoIB open and close functions, the
attaching/detaching to/from the FT is done each time we open/close.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
5 files changed