Skip to content

Commit

Permalink
prov/opx: Fix table index
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Cernohous <[email protected]>
  • Loading branch information
bcernohous authored and charlesshereda committed Jun 21, 2024
1 parent b36c317 commit aab70f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/opx/include/rdma/opx/fi_opx_hfi1_packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static inline const char* opx_hfi1_bth_opcode_to_string(uint16_t opcode)
(opcode <= (uint16_t) FI_OPX_HFI_BTH_OPCODE_TAG_RZV_RTS)) {
return FI_OPX_HFI_BTH_HIGH_OPCODE_STRINGS[opcode-FI_OPX_HFI_BTH_OPCODE_MP_EAGER_NTH];
}
return FI_OPX_HFI_BTH_HIGH_OPCODE_STRINGS[FI_OPX_HFI_BTH_OPCODE_TAG_RZV_RTS+1]; /* INVALID */
return FI_OPX_HFI_BTH_HIGH_OPCODE_STRINGS[sizeof(FI_OPX_HFI_BTH_HIGH_OPCODE_STRINGS)/sizeof(char*)-1]; /* INVALID */
}
#define FI_OPX_HFI1_PACKET_SLID(packet_hdr) \
(((packet_hdr).qw[0] & 0xFFFF000000000000ul) >> 48)
Expand Down

0 comments on commit aab70f7

Please sign in to comment.