rte_vhost_enqueue_burst(int vid, uint16_t queue_id, struct rte_mbuf **pkts, uint16_t count) { struct virtio_net *dev = get_device(vid); if (!dev) return 0; if (unlikely(!(dev->flags & VIRTIO_DEV_BUILTIN_VIRTIO_NET))) { RTE_LOG(ERR, VHOST_DATA, "(%d) %s: built-in vho...
eventdev_pmd_vdev.h eventdev_private.c eventdev_trace.h eventdev_trace_points.c meson.build rte_event_crypto_adapter.c rte_event_crypto_adapter.h rte_event_dma_adapter.c rte_event_dma_adapter.h rte_event_eth_rx_adapter.c rte_event_eth_rx_adapter.h rte_event_eth_tx_adapte...
* Copy the dev_conf parameter into the dev structure. * rte_eth_dev_info_get() requires dev_conf, copy it before dev_info get */ if (dev_conf != &dev->data->dev_conf) - memcpy(&dev->data->dev_conf, dev_conf, - sizeof(dev->data->dev_conf)); + dev->data->dev_conf = ...
By use case CI/CD & Automation DevOps DevSecOps Resources Resources Learning Pathways White papers, Ebooks, Webinars Customer Stories Partners Open Source GitHub Sponsors Fund open source developers The ReadME Project GitHub community articles Repositories Topics Trending Collections Enterp...
rte_logs.dynamic_types_len=RTE_LOGTYPE_FIRST_EXT_ID; } 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. logtype_strings[] 数组的定义如下: structlogtype{ uint32_tlog_id; constchar*logtype; ...
event = spdk_event_allocate(rte_lcore_id(), _conn_destruct, conn,NULL,NULL); spdk_poller_unregister(&conn->poller, event); rte_atomic32_dec(&g_num_connections[rte_lcore_id()]); } 开发者ID:varun2784,项目名称:spdk,代码行数:11,代码来源:conn.c ...
开发者ID:qoriq-open-source,项目名称:dpdk,代码行数:27,代码来源:rte_event_eth_rx_adapter.c 示例2: pcap_lookupdev ▲点赞 5▼ char*pcap_lookupdev(char* errbuf){intport =0;structrte_eth_dev_infoinfo;if(globalInit(errbuf) != DPDKPCAP_OK) ...
case RTE_INTR_EVENT_DEL: epfd_op = EPOLL_CTL_DEL; rev = rte_intr_elist_index_get(intr_handle, efd_idx); - if (__atomic_load_n(&rev->status, - __ATOMIC_RELAXED) == RTE_EPOLL_INVALID) { + if (rte_atomic_load_explicit(&rev->status, ...
LOG_DEBUG(VHOST_DATA,"(%"PRIu64") virtio_dev_rx()\n", dev->device_fh);if(unlikely(queue_id !=VIRTIO_RXQ)) { LOG_DEBUG(VHOST_DATA,"mq isn't supported in this version.\n");return0; } vq= dev->virtqueue[VIRTIO_RXQ];
intsocket_id,189unsignedintflags, unsignedintalign, unsignedintbound)190{191structrte_mem_config *mcfg;192conststructrte_memzone *mz =NULL;193194/*get pointer to global configuration*/195mcfg = rte_eal_get_configuration()->mem_config;196(gdb) n195mcfg = rte_eal_get_configuration()->mem_...