CC migration-rdma.o
migration-rdma.c: In function ‘qemu_rdma_dump_id’:
migration-rdma.c:961:21: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration-rdma.c:962:22: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration-rdma.c:962:37: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first use in this function)
migration-rdma.c:962:37: note: each undeclared identifier is reported only once for each function it appears in
migration-rdma.c:963:24: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration-rdma.c:963:39: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use in this function)
migration-rdma.c: In function ‘qemu_rdma_broken_ipv6_kernel’:
migration-rdma.c:1055:26: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration-rdma.c:1055:41: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first use in this function)
migration-rdma.c:1057:33: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
migration-rdma.c:1057:48: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use in this function)
migration-rdma.c:1096:18: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’
make: *** [migration-rdma.o] Error 1