On Tue, 2017-02-14 at 07:25 +0200, Leon Romanovsky wrote: > From: Eli Cohen <eli@xxxxxxxxxxxx> > > When the "ib_virt" cap it 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. > > Fixes: e126ba97dba9edeb ('mlx5: Add driver for Mellanox Connect-IB > adapters') > Signed-off-by: Eli Cohen <eli@xxxxxxxxxxxx> > Reviewed-by: Matan Barak <matanb@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx> Thanks, applied. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part