Searched refs:rxd_wb (Results 1 – 2 of 2) sorted by relevance
629 struct hw_atl_rxd_wb_s *rxd_wb = (struct hw_atl_rxd_wb_s *) in hw_atl_a0_hw_ring_rx_receive() local636 if (!(rxd_wb->status & 0x5U)) { /* RxD is not done */ in hw_atl_a0_hw_ring_rx_receive()649 } else if (!(rxd_wb->status & 0x1U)) { in hw_atl_a0_hw_ring_rx_receive()656 rxd_wb->pkt_len = 1514U; in hw_atl_a0_hw_ring_rx_receive()657 rxd_wb->status = 3U; in hw_atl_a0_hw_ring_rx_receive()666 if (0x3U != (rxd_wb->status & 0x3U)) in hw_atl_a0_hw_ring_rx_receive()667 rxd_wb->status |= 4; in hw_atl_a0_hw_ring_rx_receive()669 is_err = (0x0000001CU & rxd_wb->status); in hw_atl_a0_hw_ring_rx_receive()670 is_rx_check_sum_enabled = (rxd_wb->type) & (0x3U << 19); in hw_atl_a0_hw_ring_rx_receive()671 pkt_type = 0xFFU & (rxd_wb->type >> 4); in hw_atl_a0_hw_ring_rx_receive()[all …]
911 struct hw_atl_rxd_wb_s *rxd_wb = (struct hw_atl_rxd_wb_s *) in hw_atl_b0_hw_ring_rx_receive() local918 if (!(rxd_wb->status & 0x1U)) { /* RxD is not done */ in hw_atl_b0_hw_ring_rx_receive()927 rx_stat = (0x0000003CU & rxd_wb->status) >> 2; in hw_atl_b0_hw_ring_rx_receive()929 is_rx_check_sum_enabled = (rxd_wb->type >> 19) & 0x3U; in hw_atl_b0_hw_ring_rx_receive()931 pkt_type = (rxd_wb->type & HW_ATL_B0_RXD_WB_STAT_PKTTYPE) >> in hw_atl_b0_hw_ring_rx_receive()948 if (unlikely(rxd_wb->pkt_len <= 60)) { in hw_atl_b0_hw_ring_rx_receive()957 buff->vlan_rx_tag = le16_to_cpu(rxd_wb->vlan); in hw_atl_b0_hw_ring_rx_receive()960 if ((rx_stat & BIT(0)) || rxd_wb->type & 0x1000U) { in hw_atl_b0_hw_ring_rx_receive()966 u16 rss_type = rxd_wb->type & 0xFU; in hw_atl_b0_hw_ring_rx_receive()971 buff->rss_hash = rxd_wb->rss_hash; in hw_atl_b0_hw_ring_rx_receive()[all …]