Lines Matching refs:lro_mgr
349 static void cxgbit_lro_flush(struct t4_lro_mgr *lro_mgr, struct sk_buff *skb) in cxgbit_lro_flush() argument
356 __skb_unlink(skb, &lro_mgr->lroq); in cxgbit_lro_flush()
361 lro_mgr->lro_pkts++; in cxgbit_lro_flush()
362 lro_mgr->lro_session_cnt--; in cxgbit_lro_flush()
365 static void cxgbit_uld_lro_flush(struct t4_lro_mgr *lro_mgr) in cxgbit_uld_lro_flush() argument
369 while ((skb = skb_peek(&lro_mgr->lroq))) in cxgbit_uld_lro_flush()
370 cxgbit_lro_flush(lro_mgr, skb); in cxgbit_uld_lro_flush()
375 const struct pkt_gl *gl, struct t4_lro_mgr *lro_mgr, in cxgbit_lro_receive() argument
390 if (lro_mgr->lro_session_cnt >= MAX_LRO_SESSIONS) { in cxgbit_lro_receive()
391 cxgbit_uld_lro_flush(lro_mgr); in cxgbit_lro_receive()
401 __skb_queue_tail(&lro_mgr->lroq, skb); in cxgbit_lro_receive()
402 lro_mgr->lro_session_cnt++; in cxgbit_lro_receive()
411 cxgbit_lro_flush(lro_mgr, skb); in cxgbit_lro_receive()
420 lro_mgr->lro_merged++; in cxgbit_lro_receive()
430 const struct pkt_gl *gl, struct t4_lro_mgr *lro_mgr, in cxgbit_uld_lro_rx_handler() argument
467 cxgbit_lro_flush(lro_mgr, csk->lro_skb); in cxgbit_uld_lro_rx_handler()
473 if (!cxgbit_lro_receive(csk, op, rsp, NULL, lro_mgr, in cxgbit_uld_lro_rx_handler()
495 if (!cxgbit_lro_receive(csk, op, rsp, gl, lro_mgr, in cxgbit_uld_lro_rx_handler()