/openbmc/u-boot/drivers/net/pfe_eth/ |
H A D | pfe_driver.c | 29 struct rx_desc_s *rx_desc = g_rx_desc; in pfe_recv() local 35 bd = rx_desc->rx_base + rx_desc->rx_to_read; in pfe_recv() 78 struct rx_desc_s *rx_desc = g_rx_desc; in pfe_eth_free_pkt() local 81 debug("%s:rx_base: %p, rx_to_read: %d\n", __func__, rx_desc->rx_base, in pfe_eth_free_pkt() 82 rx_desc->rx_to_read); in pfe_eth_free_pkt() 84 bd = rx_desc->rx_base + rx_desc->rx_to_read; in pfe_eth_free_pkt() 102 rx_desc->rx_to_read = (rx_desc->rx_to_read + 1) in pfe_eth_free_pkt() 103 & (rx_desc->rx_ring_size - 1); in pfe_eth_free_pkt() 105 debug("Rx next pkt location: %d\n", rx_desc->rx_to_read); in pfe_eth_free_pkt() 230 struct rx_desc_s *rx_desc; in hif_rx_desc_dump() local [all …]
|
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_desc.c | 16 struct spl2sw_mac_desc *rx_desc; in spl2sw_rx_descs_flush() local 20 rx_desc = comm->rx_desc[i]; in spl2sw_rx_descs_flush() 23 rx_desc[j].addr1 = rx_skbinfo[j].mapping; in spl2sw_rx_descs_flush() 24 rx_desc[j].cmd2 = (j == comm->rx_desc_num[i] - 1) ? in spl2sw_rx_descs_flush() 28 rx_desc[j].cmd1 = RXD_OWN; in spl2sw_rx_descs_flush() 63 struct spl2sw_mac_desc *rx_desc; in spl2sw_rx_descs_clean() local 70 rx_desc = comm->rx_desc[i]; in spl2sw_rx_descs_clean() 73 rx_desc[j].cmd1 = 0; in spl2sw_rx_descs_clean() 75 rx_desc[j].cmd2 = 0; in spl2sw_rx_descs_clean() 76 rx_desc[j].addr1 = 0; in spl2sw_rx_descs_clean() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | npcm_gmac.c | 323 struct NPCMGMACRxDesc rx_desc; in gmac_receive() local 342 if (gmac_read_rx_desc(desc_addr, &rx_desc)) { in gmac_receive() 351 if (!(rx_desc.rdes0 & RX_DESC_RDES0_OWN)) { in gmac_receive() 367 trace_npcm_gmac_debug_desc_data(DEVICE(gmac)->canonical_path, &rx_desc, in gmac_receive() 368 rx_desc.rdes0, rx_desc.rdes1, rx_desc.rdes2, in gmac_receive() 369 rx_desc.rdes3); in gmac_receive() 371 rx_desc.rdes0 = RX_DESC_RDES0_FIRST_DESC_MASK; in gmac_receive() 382 rx_desc.rdes0 &= ~RX_DESC_RDES0_OWN; in gmac_receive() 384 rx_desc.rdes0 |= RX_DESC_RDES0_FRM_TYPE_MASK; in gmac_receive() 387 rx_buf_len = RX_DESC_RDES1_BFFR1_SZ_MASK(rx_desc.rdes1); in gmac_receive() [all …]
|
H A D | npcm7xx_emc.c | 321 const NPCM7xxEMCRxDesc *rx_desc, in emc_set_next_rx_descriptor() argument 325 if (emc_write_rx_desc(rx_desc, desc_addr)) { in emc_set_next_rx_descriptor() 332 emc->regs[REG_CRXDSA] = RX_DESC_NRXDSA(rx_desc->nrxdsa); in emc_set_next_rx_descriptor() 496 NPCM7xxEMCRxDesc rx_desc; in emc_receive() local 553 if (emc_read_rx_desc(desc_addr, &rx_desc)) { in emc_receive() 561 if (!(rx_desc.status_and_length & RX_DESC_STATUS_OWNER_MASK)) { in emc_receive() 575 rx_desc.status_and_length &= ~RX_DESC_STATUS_OWNER_MASK; in emc_receive() 577 buf_addr = rx_desc.rxbsa; in emc_receive() 587 emc_set_next_rx_descriptor(emc, &rx_desc, desc_addr); in emc_receive() 596 rx_desc.status_and_length = len; in emc_receive() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | htt.c | 141 struct htt_rx_desc_v1 *rx_desc = container_of(rxd, in ath10k_qca99x0_rx_desc_get_l3_pad_bytes() local 145 return MS(__le32_to_cpu(rx_desc->msdu_end.qca99x0.info1), in ath10k_qca99x0_rx_desc_get_l3_pad_bytes() 151 struct htt_rx_desc_v1 *rx_desc = container_of(rxd, in ath10k_qca99x0_rx_desc_msdu_limit_error() local 155 return !!(rx_desc->msdu_end.common.info0 & in ath10k_qca99x0_rx_desc_msdu_limit_error() 192 struct htt_rx_desc_v2 *rx_desc = container_of(rxd, struct htt_rx_desc_v2, base); in ath10k_rx_desc_wcn3990_get_attention() local 194 return &rx_desc->attention; in ath10k_rx_desc_wcn3990_get_attention() 200 struct htt_rx_desc_v2 *rx_desc = container_of(rxd, struct htt_rx_desc_v2, base); in ath10k_rx_desc_wcn3990_get_frag_info() local 202 return &rx_desc->frag_info.common; in ath10k_rx_desc_wcn3990_get_frag_info() 208 struct htt_rx_desc_v2 *rx_desc = container_of(rxd, struct htt_rx_desc_v2, base); in ath10k_rx_desc_wcn3990_get_mpdu_start() local 210 return &rx_desc->mpdu_start; in ath10k_rx_desc_wcn3990_get_mpdu_start() [all …]
|
H A D | htt.h | 2236 struct htt_rx_desc_v1 *rx_desc; in ath10k_htt_rx_desc_get_attention() local 2241 rx_desc = container_of(rxd, struct htt_rx_desc_v1, base); in ath10k_htt_rx_desc_get_attention() 2242 return &rx_desc->attention; in ath10k_htt_rx_desc_get_attention() 2248 struct htt_rx_desc_v1 *rx_desc; in ath10k_htt_rx_desc_get_frag_info() local 2253 rx_desc = container_of(rxd, struct htt_rx_desc_v1, base); in ath10k_htt_rx_desc_get_frag_info() 2254 return &rx_desc->frag_info.common; in ath10k_htt_rx_desc_get_frag_info() 2260 struct htt_rx_desc_v1 *rx_desc; in ath10k_htt_rx_desc_get_mpdu_start() local 2265 rx_desc = container_of(rxd, struct htt_rx_desc_v1, base); in ath10k_htt_rx_desc_get_mpdu_start() 2266 return &rx_desc->mpdu_start; in ath10k_htt_rx_desc_get_mpdu_start() 2272 struct htt_rx_desc_v1 *rx_desc; in ath10k_htt_rx_desc_get_mpdu_end() local [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.h | 77 const union ice_32b_rx_flex_desc *rx_desc) in ice_is_non_eop() argument 81 if (likely(ice_test_staterr(rx_desc->wb.status_error0, ICE_RXD_EOF))) in ice_is_non_eop() 108 ice_get_vlan_tag_from_rx_desc(union ice_32b_rx_flex_desc *rx_desc) in ice_get_vlan_tag_from_rx_desc() argument 113 if (ice_test_staterr(rx_desc->wb.status_error0, stat_err_bits)) in ice_get_vlan_tag_from_rx_desc() 114 return le16_to_cpu(rx_desc->wb.l2tag1); in ice_get_vlan_tag_from_rx_desc() 117 if (ice_test_staterr(rx_desc->wb.status_error1, stat_err_bits)) in ice_get_vlan_tag_from_rx_desc() 118 return le16_to_cpu(rx_desc->wb.l2tag2_2nd); in ice_get_vlan_tag_from_rx_desc() 163 union ice_32b_rx_flex_desc *rx_desc,
|
H A D | ice_txrx_lib.c | 73 ice_rx_hash(struct ice_rx_ring *rx_ring, union ice_32b_rx_flex_desc *rx_desc, in ice_rx_hash() argument 82 if (rx_desc->wb.rxdid != ICE_RXDID_FLEX_NIC) in ice_rx_hash() 85 nic_mdid = (struct ice_32b_rx_flex_desc_nic *)rx_desc; in ice_rx_hash() 101 union ice_32b_rx_flex_desc *rx_desc, u16 ptype) in ice_rx_csum() argument 107 rx_status0 = le16_to_cpu(rx_desc->wb.status_error0); in ice_rx_csum() 108 rx_status1 = le16_to_cpu(rx_desc->wb.status_error1); in ice_rx_csum() 186 union ice_32b_rx_flex_desc *rx_desc, in ice_process_skb_fields() argument 189 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields() 194 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields() 197 ice_ptp_rx_hwtstamp(rx_ring, rx_desc, skb); in ice_process_skb_fields()
|
H A D | ice_virtchnl_fdir.h | 21 union ice_32b_rx_flex_desc rx_desc; member 50 union ice_32b_rx_flex_desc *rx_desc); 54 ice_vc_fdir_irq_handler(struct ice_vsi *ctrl_vsi, union ice_32b_rx_flex_desc *rx_desc) { } in ice_vc_fdir_irq_handler() argument
|
H A D | ice_xsk.c | 453 union ice_32b_rx_flex_desc *rx_desc, u16 count) in ice_fill_rx_descs() argument 462 rx_desc->read.pkt_addr = cpu_to_le64(dma); in ice_fill_rx_descs() 463 rx_desc->wb.status_error0 = 0; in ice_fill_rx_descs() 465 rx_desc++; in ice_fill_rx_descs() 486 union ice_32b_rx_flex_desc *rx_desc; in __ice_alloc_rx_bufs_zc() local 491 rx_desc = ICE_RX_DESC(rx_ring, ntu); in __ice_alloc_rx_bufs_zc() 496 rx_desc, in __ice_alloc_rx_bufs_zc() 502 rx_desc = ICE_RX_DESC(rx_ring, 0); in __ice_alloc_rx_bufs_zc() 509 nb_buffs = ice_fill_rx_descs(rx_ring->xsk_pool, xdp, rx_desc, count); in __ice_alloc_rx_bufs_zc() 866 union ice_32b_rx_flex_desc *rx_desc; in ice_clean_rx_irq_zc() local [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 119 union fm10k_rx_desc *rx_desc; in fm10k_alloc_rx_buffers() local 127 rx_desc = FM10K_RX_DESC(rx_ring, i); in fm10k_alloc_rx_buffers() 138 rx_desc->q.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); in fm10k_alloc_rx_buffers() 140 rx_desc++; in fm10k_alloc_rx_buffers() 144 rx_desc = FM10K_RX_DESC(rx_ring, 0); in fm10k_alloc_rx_buffers() 150 rx_desc->d.staterr = 0; in fm10k_alloc_rx_buffers() 253 union fm10k_rx_desc *rx_desc, in fm10k_add_rx_frag() argument 300 union fm10k_rx_desc *rx_desc, in fm10k_fetch_rx_buffer() argument 303 unsigned int size = le16_to_cpu(rx_desc->w.length); in fm10k_fetch_rx_buffer() 341 if (fm10k_add_rx_frag(rx_buffer, size, rx_desc, skb)) { in fm10k_fetch_rx_buffer() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | pch_gbe.c | 114 struct pch_gbe_rx_desc *rx_desc = &priv->rx_desc[0]; in pch_gbe_rx_descs_init() local 117 memset(rx_desc, 0, sizeof(struct pch_gbe_rx_desc) * PCH_GBE_DESC_NUM); in pch_gbe_rx_descs_init() 119 rx_desc[i].buffer_addr = dm_pci_virt_to_mem(priv->dev, in pch_gbe_rx_descs_init() 122 flush_dcache_range((ulong)rx_desc, (ulong)&rx_desc[PCH_GBE_DESC_NUM]); in pch_gbe_rx_descs_init() 124 writel(dm_pci_virt_to_mem(priv->dev, rx_desc), in pch_gbe_rx_descs_init() 129 writel(dm_pci_virt_to_mem(priv->dev, rx_desc + 1), in pch_gbe_rx_descs_init() 292 struct pch_gbe_rx_desc *rx_desc; in pch_gbe_recv() local 296 rx_desc = &priv->rx_desc[priv->rx_idx]; in pch_gbe_recv() 302 if (virt_to_phys(rx_desc) == hw_desc) in pch_gbe_recv() 306 invalidate_dcache_range((ulong)rx_desc, (ulong)&rx_desc[1]); in pch_gbe_recv() [all …]
|
H A D | armada100_fec.h | 115 (((sizeof(struct rx_desc) / PKTALIGN) + 1) * PKTALIGN) 142 struct rx_desc { struct 147 struct rx_desc *nxtdesc_p; /* Next descriptor pointer */ argument 187 struct rx_desc *rxfdp[4]; /* Ethernet First Rx Descriptor 190 struct rx_desc *rxcdp[4]; /* Ethernet Current Rx Descriptor 201 struct rx_desc *p_rxdesc; 202 struct rx_desc *p_rxdesc_curr;
|
H A D | ravb.c | 117 struct ravb_rxdesc rx_desc[RAVB_NUM_RX_DESC]; member 176 struct ravb_rxdesc *desc = ð->rx_desc[eth->rx_desc_idx]; in ravb_recv() 202 struct ravb_rxdesc *desc = ð->rx_desc[eth->rx_desc_idx]; in ravb_free_pkt() 210 desc = ð->rx_desc[eth->rx_desc_idx]; in ravb_free_pkt() 275 memset(eth->rx_desc, 0x0, desc_size); in ravb_rx_desc_init() 279 eth->rx_desc[i].data.ctrl = RAVB_DESC_DT_EEMPTY | in ravb_rx_desc_init() 281 eth->rx_desc[i].data.dptr = (uintptr_t)eth->rx_desc[i].packet; in ravb_rx_desc_init() 283 eth->rx_desc[i].link.ctrl = RAVB_DESC_DT_LINKFIX; in ravb_rx_desc_init() 284 eth->rx_desc[i].link.dptr = (uintptr_t)ð->rx_desc[i + 1]; in ravb_rx_desc_init() 288 eth->rx_desc[RAVB_NUM_RX_DESC - 1].link.ctrl = RAVB_DESC_DT_LINKFIX; in ravb_rx_desc_init() [all …]
|
H A D | altera_tse.c | 183 struct alt_sgdma_descriptor *rx_desc = priv->rx_desc; in altera_tse_recv_sgdma() local 186 if (rx_desc->descriptor_status & in altera_tse_recv_sgdma() 189 packet_length = rx_desc->actual_bytes_transferred; in altera_tse_recv_sgdma() 203 struct alt_sgdma_descriptor *rx_desc = priv->rx_desc; in altera_tse_free_pkt_sgdma() local 206 rx_desc, in altera_tse_free_pkt_sgdma() 207 rx_desc + 1, in altera_tse_free_pkt_sgdma() 217 alt_sgdma_start_transfer(priv->sgdma_rx, rx_desc); in altera_tse_free_pkt_sgdma() 248 struct alt_sgdma_descriptor *rx_desc = priv->rx_desc; in altera_tse_stop_sgdma() local 252 rx_desc->descriptor_control = 0; in altera_tse_stop_sgdma() 357 struct msgdma_extended_desc *desc = priv->rx_desc; in altera_tse_free_pkt_msgdma() [all …]
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 59 (unsigned long)((sp)->rx_desc))) 95 struct sgiseeq_rx_desc *rx_desc; member 202 if (!sp->rx_desc[i].skb) { in seeq_init_ring() 212 sp->rx_desc[i].skb = skb; in seeq_init_ring() 213 sp->rx_desc[i].rdma.pbuf = dma_addr; in seeq_init_ring() 215 sp->rx_desc[i].rdma.cntinfo = RCNTINFO_INIT; in seeq_init_ring() 216 dma_sync_desc_dev(dev, &sp->rx_desc[i]); in seeq_init_ring() 218 sp->rx_desc[i - 1].rdma.cntinfo |= HPCDMA_EOR; in seeq_init_ring() 219 dma_sync_desc_dev(dev, &sp->rx_desc[i - 1]); in seeq_init_ring() 238 if (sp->rx_desc[i].skb) { in seeq_purge_ring() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 153 struct iser_rx_desc *rx_desc; in isert_alloc_rx_descriptors() local 164 rx_desc = isert_conn->rx_descs; in isert_alloc_rx_descriptors() 166 for (i = 0; i < ISERT_QP_MAX_RECV_DTOS; i++, rx_desc++) { in isert_alloc_rx_descriptors() 167 dma_addr = ib_dma_map_single(ib_dev, rx_desc->buf, in isert_alloc_rx_descriptors() 172 rx_desc->dma_addr = dma_addr; in isert_alloc_rx_descriptors() 174 rx_sg = &rx_desc->rx_sg; in isert_alloc_rx_descriptors() 175 rx_sg->addr = rx_desc->dma_addr + isert_get_hdr_offset(rx_desc); in isert_alloc_rx_descriptors() 178 rx_desc->rx_cqe.done = isert_recv_done; in isert_alloc_rx_descriptors() 184 rx_desc = isert_conn->rx_descs; in isert_alloc_rx_descriptors() 185 for (j = 0; j < i; j++, rx_desc++) { in isert_alloc_rx_descriptors() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_rx.c | 274 struct ath12k_rx_desc_info *rx_desc; in ath12k_dp_rx_bufs_replenish() local 319 rx_desc = list_first_entry_or_null(&dp->rx_desc_free_list, in ath12k_dp_rx_bufs_replenish() 322 if (!rx_desc) { in ath12k_dp_rx_bufs_replenish() 327 rx_desc->skb = skb; in ath12k_dp_rx_bufs_replenish() 328 cookie = rx_desc->cookie; in ath12k_dp_rx_bufs_replenish() 329 list_del(&rx_desc->list); in ath12k_dp_rx_bufs_replenish() 330 list_add_tail(&rx_desc->list, &dp->rx_desc_used_list); in ath12k_dp_rx_bufs_replenish() 366 list_del(&rx_desc->list); in ath12k_dp_rx_bufs_replenish() 367 list_add_tail(&rx_desc->list, &dp->rx_desc_free_list); in ath12k_dp_rx_bufs_replenish() 368 rx_desc->skb = NULL; in ath12k_dp_rx_bufs_replenish() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_xsk.c | 243 union i40e_rx_desc *rx_desc; in i40e_alloc_rx_buffers_zc() local 248 rx_desc = I40E_RX_DESC(rx_ring, ntu); in i40e_alloc_rx_buffers_zc() 259 rx_desc->read.pkt_addr = cpu_to_le64(dma); in i40e_alloc_rx_buffers_zc() 260 rx_desc->read.hdr_addr = 0; in i40e_alloc_rx_buffers_zc() 262 rx_desc++; in i40e_alloc_rx_buffers_zc() 268 rx_desc = I40E_RX_DESC(rx_ring, 0); in i40e_alloc_rx_buffers_zc() 273 rx_desc->wb.qword1.status_error_len = 0; in i40e_alloc_rx_buffers_zc() 346 union i40e_rx_desc *rx_desc, in i40e_handle_xdp_result_zc() argument 389 i40e_process_skb_fields(rx_ring, rx_desc, skb); in i40e_handle_xdp_result_zc() 453 union i40e_rx_desc *rx_desc; in i40e_clean_rx_irq_zc() local [all …]
|
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 157 static __le32 wx_test_staterr(union wx_rx_desc *rx_desc, in wx_test_staterr() argument 160 return rx_desc->wb.upper.status_error & cpu_to_le32(stat_err_bits); in wx_test_staterr() 181 union wx_rx_desc *rx_desc, in wx_get_rx_buffer() argument 189 size = le16_to_cpu(rx_desc->wb.upper.length); in wx_get_rx_buffer() 204 if (!wx_test_staterr(rx_desc, WX_RXD_STAT_EOP)) { in wx_get_rx_buffer() 238 union wx_rx_desc *rx_desc) in wx_build_skb() argument 240 unsigned int size = le16_to_cpu(rx_desc->wb.upper.length); in wx_build_skb() 278 if (!wx_test_staterr(rx_desc, WX_RXD_STAT_EOP)) in wx_build_skb() 332 union wx_rx_desc *rx_desc; in wx_alloc_rx_buffers() local 339 rx_desc = WX_RX_DESC(rx_ring, i); in wx_alloc_rx_buffers() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-pxa2xx-dma.c | 136 struct dma_async_tx_descriptor *tx_desc, *rx_desc; in pxa2xx_spi_dma_prepare() local 146 rx_desc = pxa2xx_spi_dma_prepare_one(drv_data, DMA_DEV_TO_MEM, xfer); in pxa2xx_spi_dma_prepare() 147 if (!rx_desc) { in pxa2xx_spi_dma_prepare() 154 rx_desc->callback = pxa2xx_spi_dma_callback; in pxa2xx_spi_dma_prepare() 155 rx_desc->callback_param = drv_data; in pxa2xx_spi_dma_prepare() 157 dmaengine_submit(rx_desc); in pxa2xx_spi_dma_prepare()
|
/openbmc/linux/drivers/infiniband/ulp/iser/ |
H A D | iser_initiator.c | 228 struct iser_rx_desc *rx_desc; in iser_alloc_rx_descriptors() local 249 rx_desc = iser_conn->rx_descs; in iser_alloc_rx_descriptors() 251 for (i = 0; i < iser_conn->qp_max_recv_dtos; i++, rx_desc++) { in iser_alloc_rx_descriptors() 252 dma_addr = ib_dma_map_single(device->ib_device, (void *)rx_desc, in iser_alloc_rx_descriptors() 257 rx_desc->dma_addr = dma_addr; in iser_alloc_rx_descriptors() 258 rx_desc->cqe.done = iser_task_rsp; in iser_alloc_rx_descriptors() 259 rx_sg = &rx_desc->rx_sg; in iser_alloc_rx_descriptors() 260 rx_sg->addr = rx_desc->dma_addr; in iser_alloc_rx_descriptors() 268 rx_desc = iser_conn->rx_descs; in iser_alloc_rx_descriptors() 269 for (j = 0; j < i; j++, rx_desc++) in iser_alloc_rx_descriptors() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_xsk.c | 153 union ixgbe_adv_rx_desc *rx_desc; in ixgbe_alloc_rx_buffers_zc() local 163 rx_desc = IXGBE_RX_DESC(rx_ring, i); in ixgbe_alloc_rx_buffers_zc() 179 rx_desc->read.pkt_addr = cpu_to_le64(dma); in ixgbe_alloc_rx_buffers_zc() 181 rx_desc++; in ixgbe_alloc_rx_buffers_zc() 185 rx_desc = IXGBE_RX_DESC(rx_ring, 0); in ixgbe_alloc_rx_buffers_zc() 191 rx_desc->wb.upper.length = 0; in ixgbe_alloc_rx_buffers_zc() 260 union ixgbe_adv_rx_desc *rx_desc; in ixgbe_clean_rx_irq_zc() local 272 rx_desc = IXGBE_RX_DESC(rx_ring, rx_ring->next_to_clean); in ixgbe_clean_rx_irq_zc() 273 size = le16_to_cpu(rx_desc->wb.upper.length); in ixgbe_clean_rx_irq_zc() 285 if (unlikely(!ixgbe_test_staterr(rx_desc, in ixgbe_clean_rx_irq_zc() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.c | 920 union iavf_rx_desc *rx_desc; in iavf_alloc_rx_buffers() local 927 rx_desc = IAVF_RX_DESC(rx_ring, ntu); in iavf_alloc_rx_buffers() 943 rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); in iavf_alloc_rx_buffers() 945 rx_desc++; in iavf_alloc_rx_buffers() 949 rx_desc = IAVF_RX_DESC(rx_ring, 0); in iavf_alloc_rx_buffers() 955 rx_desc->wb.qword1.status_error_len = 0; in iavf_alloc_rx_buffers() 983 union iavf_rx_desc *rx_desc) in iavf_rx_checksum() argument 991 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in iavf_rx_checksum() 1090 union iavf_rx_desc *rx_desc, in iavf_rx_hash() argument 1102 if ((rx_desc->wb.qword1.status_error_len & rss_mask) == rss_mask) { in iavf_rx_hash() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 255 struct hal_rx_desc *rx_desc) in ath11k_dp_rxdesc_get_80211hdr() argument 259 rx_pkt_hdr = ab->hw_params.hw_ops->rx_desc_get_msdu_payload(rx_desc); in ath11k_dp_rxdesc_get_80211hdr() 265 struct hal_rx_desc *rx_desc) in ath11k_dp_rxdesc_mpdu_valid() argument 269 tlv_tag = ab->hw_params.hw_ops->rx_desc_get_mpdu_start_tag(rx_desc); in ath11k_dp_rxdesc_mpdu_valid() 275 struct hal_rx_desc *rx_desc) in ath11k_dp_rxdesc_get_ppduid() argument 277 return ab->hw_params.hw_ops->rx_desc_get_mpdu_ppdu_id(rx_desc); in ath11k_dp_rxdesc_get_ppduid() 1806 ath11k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath11k_dp_rx_msdu_coalesce() 1875 rx_attention = ath11k_dp_rx_get_attention(ar->ab, rxcb->rx_desc); in ath11k_dp_rx_h_csum_offload() 2007 if (ath11k_dp_rx_h_msdu_start_mesh_ctl_present(ar->ab, rxcb->rx_desc)) in ath11k_dp_rx_h_undecap_nwifi() 2111 hdr = (struct ieee80211_hdr *)ath11k_dp_rx_h_80211_hdr(ar->ab, rxcb->rx_desc); in ath11k_dp_rx_h_find_rfc1042() [all …]
|