Lines Matching refs:rxd
1592 struct nfp_net_rx_desc *rxd, in nfp_net_rx_csum() argument
1609 if (nfp_net_rx_csum_has_errors(le16_to_cpu(rxd->rxd.flags))) { in nfp_net_rx_csum()
1620 if (rxd->rxd.flags & PCIE_DESC_RX_TCP_CSUM_OK || in nfp_net_rx_csum()
1621 rxd->rxd.flags & PCIE_DESC_RX_UDP_CSUM_OK) { in nfp_net_rx_csum()
1628 if (rxd->rxd.flags & PCIE_DESC_RX_I_TCP_CSUM_OK || in nfp_net_rx_csum()
1629 rxd->rxd.flags & PCIE_DESC_RX_I_UDP_CSUM_OK) { in nfp_net_rx_csum()
1660 void *data, struct nfp_net_rx_desc *rxd) in nfp_net_set_hash_desc() argument
1664 if (!(rxd->rxd.flags & PCIE_DESC_RX_RSS)) in nfp_net_set_hash_desc()
1837 struct nfp_net_rx_desc *rxd; in nfp_net_rx() local
1847 rxd = &rx_ring->rxds[idx]; in nfp_net_rx()
1848 if (!(rxd->rxd.meta_len_dd & PCIE_DESC_RX_DD)) in nfp_net_rx()
1874 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_net_rx()
1875 data_len = le16_to_cpu(rxd->rxd.data_len); in nfp_net_rx()
1904 rxbuf->frag + meta_off, rxd); in nfp_net_rx()
2009 nfp_net_rx_csum(dp, r_vec, rxd, &meta, skb); in nfp_net_rx()
2012 if (rxd->rxd.flags & PCIE_DESC_RX_DECRYPTED) { in nfp_net_rx()
2020 if (rxd->rxd.flags & PCIE_DESC_RX_VLAN) in nfp_net_rx()
2022 le16_to_cpu(rxd->rxd.vlan)); in nfp_net_rx()
2242 struct nfp_net_rx_desc *rxd; in nfp_ctrl_rx_one() local
2250 rxd = &rx_ring->rxds[idx]; in nfp_ctrl_rx_one()
2251 if (!(rxd->rxd.meta_len_dd & PCIE_DESC_RX_DD)) in nfp_ctrl_rx_one()
2262 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_ctrl_rx_one()
2263 data_len = le16_to_cpu(rxd->rxd.data_len); in nfp_ctrl_rx_one()