Lines Matching defs:packet
56 * hfi1_make_uc_req - construct a request packet (SEND, RDMA write)
293 * hfi1_uc_rcv - handle an incoming UC packet
294 * @ibp: the port the packet came in on
295 * @hdr: the header of the packet
297 * @data: the packet data
298 * @tlen: the length of the packet
299 * @qp: the QP for this packet.
301 * This is called from qp_rcv() to process an incoming UC packet
305 void hfi1_uc_rcv(struct hfi1_packet *packet)
307 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd);
308 void *data = packet->payload;
309 u32 tlen = packet->tlen;
310 struct rvt_qp *qp = packet->qp;
311 struct ib_other_headers *ohdr = packet->ohdr;
312 u32 opcode = packet->opcode;
313 u32 hdrsize = packet->hlen;
315 u32 pad = packet->pad;
320 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2);
322 if (hfi1_ruc_check_hdr(ibp, packet))
325 process_ecn(qp, packet);
392 /* OK, process the packet. */
421 * There will be no padding for 9B packet but 16B packets
572 /* Drop packet for unknown opcodes. */