Lines Matching refs:bth
222 { STRUCT_FIELD(bth, opcode),
226 { STRUCT_FIELD(bth, solicited_event),
230 { STRUCT_FIELD(bth, mig_req),
234 { STRUCT_FIELD(bth, pad_count),
238 { STRUCT_FIELD(bth, transport_header_version),
242 { STRUCT_FIELD(bth, pkey),
250 { STRUCT_FIELD(bth, destination_qpn),
254 { STRUCT_FIELD(bth, ack_req),
262 { STRUCT_FIELD(bth, psn),
388 header->bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; in ib_ud_header_init()
390 header->bth.opcode = IB_OPCODE_UD_SEND_ONLY; in ib_ud_header_init()
391 header->bth.pad_count = (4 - payload_bytes) & 3; in ib_ud_header_init()
392 header->bth.transport_header_version = 0; in ib_ud_header_init()
450 &header->bth, buf + len); in ib_ud_header_pack()
517 buf, &header->bth); in ib_ud_header_unpack()
520 switch (header->bth.opcode) { in ib_ud_header_unpack()
528 pr_warn("Invalid BTH.opcode 0x%02x\n", header->bth.opcode); in ib_ud_header_unpack()
532 if (header->bth.transport_header_version != 0) { in ib_ud_header_unpack()
534 header->bth.transport_header_version); in ib_ud_header_unpack()