iproute2/rdma
Leon Romanovsky 6416d1a01f rdma: Add option to provide "-" sign for the port number
According to the IBTA spec [1], the physical connected port is provided
for the QP in RTR-to-INIT stage performed by modify_qp(). It causes
to do not have port number for newly created QPs.

The following patch adds "-" sign to present absence of port, because
QPs are going to be associated with rdmatool link object, which needs
port number as an index.

[1] InfiniBand Architecture Release 1.3 -
	"Table 96 QP State Transition Properties"

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-02-05 17:23:52 -08:00
..
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
Makefile devlink, rdma, tipc: properly define TARGETS without HAVE_MNL 2018-01-05 16:32:17 -08:00
dev.c rdma: Move per-device handler function to generic code 2017-12-27 07:47:35 -08:00
link.c rdma: Add option to provide "-" sign for the port number 2018-02-05 17:23:52 -08:00
rdma.c rdma: Rename rd_free_devmap to be rd_free 2017-12-27 07:47:35 -08:00
rdma.h rdma: Add option to provide "-" sign for the port number 2018-02-05 17:23:52 -08:00
utils.c rdma: Add option to provide "-" sign for the port number 2018-02-05 17:23:52 -08:00