Lines Matching refs:lro_mgr
43 struct net_lro_mgr *lro_mgr) in qdf_lro_desc_pool_init() argument
51 &lro_mgr->lro_arr[i]; in qdf_lro_desc_pool_init()
72 qdf_info->lro_mgr); in qdf_lro_desc_info_init()
138 lro_ctx->lro_mgr = (struct net_lro_mgr *)lro_mem_ptr; in qdf_lro_init()
142 lro_ctx->lro_mgr->lro_arr = (struct net_lro_desc *)lro_mem_ptr; in qdf_lro_init()
158 lro_ctx->lro_mgr->features |= LRO_F_NAPI; in qdf_lro_init()
160 lro_ctx->lro_mgr->ip_summed_aggr = CHECKSUM_UNNECESSARY; in qdf_lro_init()
161 lro_ctx->lro_mgr->max_aggr = QDF_LRO_MAX_AGGR_SIZE; in qdf_lro_init()
162 lro_ctx->lro_mgr->get_skb_header = qdf_lro_get_skb_header; in qdf_lro_init()
163 lro_ctx->lro_mgr->ip_summed = CHECKSUM_UNNECESSARY; in qdf_lro_init()
164 lro_ctx->lro_mgr->max_desc = QDF_LRO_DESC_POOL_SZ; in qdf_lro_init()
367 struct net_lro_mgr *lro_mgr; in qdf_lro_desc_free() local
382 lro_mgr = lro_ctx->lro_mgr; in qdf_lro_desc_free()
383 arr_base = lro_mgr->lro_arr; in qdf_lro_desc_free()
403 struct net_lro_mgr *lro_mgr = lro_ctx->lro_mgr; in qdf_lro_flush() local
406 for (i = 0; i < lro_mgr->max_desc; i++) { in qdf_lro_flush()
407 if (lro_mgr->lro_arr[i].active) { in qdf_lro_flush()
408 qdf_lro_desc_free(lro_ctx, &lro_mgr->lro_arr[i]); in qdf_lro_flush()
409 lro_flush_desc(lro_mgr, &lro_mgr->lro_arr[i]); in qdf_lro_flush()
425 static struct net_lro_desc *qdf_lro_get_desc(struct net_lro_mgr *lro_mgr, in qdf_lro_get_desc() argument
432 for (i = 0; i < lro_mgr->max_desc; i++) { in qdf_lro_get_desc()
445 struct net_lro_mgr *lro_mgr = lro_ctx->lro_mgr; in qdf_lro_flush_pkt() local
449 lro_desc = qdf_lro_get_desc(lro_mgr, lro_mgr->lro_arr, iph, tcph); in qdf_lro_flush_pkt()
454 lro_flush_desc(lro_mgr, lro_desc); in qdf_lro_flush_pkt()