Mellanox specific updates for 4.11 merge window

Because the Mellanox code required being based on a net-next tree,
I keept it separate from the remainder of the RDMA stack submission
that is based on 4.10-rc3.

This branch contains:

- Various mlx4 and mlx5 fixes and minor changes
- Support for adding a tag match rule to flow specs
- Support for cvlan offload operation for raw ethernet QPs
- A change to the core IB code to recognize raw eth capabilities and
  enumerate them (touches non-Mellanox code)
- Implicit On-Demand Paging memory registration support
-----BEGIN PGP SIGNATURE-----

iQIcBAABAgAGBQJYpGYHAAoJELgmozMOVy/dlccP+gO9HMBI1lcbwTNkA63Rq2hy
KQAWxUHoxbyiZZypx+J0vraY+BCYJh4FBkURxC0leJ9EkWQkgXqbOhdf/CxO6zsG
Wl8qq16LqUqiBEDF1APKa5Mqh7dG981SGJumR2SUIpOJAVlLIARBKq7lSfOToYKX
p9OuVaAOW2qwmmWv+0OOqKgk8PPaf5EacRbuQL6RCo3lgsfTugcAk+C7oyLzJun2
W+U8+T1xUUZ+60KAS9IDl0HqKWPG7nCO9Fot4J9bSQ8+MBtWqXJERB/GnskWcTO5
ayMEzUWvmA3s74t196Wt2k6NVXLuDR3pPEi6xPfRDhECatPjOKCI/8Ja1CPLhpAZ
Fq1y7HyUnwCuL7R54hdmAi2ZSEjvV6Jv+dwiJgSPSqGWRir4RDI98/SGkK4Uneed
jBwl7kF9nBH5XZrhwYE7lm9/ErIgN6Xg4Gdxg2zxfEv/m1H/pPUXbYkOXeAb7TgK
+R/QHeNHJYgVm8NhqtqikqdOwiAutxrrYcWErun4NeH3vxiW3RSR4OhMBomV7OIC
zHJ65fdzCVJhypsGZEOmCcssJ1Ama0xLodgpBn/MG3K5cW8Kg9ooSvQ2frmNKRiP
fDx6Dm5QBoMgShxXAMz3HqFsh6Ix+vvi9jE5YyOkbN/YR8o3xfbRYmSuWDBg3U+D
wj5mtahq4H4MjW3ti2q9
=qNo1
-----END PGP SIGNATURE-----
IB/mlx5: Fix configuration of port capabilities

When the "ib_virt" cap is set, configuration of port capabilities need
to be done through mlx5_core_modify_hca_vport_context.
Since modify_hca_vport_context accepts mask and value, there is no need
to read the port capabilities and calculate the new cap values so we
avoid the mutex when ib_virt is set.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
1 file changed