Searched refs:rxd_wb (Results 1 – 2 of 2) sorted by relevance
618 struct hw_atl_rxd_wb_s *rxd_wb = (struct hw_atl_rxd_wb_s *) in hw_atl_a0_hw_ring_rx_receive() local625 if (!(rxd_wb->status & 0x5U)) { /* RxD is not done */ in hw_atl_a0_hw_ring_rx_receive()638 } else if (!(rxd_wb->status & 0x1U)) { in hw_atl_a0_hw_ring_rx_receive()645 rxd_wb->pkt_len = 1514U; in hw_atl_a0_hw_ring_rx_receive()646 rxd_wb->status = 3U; in hw_atl_a0_hw_ring_rx_receive()655 if (0x3U != (rxd_wb->status & 0x3U)) in hw_atl_a0_hw_ring_rx_receive()656 rxd_wb->status |= 4; in hw_atl_a0_hw_ring_rx_receive()658 is_err = (0x0000001CU & rxd_wb->status); in hw_atl_a0_hw_ring_rx_receive()659 is_rx_check_sum_enabled = (rxd_wb->type) & (0x3U << 19); in hw_atl_a0_hw_ring_rx_receive()660 pkt_type = 0xFFU & (rxd_wb->type >> 4); in hw_atl_a0_hw_ring_rx_receive()[all …]
655 struct hw_atl_rxd_wb_s *rxd_wb = (struct hw_atl_rxd_wb_s *) in hw_atl_b0_hw_ring_rx_receive() local662 if (!(rxd_wb->status & 0x1U)) { /* RxD is not done */ in hw_atl_b0_hw_ring_rx_receive()668 is_err = (0x0000003CU & rxd_wb->status); in hw_atl_b0_hw_ring_rx_receive()670 is_rx_check_sum_enabled = (rxd_wb->type) & (0x3U << 19); in hw_atl_b0_hw_ring_rx_receive()673 pkt_type = 0xFFU & (rxd_wb->type >> 4); in hw_atl_b0_hw_ring_rx_receive()685 if (rxd_wb->pkt_len <= 60) { in hw_atl_b0_hw_ring_rx_receive()695 if (is_err || rxd_wb->type & 0x1000U) { in hw_atl_b0_hw_ring_rx_receive()701 u16 rss_type = rxd_wb->type & 0xFU; in hw_atl_b0_hw_ring_rx_receive()706 buff->rss_hash = rxd_wb->rss_hash; in hw_atl_b0_hw_ring_rx_receive()710 if (HW_ATL_B0_RXD_WB_STAT2_EOP & rxd_wb->status) { in hw_atl_b0_hw_ring_rx_receive()[all …]