Lines Matching refs:VHOST_LOG_CONFIG

96 	VHOST_LOG_CONFIG(ERR, "(%s) expect %d FDs for request %s, received %d\n",  in validate_msg_fds()
147 VHOST_LOG_CONFIG(ERR, "DMA engine map failed\n"); in async_dma_map()
163 VHOST_LOG_CONFIG(ERR, "DMA engine unmap failed\n"); in async_dma_map()
342 VHOST_LOG_CONFIG(ERR, "(%s) received invalid negotiated features.\n", in vhost_user_set_features()
360 VHOST_LOG_CONFIG(ERR, "(%s) features changed while device is running.\n", in vhost_user_set_features()
378 VHOST_LOG_CONFIG(INFO, "(%s) negotiated Virtio features: 0x%" PRIx64 "\n", in vhost_user_set_features()
380 VHOST_LOG_CONFIG(DEBUG, "(%s) mergeable RX buffers %s, virtio 1 %s\n", in vhost_user_set_features()
426 VHOST_LOG_CONFIG(ERR, "(%s) invalid virtqueue size %u\n", in vhost_user_set_vring_num()
444 VHOST_LOG_CONFIG(ERR, "(%s) invalid virtqueue size %u\n", in vhost_user_set_vring_num()
457 VHOST_LOG_CONFIG(ERR, in vhost_user_set_vring_num()
471 VHOST_LOG_CONFIG(ERR, in vhost_user_set_vring_num()
483 VHOST_LOG_CONFIG(ERR, "(%s) failed to allocate memory for batching copy.\n", in vhost_user_set_vring_num()
520 VHOST_LOG_CONFIG(ERR, "(%s) unable to get virtqueue %d numa information.\n", in numa_realloc()
530 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc virtqueue %d on node %d\n", in numa_realloc()
536 VHOST_LOG_CONFIG(INFO, "(%s) reallocated virtqueue on node %d\n", in numa_realloc()
548 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc shadow packed on node %d\n", in numa_realloc()
559 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc shadow split on node %d\n", in numa_realloc()
569 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc batch copy elem on node %d\n", in numa_realloc()
580 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc log cache on node %d\n", in numa_realloc()
592 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc resubmit inflight on node %d\n", in numa_realloc()
604 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc resubmit list on node %d\n", in numa_realloc()
621 VHOST_LOG_CONFIG(ERR, "(%s) unable to get numa information.\n", dev->ifname); in numa_realloc()
630 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc dev on node %d\n", in numa_realloc()
635 VHOST_LOG_CONFIG(INFO, "(%s) reallocated device on node %d\n", dev->ifname, node); in numa_realloc()
642 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc mem table on node %d\n", in numa_realloc()
651 VHOST_LOG_CONFIG(ERR, "(%s) failed to realloc guest pages on node %d\n", in numa_realloc()
744 VHOST_LOG_CONFIG(DEBUG, "(%s) failed to map log_guest_addr.\n", in translate_ring_addresses()
757 VHOST_LOG_CONFIG(DEBUG, "(%s) failed to map desc_packed ring.\n", in translate_ring_addresses()
772 VHOST_LOG_CONFIG(DEBUG, "(%s) failed to find driver area address.\n", in translate_ring_addresses()
783 VHOST_LOG_CONFIG(DEBUG, "(%s) failed to find device area address.\n", in translate_ring_addresses()
800 VHOST_LOG_CONFIG(DEBUG, "(%s) failed to map desc ring.\n", dev->ifname); in translate_ring_addresses()
815 VHOST_LOG_CONFIG(DEBUG, "(%s) failed to map avail ring.\n", dev->ifname); in translate_ring_addresses()
827 VHOST_LOG_CONFIG(DEBUG, "(%s) failed to map used ring.\n", dev->ifname); in translate_ring_addresses()
832 VHOST_LOG_CONFIG(WARNING, "(%s) last_used_idx (%u) and vq->used->idx (%u) mismatches;\n", in translate_ring_addresses()
837 VHOST_LOG_CONFIG(WARNING, "(%s) some packets maybe resent for Tx and dropped for Rx\n", in translate_ring_addresses()
843 VHOST_LOG_CONFIG(DEBUG, "(%s) mapped address desc: %p\n", dev->ifname, vq->desc); in translate_ring_addresses()
844 VHOST_LOG_CONFIG(DEBUG, "(%s) mapped address avail: %p\n", dev->ifname, vq->avail); in translate_ring_addresses()
845 VHOST_LOG_CONFIG(DEBUG, "(%s) mapped address used: %p\n", dev->ifname, vq->used); in translate_ring_addresses()
846 VHOST_LOG_CONFIG(DEBUG, "(%s) log_guest_addr: %" PRIx64 "\n", in translate_ring_addresses()
926 VHOST_LOG_CONFIG(INFO, in vhost_user_set_vring_base()
948 VHOST_LOG_CONFIG(ERR, "cannot realloc guest_pages\n"); in add_one_guest_page()
1029 VHOST_LOG_CONFIG(INFO, "(%s) guest physical page region %u\n", in dump_guest_pages()
1031 VHOST_LOG_CONFIG(INFO, "(%s)\tguest_phys_addr: %" PRIx64 "\n", in dump_guest_pages()
1033 VHOST_LOG_CONFIG(INFO, "(%s)\thost_iova : %" PRIx64 "\n", in dump_guest_pages()
1035 VHOST_LOG_CONFIG(INFO, "(%s)\tsize : %" PRIx64 "\n", in dump_guest_pages()
1084 VHOST_LOG_CONFIG(ERR, "(%s) failed to register ufd for region " in vhost_user_postcopy_region_register()
1095 VHOST_LOG_CONFIG(INFO, in vhost_user_postcopy_region_register()
1144 VHOST_LOG_CONFIG(ERR, "(%s) failed to read qemu ack on postcopy set-mem-table\n", in vhost_user_postcopy_register()
1153 VHOST_LOG_CONFIG(ERR, "(%s) bad qemu ack on postcopy set-mem-table (%d)\n", in vhost_user_postcopy_register()
1180 VHOST_LOG_CONFIG(ERR, "(%s) mmap_offset (%#"PRIx64") and memory_size (%#"PRIx64") overflow\n", in vhost_user_mmap_region()
1195 VHOST_LOG_CONFIG(ERR, "(%s) couldn't get hugepage size through fstat\n", in vhost_user_mmap_region()
1209 VHOST_LOG_CONFIG(ERR, "(%s) mmap size (0x%" PRIx64 ") or alignment (0x%" PRIx64 ") is invalid\n", in vhost_user_mmap_region()
1219 VHOST_LOG_CONFIG(ERR, "(%s) mmap failed (%s).\n", dev->ifname, strerror(errno)); in vhost_user_mmap_region()
1229 VHOST_LOG_CONFIG(ERR, "(%s) adding guest pages to region failed.\n", in vhost_user_mmap_region()
1235 VHOST_LOG_CONFIG(INFO, "(%s) guest memory region size: 0x%" PRIx64 "\n", in vhost_user_mmap_region()
1237 VHOST_LOG_CONFIG(INFO, "(%s)\t guest physical addr: 0x%" PRIx64 "\n", in vhost_user_mmap_region()
1239 VHOST_LOG_CONFIG(INFO, "(%s)\t guest virtual addr: 0x%" PRIx64 "\n", in vhost_user_mmap_region()
1241 VHOST_LOG_CONFIG(INFO, "(%s)\t host virtual addr: 0x%" PRIx64 "\n", in vhost_user_mmap_region()
1243 VHOST_LOG_CONFIG(INFO, "(%s)\t mmap addr : 0x%" PRIx64 "\n", in vhost_user_mmap_region()
1245 VHOST_LOG_CONFIG(INFO, "(%s)\t mmap size : 0x%" PRIx64 "\n", in vhost_user_mmap_region()
1247 VHOST_LOG_CONFIG(INFO, "(%s)\t mmap align: 0x%" PRIx64 "\n", in vhost_user_mmap_region()
1249 VHOST_LOG_CONFIG(INFO, "(%s)\t mmap off : 0x%" PRIx64 "\n", in vhost_user_mmap_region()
1272 VHOST_LOG_CONFIG(ERR, "(%s) too many memory regions (%u)\n", in vhost_user_set_mem_table()
1278 VHOST_LOG_CONFIG(INFO, "(%s) memory regions not changed\n", dev->ifname); in vhost_user_set_mem_table()
1329 VHOST_LOG_CONFIG(ERR, in vhost_user_set_mem_table()
1339 VHOST_LOG_CONFIG(ERR, in vhost_user_set_mem_table()
1362 VHOST_LOG_CONFIG(ERR, "(%s) failed to mmap region %u\n", dev->ifname, i); in vhost_user_set_mem_table()
1477 VHOST_LOG_CONFIG(INFO, "(%s) virtio is now ready for processing.\n", dev->ifname); in virtio_is_ready()
1497 VHOST_LOG_CONFIG(ERR, "(%s) failed to get inflight buffer fd\n", in inflight_mem_alloc()
1506 VHOST_LOG_CONFIG(ERR, "(%s) failed to alloc inflight buffer\n", dev->ifname); in inflight_mem_alloc()
1513 VHOST_LOG_CONFIG(ERR, "(%s) failed to mmap inflight buffer\n", dev->ifname); in inflight_mem_alloc()
1553 VHOST_LOG_CONFIG(ERR, "(%s) invalid get_inflight_fd message size is %d\n", in vhost_user_get_inflight_fd()
1569 VHOST_LOG_CONFIG(ERR, "(%s) failed to alloc dev inflight area\n", in vhost_user_get_inflight_fd()
1579 VHOST_LOG_CONFIG(INFO, "(%s) get_inflight_fd num_queues: %u\n", in vhost_user_get_inflight_fd()
1581 VHOST_LOG_CONFIG(INFO, "(%s) get_inflight_fd queue_size: %u\n", in vhost_user_get_inflight_fd()
1592 VHOST_LOG_CONFIG(ERR, "(%s) failed to alloc vhost inflight area\n", dev->ifname); in vhost_user_get_inflight_fd()
1626 VHOST_LOG_CONFIG(INFO, "(%s) send inflight mmap_size: %"PRIu64"\n", in vhost_user_get_inflight_fd()
1628 VHOST_LOG_CONFIG(INFO, "(%s) send inflight mmap_offset: %"PRIu64"\n", in vhost_user_get_inflight_fd()
1630 VHOST_LOG_CONFIG(INFO, "(%s) send inflight fd: %d\n", dev->ifname, ctx->fds[0]); in vhost_user_get_inflight_fd()
1654 VHOST_LOG_CONFIG(ERR, "(%s) invalid set_inflight_fd message size is %d,fd is %d\n", in vhost_user_set_inflight_fd()
1669 VHOST_LOG_CONFIG(INFO, "(%s) set_inflight_fd mmap_size: %"PRIu64"\n", in vhost_user_set_inflight_fd()
1671 VHOST_LOG_CONFIG(INFO, "(%s) set_inflight_fd mmap_offset: %"PRIu64"\n", in vhost_user_set_inflight_fd()
1673 VHOST_LOG_CONFIG(INFO, "(%s) set_inflight_fd num_queues: %u\n", dev->ifname, num_queues); in vhost_user_set_inflight_fd()
1674 VHOST_LOG_CONFIG(INFO, "(%s) set_inflight_fd queue_size: %u\n", dev->ifname, queue_size); in vhost_user_set_inflight_fd()
1675 VHOST_LOG_CONFIG(INFO, "(%s) set_inflight_fd fd: %d\n", dev->ifname, fd); in vhost_user_set_inflight_fd()
1676 VHOST_LOG_CONFIG(INFO, "(%s) set_inflight_fd pervq_inflight_size: %d\n", in vhost_user_set_inflight_fd()
1690 VHOST_LOG_CONFIG(ERR, "(%s) failed to alloc dev inflight area\n", in vhost_user_set_inflight_fd()
1705 VHOST_LOG_CONFIG(ERR, "(%s) failed to mmap share memory.\n", dev->ifname); in vhost_user_set_inflight_fd()
1755 VHOST_LOG_CONFIG(INFO, "(%s) vring call idx:%d file:%d\n", in vhost_user_set_vring_call()
1786 VHOST_LOG_CONFIG(INFO, "(%s) not implemented\n", dev->ifname); in vhost_user_set_vring_err()
1852 VHOST_LOG_CONFIG(ERR, in vhost_check_queue_inflights_split()
1862 VHOST_LOG_CONFIG(ERR, in vhost_check_queue_inflights_split()
1950 VHOST_LOG_CONFIG(ERR, in vhost_check_queue_inflights_packed()
1960 VHOST_LOG_CONFIG(ERR, in vhost_check_queue_inflights_packed()
2009 VHOST_LOG_CONFIG(INFO, "(%s) vring kick idx:%d file:%d\n", in vhost_user_set_vring_kick()
2045 VHOST_LOG_CONFIG(ERR, "(%s) failed to inflights for vq: %d\n", in vhost_user_set_vring_kick()
2051 VHOST_LOG_CONFIG(ERR, "(%s) failed to inflights for vq: %d\n", in vhost_user_set_vring_kick()
2091 VHOST_LOG_CONFIG(INFO, "(%s) vring base idx:%d file:%d\n", in vhost_user_get_vring_base()
2148 VHOST_LOG_CONFIG(INFO, "(%s) set queue enable: %d to qp idx: %d\n", in vhost_user_set_vring_enable()
2153 VHOST_LOG_CONFIG(ERR, in vhost_user_set_vring_enable()
2195 VHOST_LOG_CONFIG(ERR, "(%s) received invalid protocol features.\n", dev->ifname); in vhost_user_set_protocol_features()
2200 VHOST_LOG_CONFIG(INFO, "(%s) negotiated Vhost-user protocol features: 0x%" PRIx64 "\n", in vhost_user_set_protocol_features()
2221 VHOST_LOG_CONFIG(ERR, "(%s) invalid log fd: %d\n", dev->ifname, fd); in vhost_user_set_log_base()
2226 VHOST_LOG_CONFIG(ERR, "(%s) invalid log base msg size: %"PRId32" != %d\n", in vhost_user_set_log_base()
2236 VHOST_LOG_CONFIG(ERR, in vhost_user_set_log_base()
2242 VHOST_LOG_CONFIG(INFO, "(%s) log mmap size: %"PRId64", offset: %"PRId64"\n", in vhost_user_set_log_base()
2252 VHOST_LOG_CONFIG(ERR, "(%s) mmap log base failed!\n", dev->ifname); in vhost_user_set_log_base()
2281 VHOST_LOG_CONFIG(ERR, "(%s) failed to allocate VQ logging cache\n", in vhost_user_set_log_base()
2309 VHOST_LOG_CONFIG(INFO, "(%s) not implemented.\n", dev->ifname); in vhost_user_set_log_fd()
2331 VHOST_LOG_CONFIG(DEBUG, "(%s) MAC: " RTE_ETHER_ADDR_PRT_FMT "\n", in vhost_user_send_rarp()
2359 VHOST_LOG_CONFIG(ERR, "(%s) invalid MTU size (%"PRIu64")\n", in vhost_user_net_set_mtu()
2382 VHOST_LOG_CONFIG(ERR, "(%s) invalid file descriptor for slave channel (%d)\n", in vhost_user_set_req_fd()
2521 VHOST_LOG_CONFIG(ERR, "(%s) invalid IOTLB message type (%d)\n", in vhost_user_iotlb_msg()
2541 VHOST_LOG_CONFIG(ERR, "(%s) userfaultfd not available: %s\n", in vhost_user_set_postcopy_advise()
2548 VHOST_LOG_CONFIG(ERR, "(%s) UFFDIO_API ioctl failure: %s\n", in vhost_user_set_postcopy_advise()
2574 VHOST_LOG_CONFIG(ERR, "(%s) regions already registered at postcopy-listen\n", in vhost_user_set_postcopy_listen()
2626 VHOST_LOG_CONFIG(ERR, "(%s) invalid VHOST_USER_SET_STATUS payload 0x%" PRIx64 "\n", in vhost_user_set_status()
2635 VHOST_LOG_CONFIG(ERR, in vhost_user_set_status()
2645 VHOST_LOG_CONFIG(INFO, "(%s) new device status(0x%08x):\n", dev->ifname, in vhost_user_set_status()
2647 VHOST_LOG_CONFIG(INFO, "(%s)\t-RESET: %u\n", dev->ifname, in vhost_user_set_status()
2649 VHOST_LOG_CONFIG(INFO, "(%s)\t-ACKNOWLEDGE: %u\n", dev->ifname, in vhost_user_set_status()
2651 VHOST_LOG_CONFIG(INFO, "(%s)\t-DRIVER: %u\n", dev->ifname, in vhost_user_set_status()
2653 VHOST_LOG_CONFIG(INFO, "(%s)\t-FEATURES_OK: %u\n", dev->ifname, in vhost_user_set_status()
2655 VHOST_LOG_CONFIG(INFO, "(%s)\t-DRIVER_OK: %u\n", dev->ifname, in vhost_user_set_status()
2657 VHOST_LOG_CONFIG(INFO, "(%s)\t-DEVICE_NEED_RESET: %u\n", dev->ifname, in vhost_user_set_status()
2659 VHOST_LOG_CONFIG(INFO, "(%s)\t-FAILED: %u\n", dev->ifname, in vhost_user_set_status()
2715 VHOST_LOG_CONFIG(ERR, "(%s) Unexpected header size read\n", dev->ifname); in read_vhost_message()
2722 VHOST_LOG_CONFIG(ERR, "(%s) invalid msg size: %d\n", in read_vhost_message()
2730 VHOST_LOG_CONFIG(ERR, "(%s) read control message failed\n", dev->ifname); in read_vhost_message()
2810 VHOST_LOG_CONFIG(ERR, "(%s) invalid vring index: %u\n", dev->ifname, vring_idx); in vhost_user_check_and_alloc_queue_pair()
2874 VHOST_LOG_CONFIG(ERR, "(%s) failed to get callback ops for driver\n", in vhost_user_msg_handler()
2883 VHOST_LOG_CONFIG(ERR, "(%s) vhost read message failed\n", dev->ifname); in vhost_user_msg_handler()
2885 VHOST_LOG_CONFIG(INFO, "(%s) vhost peer closed\n", dev->ifname); in vhost_user_msg_handler()
2899 VHOST_LOG_CONFIG(INFO, "(%s) read message %s\n", in vhost_user_msg_handler()
2902 VHOST_LOG_CONFIG(DEBUG, "(%s) read message %s\n", in vhost_user_msg_handler()
2905 VHOST_LOG_CONFIG(DEBUG, "(%s) external request %d\n", dev->ifname, request); in vhost_user_msg_handler()
2910 VHOST_LOG_CONFIG(ERR, "(%s) failed to alloc queue\n", dev->ifname); in vhost_user_msg_handler()
2977 VHOST_LOG_CONFIG(ERR, "(%s) processing %s failed.\n", in vhost_user_msg_handler()
2982 VHOST_LOG_CONFIG(DEBUG, "(%s) processing %s succeeded.\n", in vhost_user_msg_handler()
2987 VHOST_LOG_CONFIG(DEBUG, "(%s) processing %s succeeded and needs reply.\n", in vhost_user_msg_handler()
3016 VHOST_LOG_CONFIG(ERR, "(%s) vhost message (req: %d) was not handled.\n", in vhost_user_msg_handler()
3033 VHOST_LOG_CONFIG(ERR, "(%s) vhost message handling failed.\n", dev->ifname); in vhost_user_msg_handler()
3070 VHOST_LOG_CONFIG(ERR, "(%s) failed to configure vDPA device\n", in vhost_user_msg_handler()
3092 VHOST_LOG_CONFIG(ERR, "(%s) vhost read slave message reply failed\n", in process_slave_message_reply()
3095 VHOST_LOG_CONFIG(INFO, "(%s) vhost peer closed\n", dev->ifname); in process_slave_message_reply()
3102 VHOST_LOG_CONFIG(ERR, "(%s) received unexpected msg type (%u), expected %u\n", in process_slave_message_reply()
3134 VHOST_LOG_CONFIG(ERR, "(%s) failed to send IOTLB miss message (%d)\n", in vhost_user_iotlb_miss()
3159 VHOST_LOG_CONFIG(ERR, "(%s) failed to send config change (%d)\n", in vhost_user_slave_config_change()
3207 VHOST_LOG_CONFIG(ERR, "(%s) failed to set host notifier (%d)\n", in vhost_user_slave_set_vring_host_notifier()