Lines Matching refs:rxd
648 struct nfp_net_rx_desc *rxd, struct nfp_meta_parsed *meta, in nfp_nfdk_rx_csum() argument
665 if (nfp_nfdk_rx_csum_has_errors(le16_to_cpu(rxd->rxd.flags))) { in nfp_nfdk_rx_csum()
676 if (rxd->rxd.flags & PCIE_DESC_RX_TCP_CSUM_OK || in nfp_nfdk_rx_csum()
677 rxd->rxd.flags & PCIE_DESC_RX_UDP_CSUM_OK) { in nfp_nfdk_rx_csum()
684 if (rxd->rxd.flags & PCIE_DESC_RX_I_TCP_CSUM_OK || in nfp_nfdk_rx_csum()
685 rxd->rxd.flags & PCIE_DESC_RX_I_UDP_CSUM_OK) { in nfp_nfdk_rx_csum()
1012 struct nfp_net_rx_desc *rxd; in nfp_nfdk_rx() local
1022 rxd = &rx_ring->rxds[idx]; in nfp_nfdk_rx()
1023 if (!(rxd->rxd.meta_len_dd & PCIE_DESC_RX_DD)) in nfp_nfdk_rx()
1049 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_nfdk_rx()
1050 data_len = le16_to_cpu(rxd->rxd.data_len); in nfp_nfdk_rx()
1182 nfp_nfdk_rx_csum(dp, r_vec, rxd, &meta, skb); in nfp_nfdk_rx()
1184 if (unlikely(!nfp_net_vlan_strip(skb, rxd, &meta))) { in nfp_nfdk_rx()
1441 struct nfp_net_rx_desc *rxd; in nfp_ctrl_rx_one() local
1449 rxd = &rx_ring->rxds[idx]; in nfp_ctrl_rx_one()
1450 if (!(rxd->rxd.meta_len_dd & PCIE_DESC_RX_DD)) in nfp_ctrl_rx_one()
1461 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_ctrl_rx_one()
1462 data_len = le16_to_cpu(rxd->rxd.data_len); in nfp_ctrl_rx_one()