Lines Matching refs:rx_desc
4092 int rx_desc = rxq->next_desc_to_proc; in mvpp2_rxq_next_desc_get() local
4094 rxq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(rxq, rx_desc); in mvpp2_rxq_next_desc_get()
4096 return rxq->descs + rx_desc; in mvpp2_rxq_next_desc_get()
4119 static u32 mvpp2_bm_cookie_build(struct mvpp2_rx_desc *rx_desc) in mvpp2_bm_cookie_build() argument
4121 int pool = (rx_desc->status & MVPP2_RXD_BM_POOL_ID_MASK) >> in mvpp2_bm_cookie_build()
4549 struct mvpp2_rx_desc *rx_desc = mvpp2_rxq_next_desc_get(rxq); in mvpp2_rxq_drop_pkts() local
4550 u32 bm = mvpp2_bm_cookie_build(rx_desc); in mvpp2_rxq_drop_pkts()
4552 mvpp2_pool_refill(port, bm, rx_desc->buf_phys_addr, in mvpp2_rxq_drop_pkts()
4553 rx_desc->buf_cookie); in mvpp2_rxq_drop_pkts()
4894 struct mvpp2_rx_desc *rx_desc) in mvpp2_rx_error() argument
4896 u32 status = rx_desc->status; in mvpp2_rx_error()
4901 status, rx_desc->data_size); in mvpp2_rx_error()
4905 status, rx_desc->data_size); in mvpp2_rx_error()
4909 status, rx_desc->data_size); in mvpp2_rx_error()
4986 struct mvpp2_rx_desc *rx_desc) in mvpp2_buff_hdr_rx() argument
4990 u32 rx_status = rx_desc->status; in mvpp2_buff_hdr_rx()
5000 buff_phys_addr = rx_desc->buf_phys_addr; in mvpp2_buff_hdr_rx()
5001 buff_virt_addr = rx_desc->buf_cookie; in mvpp2_buff_hdr_rx()
5038 struct mvpp2_rx_desc *rx_desc = mvpp2_rxq_next_desc_get(rxq); in mvpp2_rx() local
5045 rx_status = rx_desc->status; in mvpp2_rx()
5046 rx_bytes = rx_desc->data_size - MVPP2_MH_SIZE; in mvpp2_rx()
5048 bm = mvpp2_bm_cookie_build(rx_desc); in mvpp2_rx()
5053 mvpp2_buff_hdr_rx(port, rx_desc); in mvpp2_rx()
5064 mvpp2_rx_error(port, rx_desc); in mvpp2_rx()
5065 mvpp2_pool_refill(port, bm, rx_desc->buf_phys_addr, in mvpp2_rx()
5066 rx_desc->buf_cookie); in mvpp2_rx()
5070 skb = (struct sk_buff *)rx_desc->buf_cookie; in mvpp2_rx()