linux/drivers/infiniband/ulp
Feras Daoud 9a9b811269 IB/ipoib: Update broadcast object if PKey value was changed in index 0
Update the broadcast address in the priv->broadcast object when the
Pkey value changes in index 0, otherwise the multicast GID value will
keep the previous value of the PKey, and will not be updated.
This leads to interface state down because the interface will keep the
old PKey value.

For example, in SR-IOV environment, if the PF changes the value of PKey
index 0 for one of the VFs, then the VF receives PKey change event that
triggers heavy flush. This flush calls update_parent_pkey that update the
broadcast object and its relevant members. If in this case the multicast
GID will not be updated, the interface state will be down.

Fixes: c290414169 ("IPoIB: Fix pkey change flow for virtualization environments")
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-21 11:45:55 -04:00
..
ipoib IB/ipoib: Update broadcast object if PKey value was changed in index 0 2017-04-21 11:45:55 -04:00
iser RDMA/iser: Fix possible mr leak on device removal event 2017-03-24 22:31:19 -04:00
isert iser-target: avoid posting a recv buffer twice 2017-03-30 20:35:50 -07:00
opa_vnic IB/opa-vnic: VNIC Ethernet Management Agent (VEMA) function 2017-04-20 12:01:38 -04:00
srp This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
srpt This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
Makefile IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00