Lines Matching refs:rxbd

943 	union enetc_rx_bd *rxbd;  in enetc_refill_rx_ring()  local
948 rxbd = enetc_rxbd(rx_ring, i); in enetc_refill_rx_ring()
960 rxbd->w.addr = cpu_to_le64(rx_swbd->dma + in enetc_refill_rx_ring()
963 rxbd->r.lstatus = 0; in enetc_refill_rx_ring()
965 enetc_rxbd_next(rx_ring, &rxbd, &i); in enetc_refill_rx_ring()
982 union enetc_rx_bd *rxbd, in enetc_get_rx_tstamp() argument
991 if (le16_to_cpu(rxbd->r.flags) & ENETC_RXBD_FLAG_TSTMP) { in enetc_get_rx_tstamp()
994 rxbd = enetc_rxbd_ext(rxbd); in enetc_get_rx_tstamp()
995 tstamp_lo = le32_to_cpu(rxbd->ext.tstamp); in enetc_get_rx_tstamp()
1007 union enetc_rx_bd *rxbd, struct sk_buff *skb) in enetc_get_offloads() argument
1013 u16 inet_csum = le16_to_cpu(rxbd->r.inet_csum); in enetc_get_offloads()
1019 if (le16_to_cpu(rxbd->r.flags) & ENETC_RXBD_FLAG_VLAN) { in enetc_get_offloads()
1022 switch (le16_to_cpu(rxbd->r.flags) & ENETC_RXBD_FLAG_TPID) { in enetc_get_offloads()
1041 __vlan_hwaccel_put_tag(skb, tpid, le16_to_cpu(rxbd->r.vlan_opt)); in enetc_get_offloads()
1046 enetc_get_rx_tstamp(rx_ring->ndev, rxbd, skb); in enetc_get_offloads()
1131 union enetc_rx_bd **rxbd, int *i) in enetc_check_bd_errors_and_consume() argument
1137 enetc_rxbd_next(rx_ring, rxbd, i); in enetc_check_bd_errors_and_consume()
1141 bd_status = le32_to_cpu((*rxbd)->r.lstatus); in enetc_check_bd_errors_and_consume()
1144 enetc_rxbd_next(rx_ring, rxbd, i); in enetc_check_bd_errors_and_consume()
1154 u32 bd_status, union enetc_rx_bd **rxbd, in enetc_build_skb() argument
1160 size = le16_to_cpu((*rxbd)->r.buf_len); in enetc_build_skb()
1165 enetc_get_offloads(rx_ring, *rxbd, skb); in enetc_build_skb()
1169 enetc_rxbd_next(rx_ring, rxbd, i); in enetc_build_skb()
1173 bd_status = le32_to_cpu((*rxbd)->r.lstatus); in enetc_build_skb()
1178 size = le16_to_cpu((*rxbd)->r.buf_len); in enetc_build_skb()
1185 enetc_rxbd_next(rx_ring, rxbd, i); in enetc_build_skb()
1207 union enetc_rx_bd *rxbd; in enetc_clean_rx_ring() local
1215 rxbd = enetc_rxbd(rx_ring, i); in enetc_clean_rx_ring()
1216 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()
1224 &rxbd, &i)) in enetc_clean_rx_ring()
1227 skb = enetc_build_skb(rx_ring, bd_status, &rxbd, &i, in enetc_clean_rx_ring()
1461 union enetc_rx_bd **rxbd, int *i, in enetc_build_xdp_buff() argument
1464 u16 size = le16_to_cpu((*rxbd)->r.buf_len); in enetc_build_xdp_buff()
1470 enetc_rxbd_next(rx_ring, rxbd, i); in enetc_build_xdp_buff()
1474 bd_status = le32_to_cpu((*rxbd)->r.lstatus); in enetc_build_xdp_buff()
1479 size = le16_to_cpu((*rxbd)->r.buf_len); in enetc_build_xdp_buff()
1484 enetc_rxbd_next(rx_ring, rxbd, i); in enetc_build_xdp_buff()
1547 union enetc_rx_bd *rxbd, *orig_rxbd; in enetc_clean_rx_ring_xdp() local
1554 rxbd = enetc_rxbd(rx_ring, i); in enetc_clean_rx_ring_xdp()
1555 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring_xdp()
1563 &rxbd, &i)) in enetc_clean_rx_ring_xdp()
1566 orig_rxbd = rxbd; in enetc_clean_rx_ring_xdp()
1570 enetc_build_xdp_buff(rx_ring, bd_status, &rxbd, &i, in enetc_clean_rx_ring_xdp()
1594 rxbd = orig_rxbd; in enetc_clean_rx_ring_xdp()
1598 skb = enetc_build_skb(rx_ring, bd_status, &rxbd, in enetc_clean_rx_ring_xdp()