RDMA/srpt: Duplicate port name members
authorBart Van Assche <bvanassche@acm.org>
Wed, 27 Jul 2022 19:34:13 +0000 (12:34 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 29 Jul 2022 19:45:37 +0000 (16:45 -0300)
commitb03b1ae2a3125d4475452e4f19f5d3a6e910ff6e
tree699890ecea718500e4541948fbe12fccea1a5b0e
parentdd390cba54bbd74fb675a4ac0a78dc23a20d49e2
RDMA/srpt: Duplicate port name members

Prepare for decoupling the lifetimes of struct srpt_port and struct
srpt_port_id by duplicating the port name into struct srpt_port.

Link: https://lore.kernel.org/r/20220727193415.1583860-2-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h