Lines Matching defs:pkt
1943 * @pkt: the packet to be evaluated
1952 static inline bool hfi1_may_ecn(struct hfi1_packet *pkt)
1956 if (pkt->etype == RHF_RCV_TYPE_BYPASS) {
1957 fecn = hfi1_16B_get_fecn(pkt->hdr);
1958 becn = hfi1_16B_get_becn(pkt->hdr);
1960 fecn = ib_bth_get_fecn(pkt->ohdr);
1961 becn = ib_bth_get_becn(pkt->ohdr);
1966 bool hfi1_process_ecn_slowpath(struct rvt_qp *qp, struct hfi1_packet *pkt,
1968 static inline bool process_ecn(struct rvt_qp *qp, struct hfi1_packet *pkt)
1972 do_work = hfi1_may_ecn(pkt);
1974 return hfi1_process_ecn_slowpath(qp, pkt, false);