Lines Matching defs:packet
14 * hfi1_make_uc_req - construct a request packet (SEND, RDMA write)
16 * @ps: the current packet state
252 * hfi1_uc_rcv - handle an incoming UC packet
253 * @packet: the packet structure
255 * This is called from qp_rcv() to process an incoming UC packet
259 void hfi1_uc_rcv(struct hfi1_packet *packet)
261 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd);
262 void *data = packet->payload;
263 u32 tlen = packet->tlen;
264 struct rvt_qp *qp = packet->qp;
265 struct ib_other_headers *ohdr = packet->ohdr;
266 u32 opcode = packet->opcode;
267 u32 hdrsize = packet->hlen;
269 u32 pad = packet->pad;
274 u8 extra_bytes = pad + packet->extra_byte + (SIZE_OF_CRC << 2);
276 if (hfi1_ruc_check_hdr(ibp, packet))
279 process_ecn(qp, packet);
346 /* OK, process the packet. */
375 * There will be no padding for 9B packet but 16B packets
526 /* Drop packet for unknown opcodes. */