Lines Matching refs:rx_dr
596 struct nix_rx_dr *rx_dr; in nix_lf_flush_rx() local
611 rx_dr = (struct nix_rx_dr *)cq_rx_base + head * rx_cqe_sz; in nix_lf_flush_rx()
612 rxparse = &rx_dr->rx_parse; in nix_lf_flush_rx()
618 seg = (dma_addr_t *)(&rx_dr->rx_sg + 1); in nix_lf_flush_rx()
658 struct nix_rx_dr *rx_dr; in nix_lf_recv() local
678 rx_dr = (struct nix_rx_dr *)cqe; in nix_lf_recv()
679 rxparse = &rx_dr->rx_parse; in nix_lf_recv()
682 debug("%s: rx dr: %p\n", __func__, rx_dr); in nix_lf_recv()
689 if (rx_dr->hdr.s.cqe_type != NIX_XQE_TYPE_E_RX) { in nix_lf_recv()
691 __func__, rx_dr->hdr.s.cqe_type); in nix_lf_recv()
696 addr = (dma_addr_t *)(&rx_dr->rx_sg + 1); in nix_lf_recv()
700 rx_dr->rx_sg.s.segs, rx_dr->rx_sg.s.seg1_size, addr[0], in nix_lf_recv()
701 rx_dr->rx_sg.s.seg2_size, addr[1], in nix_lf_recv()
702 rx_dr->rx_sg.s.seg3_size, addr[2]); in nix_lf_recv()
703 if (pkt_len < rx_dr->rx_sg.s.seg1_size + rx_dr->rx_sg.s.seg2_size + in nix_lf_recv()
704 rx_dr->rx_sg.s.seg3_size) { in nix_lf_recv()