]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/rdma: define package sequence numbers macro
authorChangcheng Liu <changcheng.liu@aliyun.com>
Wed, 5 Jun 2019 03:13:07 +0000 (11:13 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Fri, 23 Aug 2019 02:45:05 +0000 (10:45 +0800)
commitcdfcc6b59c9c862d0a41358d2be31eaf7449551e
tree26d1cceb7cec8c3ed298a5e9aebee1b6d8e978a8
parent4f5a31ab9d83401e6c2168c4501672d28cca89cb
msg/async/rdma: define package sequence numbers macro

Refer to Doc: InfiniBandTM Architecture Specification Volume 1 Ver1.2.1
Section: 9.2 BASE TRANSPORT HEADER

bits  |31---------24 | 23-----------16 | 15----------8 | 7---------0 |
bytes |______________________________________________________________|
0 - 3 |____OpCode____|__|SE|M|Pad|Tver_|_________ Partition Key______|
4 - 7 |___Reserved___|______________Destination QP___________________|
8 -11 |A|Reserved 7__|________ PSN - Packet Sequence Number _________|

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/msg/async/rdma/Infiniband.cc
src/msg/async/rdma/Infiniband.h