Lines Matching refs:cqe2
168 …correct_header(struct mbuf *m, struct nic_hwlro_cqe_part1 *cqe1, struct nic_hwlro_cqe_part2 *cqe2);
169 …e_rx_lro(struct oce_rq *rq, struct nic_hwlro_singleton_cqe *cqe, struct nic_hwlro_cqe_part2 *cqe2);
1469 …_correct_header(struct mbuf *m, struct nic_hwlro_cqe_part1 *cqe1, struct nic_hwlro_cqe_part2 *cqe2) in oce_correct_header() argument
1480 if(!cqe2->ipv6_frame) { in oce_correct_header()
1482 ip4_hdr->ip_ttl = cqe2->frame_lifespan; in oce_correct_header()
1483 ip4_hdr->ip_len = htons(cqe2->coalesced_size - sizeof(struct ether_header)); in oce_correct_header()
1487 ip6->ip6_ctlun.ip6_un1.ip6_un1_hlim = cqe2->frame_lifespan; in oce_correct_header()
1488 payload_len = cqe2->coalesced_size - sizeof(struct ether_header) in oce_correct_header()
1495 tcp_hdr->th_ack = htonl(cqe2->tcp_ack_num); in oce_correct_header()
1496 if(cqe2->push) { in oce_correct_header()
1499 tcp_hdr->th_win = htons(cqe2->tcp_window); in oce_correct_header()
1501 if(cqe2->ts_opt) { in oce_correct_header()
1576 oce_rx_lro(struct oce_rq *rq, struct nic_hwlro_singleton_cqe *cqe, struct nic_hwlro_cqe_part2 *cqe2) in oce_rx_lro() argument
1584 if(cqe2 == NULL) { in oce_rx_lro()
1594 cq_info.pkt_size = cqe2->coalesced_size; in oce_rx_lro()
1595 cq_info.vtag = cqe2->vlan_tag; in oce_rx_lro()
1596 cq_info.l4_cksum_pass = cqe2->l4_cksum_pass; in oce_rx_lro()
1597 cq_info.ip_cksum_pass = cqe2->ip_cksum_pass; in oce_rx_lro()
1598 cq_info.ipv6_frame = cqe2->ipv6_frame; in oce_rx_lro()
1599 cq_info.vtp = cqe2->vtp; in oce_rx_lro()
1612 if(cqe2) { in oce_rx_lro()
1616 oce_correct_header(m, cqe1, cqe2); in oce_rx_lro()
1967 struct nic_hwlro_cqe_part2 *cqe2; in oce_rq_handler_lro() local
2000 cqe2 = (struct nic_hwlro_cqe_part2 *)cqe; in oce_rq_handler_lro()
2001 if(cqe2->error != 0) { in oce_rq_handler_lro()
2010 oce_rx_lro(rq, (struct nic_hwlro_singleton_cqe *)rq->cqe_firstpart, cqe2); in oce_rq_handler_lro()
2014 cqe2->valid = 0; in oce_rq_handler_lro()