linux_dsm_epyc7002/drivers/infiniband/ulp
Doug Ledford 716b076ba4 IB/srpt: Update sport->port_guid with each port refresh
If port_guid is set with the default subnet_prefix, then we get a change
event and run a port refresh, we don't update the port_guid.  As a
result, attempts to create a target device that uses the new
subnet_prefix in the wwn will fail to find a match and be rejected by
the ib_srpt driver.  This makes it impossible to configure a port if it
was initialized with a default subnet_prefix and later changed to any
non-default subnet-prefix.  Updating the port refresh task to always
update the wwn based upon the current subnext_prefix solves this
problem.

Cc: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: nab@linux-iscsi.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-08-24 16:51:16 -04:00
..
ipoib Merge branches 'misc' and 'rxe' into k.o/for-4.8-1 2016-08-04 11:13:47 -04:00
iser IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
isert IB/isert: fix error return code in isert_alloc_login_buf() 2016-08-22 14:26:55 -04:00
srp IB/srp: Fix srp_map_sg_dma() 2016-06-06 19:32:59 -04:00
srpt IB/srpt: Update sport->port_guid with each port refresh 2016-08-24 16:51:16 -04:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00