Searched refs:cqe2 (Results 1 – 2 of 2) sorted by relevance
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() argument1540 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()[all …]
1188 struct nic_hwlro_cqe_part2 *cqe2; in oce_rx_cq_clean_hwlro() local1221 cqe2 = (struct nic_hwlro_cqe_part2 *)cqe; in oce_rx_cq_clean_hwlro()1227 num_frags = cqe2->coalesced_size / rq->cfg.frag_size; in oce_rx_cq_clean_hwlro()1228 if(cqe2->coalesced_size % rq->cfg.frag_size) in oce_rx_cq_clean_hwlro()1235 cqe2->valid = 0; in oce_rx_cq_clean_hwlro()