Lines Matching refs:cqe2

170 …correct_header(struct mbuf *m, struct nic_hwlro_cqe_part1 *cqe1, struct nic_hwlro_cqe_part2 *cqe2);
171 …e_rx_lro(struct oce_rq *rq, struct nic_hwlro_singleton_cqe *cqe, struct nic_hwlro_cqe_part2 *cqe2);
1529 …_correct_header(struct mbuf *m, struct nic_hwlro_cqe_part1 *cqe1, struct nic_hwlro_cqe_part2 *cqe2) in oce_correct_header() argument
1540 if(!cqe2->ipv6_frame) { in oce_correct_header()
1542 ip4_hdr->ip_ttl = cqe2->frame_lifespan; in oce_correct_header()
1543 ip4_hdr->ip_len = htons(cqe2->coalesced_size - sizeof(struct ether_header)); in oce_correct_header()
1547 ip6->ip6_ctlun.ip6_un1.ip6_un1_hlim = cqe2->frame_lifespan; in oce_correct_header()
1548 payload_len = cqe2->coalesced_size - sizeof(struct ether_header) in oce_correct_header()
1555 tcp_hdr->th_ack = htonl(cqe2->tcp_ack_num); in oce_correct_header()
1556 if(cqe2->push) { in oce_correct_header()
1559 tcp_hdr->th_win = htons(cqe2->tcp_window); in oce_correct_header()
1561 if(cqe2->ts_opt) { in oce_correct_header()
1636 oce_rx_lro(struct oce_rq *rq, struct nic_hwlro_singleton_cqe *cqe, struct nic_hwlro_cqe_part2 *cqe2) in oce_rx_lro() argument
1644 if(cqe2 == NULL) { in oce_rx_lro()
1654 cq_info.pkt_size = cqe2->coalesced_size; in oce_rx_lro()
1655 cq_info.vtag = cqe2->vlan_tag; in oce_rx_lro()
1656 cq_info.l4_cksum_pass = cqe2->l4_cksum_pass; in oce_rx_lro()
1657 cq_info.ip_cksum_pass = cqe2->ip_cksum_pass; in oce_rx_lro()
1658 cq_info.ipv6_frame = cqe2->ipv6_frame; in oce_rx_lro()
1659 cq_info.vtp = cqe2->vtp; in oce_rx_lro()
1672 if(cqe2) { in oce_rx_lro()
1676 oce_correct_header(m, cqe1, cqe2); in oce_rx_lro()
2037 struct nic_hwlro_cqe_part2 *cqe2; in oce_rq_handler_lro() local
2070 cqe2 = (struct nic_hwlro_cqe_part2 *)cqe; in oce_rq_handler_lro()
2071 if(cqe2->error != 0) { in oce_rq_handler_lro()
2080 oce_rx_lro(rq, (struct nic_hwlro_singleton_cqe *)rq->cqe_firstpart, cqe2); in oce_rq_handler_lro()
2084 cqe2->valid = 0; in oce_rq_handler_lro()