Lines Matching refs:rx_desc

246 					   struct dp_rx_desc *rx_desc)  in dp_rx_desc_nbuf_sanity_check_rh()  argument
254 if (dp_rx_desc_paddr_sanity_check(rx_desc, paddr)) in dp_rx_desc_nbuf_sanity_check_rh()
264 struct dp_rx_desc *rx_desc) in dp_rx_desc_nbuf_sanity_check_rh() argument
271 struct dp_rx_desc *rx_desc) in dp_rx_desc_nbuf_sanity_check_rh()
275 dp_rx_desc_dump(rx_desc); in dp_rx_desc_nbuf_sanity_check_rh()
281 struct dp_rx_desc *rx_desc)
283 dp_rx_desc_dump(rx_desc);
672 struct dp_rx_desc *rx_desc, in dp_rx_err_handler_rh() argument
679 dp_rx_nbuf_free(rx_desc->nbuf); in dp_rx_err_handler_rh()
683 dp_rx_mic_err_handler_rh(soc, rx_desc->nbuf); in dp_rx_err_handler_rh()
687 dp_rx_2k_jump_oor_err_handler_rh(soc, rx_desc->nbuf, in dp_rx_err_handler_rh()
692 dp_rx_decrypt_unecrypt_err_handler_rh(soc, rx_desc->nbuf, in dp_rx_err_handler_rh()
694 rx_desc->pool_id); in dp_rx_err_handler_rh()
698 dp_rx_desc_dump(rx_desc); in dp_rx_err_handler_rh()
700 dp_rx_nbuf_free(rx_desc->nbuf); in dp_rx_err_handler_rh()
716 struct dp_rx_desc *rx_desc = NULL; in dp_rx_data_indication_handler() local
803 rx_desc = dp_rx_cookie_2_va_rxdma_buf(soc, rx_buf_cookie); in dp_rx_data_indication_handler()
804 if (qdf_unlikely(!rx_desc && !rx_desc->nbuf && in dp_rx_data_indication_handler()
805 !rx_desc->in_use)) { in dp_rx_data_indication_handler()
812 rx_desc); in dp_rx_data_indication_handler()
816 dp_rx_dump_info_and_assert_rh(soc, msg_word, rx_desc); in dp_rx_data_indication_handler()
817 rx_desc->in_err_state = 1; in dp_rx_data_indication_handler()
821 if (qdf_unlikely(!dp_rx_desc_check_magic(rx_desc))) { in dp_rx_data_indication_handler()
824 dp_rx_dump_info_and_assert_rh(soc, msg_word, rx_desc); in dp_rx_data_indication_handler()
861 qdf_nbuf_set_rx_retry_flag(rx_desc->nbuf, 1); in dp_rx_data_indication_handler()
864 qdf_nbuf_set_raw_frame(rx_desc->nbuf, 1); in dp_rx_data_indication_handler()
874 rx_bufs_reaped[rx_desc->pool_id]++; in dp_rx_data_indication_handler()
875 QDF_NBUF_CB_RX_PEER_ID(rx_desc->nbuf) = peer_id; in dp_rx_data_indication_handler()
876 QDF_NBUF_CB_RX_VDEV_ID(rx_desc->nbuf) = vdev_id; in dp_rx_data_indication_handler()
878 rx_desc->nbuf); in dp_rx_data_indication_handler()
889 qdf_nbuf_set_rx_chfrag_start(rx_desc->nbuf, 1); in dp_rx_data_indication_handler()
892 qdf_nbuf_set_rx_chfrag_cont(rx_desc->nbuf, 1); in dp_rx_data_indication_handler()
895 qdf_nbuf_set_rx_chfrag_end(rx_desc->nbuf, 1); in dp_rx_data_indication_handler()
898 qdf_nbuf_set_da_mcbc(rx_desc->nbuf, 1); in dp_rx_data_indication_handler()
901 qdf_nbuf_set_da_valid(rx_desc->nbuf, 1); in dp_rx_data_indication_handler()
904 qdf_nbuf_set_sa_valid(rx_desc->nbuf, 1); in dp_rx_data_indication_handler()
906 qdf_nbuf_set_tid_val(rx_desc->nbuf, in dp_rx_data_indication_handler()
911 rx_desc->nbuf, in dp_rx_data_indication_handler()
914 QDF_NBUF_CB_RX_PKT_LEN(rx_desc->nbuf) = msdu_len; in dp_rx_data_indication_handler()
916 QDF_NBUF_CB_RX_CTX_ID(rx_desc->nbuf) = rx_ctx_id; in dp_rx_data_indication_handler()
922 dp_rx_nbuf_unmap(soc, rx_desc, rx_ctx_id); in dp_rx_data_indication_handler()
929 dp_rx_err_handler_rh(soc, rx_desc, error_code); in dp_rx_data_indication_handler()
933 ebuf_tail, rx_desc); in dp_rx_data_indication_handler()
938 dp_rx_add_to_free_desc_list(&head[rx_desc->pool_id], in dp_rx_data_indication_handler()
939 &tail[rx_desc->pool_id], rx_desc); in dp_rx_data_indication_handler()
1542 struct dp_rx_desc *rx_desc; in dp_rx_frag_indication_handler() local
1555 rx_desc = dp_rx_cookie_2_va_rxdma_buf(soc, rx_buf_cookie); in dp_rx_frag_indication_handler()
1556 if (qdf_unlikely(!rx_desc && !rx_desc->nbuf && in dp_rx_frag_indication_handler()
1557 !rx_desc->in_use)) { in dp_rx_frag_indication_handler()
1563 if (qdf_unlikely(!dp_rx_desc_check_magic(rx_desc))) { in dp_rx_frag_indication_handler()
1569 nbuf = rx_desc->nbuf; in dp_rx_frag_indication_handler()
1577 dp_rx_nbuf_unmap(soc, rx_desc, rx_ctx_id); in dp_rx_frag_indication_handler()
1579 dp_rx_add_to_free_desc_list(&head, &tail, rx_desc); in dp_rx_frag_indication_handler()
1581 dp_rx_buffers_replenish_simple(soc, rx_desc->pool_id, in dp_rx_frag_indication_handler()
1583 &soc->rx_desc_buf[rx_desc->pool_id], in dp_rx_frag_indication_handler()
1586 if (dp_rx_buffer_pool_refill(soc, nbuf, rx_desc->pool_id)) in dp_rx_frag_indication_handler()