Lines Matching refs:cons_rx_buf
840 struct bnxt_sw_rx_bd *cons_rx_buf, *prod_rx_buf; in bnxt_reuse_rx_data() local
844 cons_rx_buf = &rxr->rx_buf_ring[cons]; in bnxt_reuse_rx_data()
847 prod_rx_buf->data_ptr = cons_rx_buf->data_ptr; in bnxt_reuse_rx_data()
849 prod_rx_buf->mapping = cons_rx_buf->mapping; in bnxt_reuse_rx_data()
937 struct bnxt_sw_rx_agg_bd *cons_rx_buf, *prod_rx_buf; in bnxt_reuse_rx_agg_bufs() local
953 cons_rx_buf = &rxr->rx_agg_ring[cons]; in bnxt_reuse_rx_agg_bufs()
958 page = cons_rx_buf->page; in bnxt_reuse_rx_agg_bufs()
959 cons_rx_buf->page = NULL; in bnxt_reuse_rx_agg_bufs()
961 prod_rx_buf->offset = cons_rx_buf->offset; in bnxt_reuse_rx_agg_bufs()
963 prod_rx_buf->mapping = cons_rx_buf->mapping; in bnxt_reuse_rx_agg_bufs()
967 prod_bd->rx_bd_haddr = cpu_to_le64(cons_rx_buf->mapping); in bnxt_reuse_rx_agg_bufs()
1105 struct bnxt_sw_rx_agg_bd *cons_rx_buf; in __bnxt_rx_agg_pages() local
1117 cons_rx_buf = &rxr->rx_agg_ring[cons]; in __bnxt_rx_agg_pages()
1118 skb_frag_fill_page_desc(frag, cons_rx_buf->page, in __bnxt_rx_agg_pages()
1119 cons_rx_buf->offset, frag_len); in __bnxt_rx_agg_pages()
1127 mapping = cons_rx_buf->mapping; in __bnxt_rx_agg_pages()
1128 page = cons_rx_buf->page; in __bnxt_rx_agg_pages()
1129 cons_rx_buf->page = NULL; in __bnxt_rx_agg_pages()
1136 cons_rx_buf->page = page; in __bnxt_rx_agg_pages()
1298 struct bnxt_sw_rx_bd *cons_rx_buf, *prod_rx_buf; in bnxt_tpa_start() local
1312 cons_rx_buf = &rxr->rx_buf_ring[cons]; in bnxt_tpa_start()
1338 tpa_info->data = cons_rx_buf->data; in bnxt_tpa_start()
1339 tpa_info->data_ptr = cons_rx_buf->data_ptr; in bnxt_tpa_start()
1340 cons_rx_buf->data = NULL; in bnxt_tpa_start()
1341 tpa_info->mapping = cons_rx_buf->mapping; in bnxt_tpa_start()
1369 cons_rx_buf = &rxr->rx_buf_ring[cons]; in bnxt_tpa_start()
1371 bnxt_reuse_rx_data(rxr, cons, cons_rx_buf->data); in bnxt_tpa_start()
1373 cons_rx_buf->data = NULL; in bnxt_tpa_start()