Lines Matching refs:rxd
660 const struct nfp_net_rx_desc *rxd, in nfp_nfd3_rx_csum() argument
677 if (nfp_nfd3_rx_csum_has_errors(le16_to_cpu(rxd->rxd.flags))) { in nfp_nfd3_rx_csum()
688 if (rxd->rxd.flags & PCIE_DESC_RX_TCP_CSUM_OK || in nfp_nfd3_rx_csum()
689 rxd->rxd.flags & PCIE_DESC_RX_UDP_CSUM_OK) { in nfp_nfd3_rx_csum()
696 if (rxd->rxd.flags & PCIE_DESC_RX_I_TCP_CSUM_OK || in nfp_nfd3_rx_csum()
697 rxd->rxd.flags & PCIE_DESC_RX_I_UDP_CSUM_OK) { in nfp_nfd3_rx_csum()
728 void *data, struct nfp_net_rx_desc *rxd) in nfp_nfd3_set_hash_desc() argument
732 if (!(rxd->rxd.flags & PCIE_DESC_RX_RSS)) in nfp_nfd3_set_hash_desc()
924 struct nfp_net_rx_desc *rxd; in nfp_nfd3_rx() local
934 rxd = &rx_ring->rxds[idx]; in nfp_nfd3_rx()
935 if (!(rxd->rxd.meta_len_dd & PCIE_DESC_RX_DD)) in nfp_nfd3_rx()
961 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_nfd3_rx()
962 data_len = le16_to_cpu(rxd->rxd.data_len); in nfp_nfd3_rx()
991 rxbuf->frag + meta_off, rxd); in nfp_nfd3_rx()
1097 nfp_nfd3_rx_csum(dp, r_vec, rxd, &meta, skb); in nfp_nfd3_rx()
1100 if (rxd->rxd.flags & PCIE_DESC_RX_DECRYPTED) { in nfp_nfd3_rx()
1108 if (unlikely(!nfp_net_vlan_strip(skb, rxd, &meta))) { in nfp_nfd3_rx()
1320 struct nfp_net_rx_desc *rxd; in nfp_ctrl_rx_one() local
1328 rxd = &rx_ring->rxds[idx]; in nfp_ctrl_rx_one()
1329 if (!(rxd->rxd.meta_len_dd & PCIE_DESC_RX_DD)) in nfp_ctrl_rx_one()
1340 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_ctrl_rx_one()
1341 data_len = le16_to_cpu(rxd->rxd.data_len); in nfp_ctrl_rx_one()