| 598 | } |
| 599 | |
| 600 | void dpaa_rx_cb_prepare(struct qm_dqrr_entry *dq, void **bufs) |
| 601 | { |
| 602 | struct dpaa_bp_info *bp_info = DPAA_BPID_TO_POOL_INFO(dq->fd.bpid); |
| 603 | void *ptr = rte_dpaa_mem_ptov(qm_fd_addr(&dq->fd)); |
| 604 | |
| 605 | /* In case of LS1046, annotation stashing is disabled due to L2 cache |
| 606 | * being bottleneck in case of multicore scenario for this platform. |
| 607 | * So we prefetch the annotation beforehand, so that it is available |
| 608 | * in cache when accessed. |
| 609 | */ |
| 610 | rte_prefetch0((void *)((uint8_t *)ptr + DEFAULT_RX_ICEOF)); |
| 611 | |
| 612 | *bufs = (struct rte_mbuf *)((char *)ptr - bp_info->meta_data_size); |
| 613 | } |
| 614 | |
| 615 | static uint16_t |
| 616 | dpaa_eth_queue_portal_rx(struct qman_fq *fq, |
nothing calls this directly
no test coverage detected