Lines Matching refs:cons_rx_buf
801 struct bnxt_sw_rx_bd *cons_rx_buf, *prod_rx_buf; in bnxt_reuse_rx_data() local
805 cons_rx_buf = &rxr->rx_buf_ring[cons]; in bnxt_reuse_rx_data()
808 prod_rx_buf->data_ptr = cons_rx_buf->data_ptr; in bnxt_reuse_rx_data()
810 prod_rx_buf->mapping = cons_rx_buf->mapping; in bnxt_reuse_rx_data()
923 struct bnxt_sw_rx_agg_bd *cons_rx_buf, *prod_rx_buf; in bnxt_reuse_rx_agg_bufs() local
939 cons_rx_buf = &rxr->rx_agg_ring[cons]; in bnxt_reuse_rx_agg_bufs()
944 page = cons_rx_buf->page; in bnxt_reuse_rx_agg_bufs()
945 cons_rx_buf->page = NULL; in bnxt_reuse_rx_agg_bufs()
947 prod_rx_buf->offset = cons_rx_buf->offset; in bnxt_reuse_rx_agg_bufs()
949 prod_rx_buf->mapping = cons_rx_buf->mapping; in bnxt_reuse_rx_agg_bufs()
953 prod_bd->rx_bd_haddr = cpu_to_le64(cons_rx_buf->mapping); in bnxt_reuse_rx_agg_bufs()
1057 struct bnxt_sw_rx_agg_bd *cons_rx_buf; in bnxt_rx_pages() local
1069 cons_rx_buf = &rxr->rx_agg_ring[cons]; in bnxt_rx_pages()
1070 skb_fill_page_desc(skb, i, cons_rx_buf->page, in bnxt_rx_pages()
1071 cons_rx_buf->offset, frag_len); in bnxt_rx_pages()
1078 mapping = cons_rx_buf->mapping; in bnxt_rx_pages()
1079 page = cons_rx_buf->page; in bnxt_rx_pages()
1080 cons_rx_buf->page = NULL; in bnxt_rx_pages()
1092 cons_rx_buf->page = page; in bnxt_rx_pages()
1247 struct bnxt_sw_rx_bd *cons_rx_buf, *prod_rx_buf; in bnxt_tpa_start() local
1261 cons_rx_buf = &rxr->rx_buf_ring[cons]; in bnxt_tpa_start()
1287 tpa_info->data = cons_rx_buf->data; in bnxt_tpa_start()
1288 tpa_info->data_ptr = cons_rx_buf->data_ptr; in bnxt_tpa_start()
1289 cons_rx_buf->data = NULL; in bnxt_tpa_start()
1290 tpa_info->mapping = cons_rx_buf->mapping; in bnxt_tpa_start()
1318 cons_rx_buf = &rxr->rx_buf_ring[cons]; in bnxt_tpa_start()
1320 bnxt_reuse_rx_data(rxr, cons, cons_rx_buf->data); in bnxt_tpa_start()
1322 cons_rx_buf->data = NULL; in bnxt_tpa_start()