Lines Matching full:rxd

616  * nfp_nfd3_rx_csum_has_errors() - group check if rxd has any csum errors
633 * @rxd: Pointer to RX descriptor
639 const struct nfp_net_rx_desc *rxd, in nfp_nfd3_rx_csum() argument
656 if (nfp_nfd3_rx_csum_has_errors(le16_to_cpu(rxd->rxd.flags))) { in nfp_nfd3_rx_csum()
667 if (rxd->rxd.flags & PCIE_DESC_RX_TCP_CSUM_OK || in nfp_nfd3_rx_csum()
668 rxd->rxd.flags & PCIE_DESC_RX_UDP_CSUM_OK) { in nfp_nfd3_rx_csum()
675 if (rxd->rxd.flags & PCIE_DESC_RX_I_TCP_CSUM_OK || in nfp_nfd3_rx_csum()
676 rxd->rxd.flags & PCIE_DESC_RX_I_UDP_CSUM_OK) { in nfp_nfd3_rx_csum()
707 void *data, struct nfp_net_rx_desc *rxd) in nfp_nfd3_set_hash_desc() argument
711 if (!(rxd->rxd.flags & PCIE_DESC_RX_RSS)) in nfp_nfd3_set_hash_desc()
895 struct nfp_net_rx_desc *rxd; in nfp_nfd3_rx() local
905 rxd = &rx_ring->rxds[idx]; in nfp_nfd3_rx()
906 if (!(rxd->rxd.meta_len_dd & PCIE_DESC_RX_DD)) in nfp_nfd3_rx()
932 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_nfd3_rx()
933 data_len = le16_to_cpu(rxd->rxd.data_len); in nfp_nfd3_rx()
962 rxbuf->frag + meta_off, rxd); in nfp_nfd3_rx()
1068 nfp_nfd3_rx_csum(dp, r_vec, rxd, &meta, skb); in nfp_nfd3_rx()
1071 if (rxd->rxd.flags & PCIE_DESC_RX_DECRYPTED) { in nfp_nfd3_rx()
1079 if (unlikely(!nfp_net_vlan_strip(skb, rxd, &meta))) { in nfp_nfd3_rx()
1284 struct nfp_net_rx_desc *rxd; in nfp_ctrl_rx_one() local
1292 rxd = &rx_ring->rxds[idx]; in nfp_ctrl_rx_one()
1293 if (!(rxd->rxd.meta_len_dd & PCIE_DESC_RX_DD)) in nfp_ctrl_rx_one()
1304 meta_len = rxd->rxd.meta_len_dd & PCIE_DESC_RX_META_LEN_MASK; in nfp_ctrl_rx_one()
1305 data_len = le16_to_cpu(rxd->rxd.data_len); in nfp_ctrl_rx_one()