read/set the RoCEv2 UDP source port with libibverbs

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

 



Hi,

I'm trying to send data from an embedded device to a Mellanox
ConnectX-5 without the RDMA connection manager (libibverbs only) using
RoCEv2.

In Annex 17 (RoCE v2) page 21 it implies both transmitted packets (eg
SEND FIRST/MIDDLE/LAST) and receiver packets (ACK/NACK) must have the
same UDP source port:

  "Consequently, RoCEv2 endnodes set this field so that packets in a
sequence that has ordering constraints (e.g. packets from a connected
QP) will all carry a constant value."

It's unclear whether this is a strict protocol requirement but I'm
trying to access/control that parameter that the card selects to
transmit ACK packets to the sender.

Is there a way to do that from libibverbs ?

Thanks
Dimitris



[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