RE: rdma_rxe usage problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Alexander Kalentyev <comrad.karlovich@xxxxxxxxx> 
Sent: Wednesday, January 19, 2022 11:53 AM


Anyway the ibv_rc_pingpong shows an error:

>ibv_rc_pingpong -d rxe0 -g 0
  local address:  LID 0x0000, QPN 0x000015, PSN 0x015dd8, GID
fe80::4a51:c5ff:fef6:e159
Failed to modify QP to RTR
Couldn't connect to remote QP

>
Alexander,

I use a script to restart rxe after changing anything it looks like

	#!/bin/bash

	export LD_LIBRARY_PATH=<path to rdma-core>/rdma-core/build/lib:/usr/lib

	sudo rmmod rdma_rxe
	sudo modprobe rdma_rxe

	sudo ip link set dev enp0s3 mtu 4500
	sudo ip addr add dev enp0s3 fe80::0a00:27ff:fe35:5ea7/64
	sudo rdma link add rxe0 type rxe netdev enp0s3

The important line is adding the ipv6 address which corresponds with the MAC address of
The ethernet nic which is

	08:00:27:35:5e:a7

Some OSes (like mine) do not create this address automatically but mangle the address.
But the rdma core driver seems to expect all roce providers to have it.

Hope this helps.

Bob Pearson
rpearson@xxxxxxx




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux