Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c75 myri10ge_lro_flush(struct myri10ge_slice_state *ss, struct lro_entry *lro, in myri10ge_lro_flush() argument
83 if (lro->append_cnt) { in myri10ge_lro_flush()
88 ip = lro->ip; in myri10ge_lro_flush()
89 ip->ip_len = htons(lro->len - ETHERNET_HEADER_SIZE); in myri10ge_lro_flush()
95 tcp->th_ack = lro->ack_seq; in myri10ge_lro_flush()
96 tcp->th_win = lro->window; in myri10ge_lro_flush()
97 tcp->th_flags = lro->flags; in myri10ge_lro_flush()
99 if (lro->timestamp) { in myri10ge_lro_flush()
101 ts_ptr[1] = htonl(lro->tsval); in myri10ge_lro_flush()
102 ts_ptr[2] = lro->tsecr; in myri10ge_lro_flush()
[all …]
H A Dmyri10ge.c2608 struct lro_entry *lro; in myri10ge_clean_rx_done() local
2640 lro = ss->lro_active; in myri10ge_clean_rx_done()
2641 ss->lro_active = lro->next; in myri10ge_clean_rx_done()
2642 myri10ge_lro_flush(ss, lro, mbl); in myri10ge_clean_rx_done()
5540 struct lro_entry *lro; in myri10ge_lro_free() local
5543 lro = ss->lro_free; in myri10ge_lro_free()
5544 ss->lro_free = lro->next; in myri10ge_lro_free()
5545 kmem_free(lro, sizeof (*lro)); in myri10ge_lro_free()
5552 struct lro_entry *lro; in myri10ge_lro_alloc() local
5559 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);
/titanic_41/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 …]
/titanic_41/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,