Home
last modified time | relevance | path

Searched refs:lro (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c70 myri10ge_lro_flush(struct myri10ge_slice_state *ss, struct lro_entry *lro, in myri10ge_lro_flush() argument
78 if (lro->append_cnt) { in myri10ge_lro_flush()
83 ip = lro->ip; in myri10ge_lro_flush()
84 ip->ip_len = htons(lro->len - ETHERNET_HEADER_SIZE); in myri10ge_lro_flush()
90 tcp->th_ack = lro->ack_seq; in myri10ge_lro_flush()
91 tcp->th_win = lro->window; in myri10ge_lro_flush()
92 tcp->th_flags = lro->flags; in myri10ge_lro_flush()
94 if (lro->timestamp) { in myri10ge_lro_flush()
96 ts_ptr[1] = htonl(lro->tsval); in myri10ge_lro_flush()
97 ts_ptr[2] = lro->tsecr; in myri10ge_lro_flush()
[all …]
H A Dmyri10ge.c2602 struct lro_entry *lro; in myri10ge_clean_rx_done() local
2634 lro = ss->lro_active; in myri10ge_clean_rx_done()
2635 ss->lro_active = lro->next; in myri10ge_clean_rx_done()
2636 myri10ge_lro_flush(ss, lro, mbl); in myri10ge_clean_rx_done()
5506 struct lro_entry *lro; in myri10ge_lro_free() local
5509 lro = ss->lro_free; in myri10ge_lro_free()
5510 ss->lro_free = lro->next; in myri10ge_lro_free()
5511 kmem_free(lro, sizeof (*lro)); in myri10ge_lro_free()
5518 struct lro_entry *lro; in myri10ge_lro_alloc() local
5525 lro = kmem_zalloc(sizeof (*lro), KM_SLEEP); in myri10ge_lro_alloc()
[all …]
H A Dmyri10ge_var.h501 struct lro_entry *lro, struct myri10ge_mblk_list *mbl);
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-device-fp.c715 __hal_lro_check_for_session_match(lro_t *lro, tcplro_t *tcp, iplro_t *ip) in __hal_lro_check_for_session_match() argument
719 if ((lro->ip_hdr->saddr != ip->saddr)) in __hal_lro_check_for_session_match()
723 if ((lro->ip_hdr->daddr != ip->daddr)) in __hal_lro_check_for_session_match()
727 if ((lro->tcp_hdr->source != tcp->source)) in __hal_lro_check_for_session_match()
731 if ((lro->tcp_hdr->dest != tcp->dest)) in __hal_lro_check_for_session_match()
796 __hal_tcp_lro_capable(iplro_t *ip, tcplro_t *tcp, lro_t *lro, int *ts_off) in __hal_tcp_lro_capable() argument
826 if (lro == NULL) in __hal_tcp_lro_capable()
842 if (lro == NULL) in __hal_tcp_lro_capable()
849 if (lro == NULL) in __hal_tcp_lro_capable()
857 if (lro->ts_off == -1) { in __hal_tcp_lro_capable()
[all …]
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-device.h243 typedef struct lro { struct
950 __hal_tcp_lro_capable(iplro_t *ip, tcplro_t *tcp, lro_t *lro, int *ts_off);
957 __hal_get_lro_session(u8 *eth_hdr, iplro_t *ip, tcplro_t *tcp, lro_t **lro,
962 __hal_lro_under_optimal_thresh(iplro_t *ip, tcplro_t *tcp, lro_t *lro,
966 __hal_collapse_ip_hdr(iplro_t *ip, tcplro_t *tcp, lro_t *lro,
970 __hal_collapse_tcp_hdr(iplro_t *ip, tcplro_t *tcp, lro_t *lro,
974 __hal_append_lro(iplro_t *ip, tcplro_t **tcp, u32 *seg_len, lro_t *lro,
985 lro_t **lro, xge_hal_dtr_info_t *ext_info,
995 __hal_open_lro_session (u8 *buffer, iplro_t *ip, tcplro_t *tcp, lro_t **lro,
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c2271 netif_extra_info_t lro; in xnf_rx_one_packet() local
2300 lro = *extra; in xnf_rx_one_packet()
2302 DTRACE_PROBE1(lro, netif_extra_info_t *, &lro); in xnf_rx_one_packet()