Lines Matching refs:lro_mgr
347 static void cxgbit_lro_flush(struct t4_lro_mgr *lro_mgr, struct sk_buff *skb) in cxgbit_lro_flush() argument
354 __skb_unlink(skb, &lro_mgr->lroq); in cxgbit_lro_flush()
359 lro_mgr->lro_pkts++; in cxgbit_lro_flush()
360 lro_mgr->lro_session_cnt--; in cxgbit_lro_flush()
363 static void cxgbit_uld_lro_flush(struct t4_lro_mgr *lro_mgr) in cxgbit_uld_lro_flush() argument
367 while ((skb = skb_peek(&lro_mgr->lroq))) in cxgbit_uld_lro_flush()
368 cxgbit_lro_flush(lro_mgr, skb); in cxgbit_uld_lro_flush()
373 const struct pkt_gl *gl, struct t4_lro_mgr *lro_mgr, in cxgbit_lro_receive() argument
388 if (lro_mgr->lro_session_cnt >= MAX_LRO_SESSIONS) { in cxgbit_lro_receive()
389 cxgbit_uld_lro_flush(lro_mgr); in cxgbit_lro_receive()
399 __skb_queue_tail(&lro_mgr->lroq, skb); in cxgbit_lro_receive()
400 lro_mgr->lro_session_cnt++; in cxgbit_lro_receive()
409 cxgbit_lro_flush(lro_mgr, skb); in cxgbit_lro_receive()
418 lro_mgr->lro_merged++; in cxgbit_lro_receive()
428 const struct pkt_gl *gl, struct t4_lro_mgr *lro_mgr, in cxgbit_uld_lro_rx_handler() argument
465 cxgbit_lro_flush(lro_mgr, csk->lro_skb); in cxgbit_uld_lro_rx_handler()
471 if (!cxgbit_lro_receive(csk, op, rsp, NULL, lro_mgr, in cxgbit_uld_lro_rx_handler()
493 if (!cxgbit_lro_receive(csk, op, rsp, gl, lro_mgr, in cxgbit_uld_lro_rx_handler()