Home
last modified time | relevance | path

Searched refs:cqe2 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/oce/
H A Doce_if.c168 static void oce_correct_header(struct mbuf *m, struct nic_hwlro_cqe_part1 *cqe1, struct nic_hwlro_cqe_part2 *cqe2);
169 static void oce_rx_lro(struct oce_rq *rq, struct nic_hwlro_singleton_cqe *cqe, struct nic_hwlro_cqe_part2 *cqe2);
1467 oce_correct_header(struct mbuf *m, struct nic_hwlro_cqe_part1 *cqe1, struct nic_hwlro_cqe_part2 *cqe2)
1478 if(!cqe2->ipv6_frame) { in oce_correct_header()
1480 ip4_hdr->ip_ttl = cqe2->frame_lifespan; in oce_correct_header()
1481 ip4_hdr->ip_len = htons(cqe2->coalesced_size - sizeof(struct ether_header)); in oce_correct_header()
1485 ip6->ip6_ctlun.ip6_un1.ip6_un1_hlim = cqe2->frame_lifespan; in oce_correct_header()
1486 payload_len = cqe2->coalesced_size - sizeof(struct ether_header) in oce_correct_header()
1493 tcp_hdr->th_ack = htonl(cqe2->tcp_ack_num); in oce_correct_header()
1494 if(cqe2 in oce_correct_header()
1469 oce_correct_header(struct mbuf * m,struct nic_hwlro_cqe_part1 * cqe1,struct nic_hwlro_cqe_part2 * cqe2) oce_correct_header() argument
1576 oce_rx_lro(struct oce_rq * rq,struct nic_hwlro_singleton_cqe * cqe,struct nic_hwlro_cqe_part2 * cqe2) oce_rx_lro() argument
1967 struct nic_hwlro_cqe_part2 *cqe2; oce_rq_handler_lro() local
[all...]
H A Doce_queue.c1114 struct nic_hwlro_cqe_part2 *cqe2; in oce_rx_cq_clean_hwlro() local
1147 cqe2 = (struct nic_hwlro_cqe_part2 *)cqe; in oce_rx_cq_clean_hwlro()
1153 num_frags = cqe2->coalesced_size / rq->cfg.frag_size; in oce_rx_cq_clean_hwlro()
1154 if(cqe2->coalesced_size % rq->cfg.frag_size) in oce_rx_cq_clean_hwlro()
1161 cqe2->valid = 0; in oce_rx_cq_clean_hwlro()