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

iQJEBAABCAAuFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAlnTctQQHGxlb25Aa2Vy
bmVsLm9yZwAKCRDkY3uINnJYp01gEACaezshNL4SmXFDbljVN5yK9hKeVTOdsegA
EGqwYtZk0aWEK56Apx3b8nVC3x/O0sr3Hig59EOPJLzpCC4SV6/Fqg40enpVBcLP
GyWROw9pkPcR2iwCrvQvNDIF4TGBUSCBS6JlDhNNh+r6XiMqSAXH+OMhL8JT0iME
W82PUrS5LD6rOsIdLI/+G4nPGXLnLT/thESyyLMiFtxDW9wiNIEk5PcOvH/BKHec
DdHWhBGCh43Z9Qx3Opfbudqi3f3aFnSA1QAcuKPVJFQq42FJdVHzOg9x/FVzBw7o
vhECY7qTdsuc4xqUFIvW+ajzJTFkR/ImAjU9DzJKMqvqOLaT73gjPF9MkxUVu/s6
Q1indGCZbQ0u7RJfXYwHHHX4iY5wJG3ZHYWsayy7YvC0Zvf4fOSbIYmCDK8tKzd2
dPJBIc/fNd26F6Mwicajy4dggBVFZReLr+JBQZC6zOwh5khON9sqMKet4nI77mu2
dErDXzEzGbvwTlh6rm4+Td6AOL5uE4PkvNryEqnN260bdZiHcCPZTKqhqc+huf22
aQ3U8CJ0n29QjaCkTrmnsCN5BkSz7ii4B0DVHD8DyT9iqgyMEtXFd4BR+Xu3djTS
s+1ESdugqV6ikhBZrM2Ip26Ssj0giBjBU0j37m0G2wJmEoUEHV7KtYz3qSqMHlRu
xwm+y+4m6w==
=YAv5
-----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>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
5 files changed