RDMA/hns: Refactor the codes for setting transport opode
Currently the transport opcodes which come from users configuration is set by similar code. This patch simplifies it. Signed-off-by: NLijun Ou <oulijun@huawei.com> Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
Showing
想要评论请 注册 或 登录