Lines Matching refs:ifname

97 		dev->ifname, expected_fds,  in validate_msg_fds()
298 rte_vhost_driver_get_features(dev->ifname, &features); in vhost_user_get_features()
318 rte_vhost_driver_get_queue_num(dev->ifname, &queue_num); in vhost_user_get_queue_num()
340 rte_vhost_driver_get_features(dev->ifname, &vhost_features); in vhost_user_set_features()
343 dev->ifname); in vhost_user_set_features()
361 dev->ifname); in vhost_user_set_features()
379 dev->ifname, dev->features); in vhost_user_set_features()
381 dev->ifname, in vhost_user_set_features()
427 dev->ifname, ctx->msg.payload.state.num); in vhost_user_set_vring_num()
445 dev->ifname, vq->size); in vhost_user_set_vring_num()
459 dev->ifname); in vhost_user_set_vring_num()
473 dev->ifname); in vhost_user_set_vring_num()
484 dev->ifname); in vhost_user_set_vring_num()
521 dev->ifname, index); in numa_realloc()
531 dev->ifname, index, node); in numa_realloc()
537 dev->ifname, node); in numa_realloc()
549 dev->ifname, node); in numa_realloc()
560 dev->ifname, node); in numa_realloc()
570 dev->ifname, node); in numa_realloc()
581 dev->ifname, node); in numa_realloc()
593 dev->ifname, node); in numa_realloc()
605 dev->ifname, node); in numa_realloc()
621 VHOST_LOG_CONFIG(ERR, "(%s) unable to get numa information.\n", dev->ifname); in numa_realloc()
631 old_dev->ifname, node); in numa_realloc()
635 VHOST_LOG_CONFIG(INFO, "(%s) reallocated device on node %d\n", dev->ifname, node); in numa_realloc()
643 dev->ifname, node); in numa_realloc()
652 dev->ifname, node); in numa_realloc()
745 dev->ifname); in translate_ring_addresses()
758 dev->ifname); in translate_ring_addresses()
773 dev->ifname); in translate_ring_addresses()
784 dev->ifname); 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()
833 dev->ifname, in translate_ring_addresses()
838 dev->ifname); 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()
847 dev->ifname, vq->log_guest_addr); in translate_ring_addresses()
928 dev->ifname, ctx->msg.payload.state.index, vq->last_used_idx, in vhost_user_set_vring_base()
1030 dev->ifname, i); in dump_guest_pages()
1032 dev->ifname, page->guest_phys_addr); in dump_guest_pages()
1034 dev->ifname, page->host_iova); in dump_guest_pages()
1036 dev->ifname, page->size); in dump_guest_pages()
1086 dev->ifname, in vhost_user_postcopy_region_register()
1097 dev->ifname, in vhost_user_postcopy_region_register()
1145 dev->ifname); in vhost_user_postcopy_register()
1154 dev->ifname, ack_ctx.msg.request.master); in vhost_user_postcopy_register()
1181 dev->ifname, mmap_offset, region->size); in vhost_user_mmap_region()
1196 dev->ifname); in vhost_user_mmap_region()
1210 dev->ifname, region->size + mmap_offset, alignment); in vhost_user_mmap_region()
1219 VHOST_LOG_CONFIG(ERR, "(%s) mmap failed (%s).\n", dev->ifname, strerror(errno)); in vhost_user_mmap_region()
1230 dev->ifname); in vhost_user_mmap_region()
1236 dev->ifname, region->size); in vhost_user_mmap_region()
1238 dev->ifname, region->guest_phys_addr); in vhost_user_mmap_region()
1240 dev->ifname, region->guest_user_addr); in vhost_user_mmap_region()
1242 dev->ifname, region->host_user_addr); in vhost_user_mmap_region()
1244 dev->ifname, (uint64_t)(uintptr_t)mmap_addr); in vhost_user_mmap_region()
1246 dev->ifname, mmap_size); in vhost_user_mmap_region()
1248 dev->ifname, alignment); in vhost_user_mmap_region()
1250 dev->ifname, mmap_offset); in vhost_user_mmap_region()
1273 dev->ifname, memory->nregions); 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()
1331 dev->ifname); in vhost_user_set_mem_table()
1341 dev->ifname); 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()
1498 dev->ifname); 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()
1554 dev->ifname, ctx->msg.size); in vhost_user_get_inflight_fd()
1570 dev->ifname); in vhost_user_get_inflight_fd()
1580 dev->ifname, ctx->msg.payload.inflight.num_queues); in vhost_user_get_inflight_fd()
1582 dev->ifname, ctx->msg.payload.inflight.queue_size); 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()
1627 dev->ifname, ctx->msg.payload.inflight.mmap_size); in vhost_user_get_inflight_fd()
1629 dev->ifname, ctx->msg.payload.inflight.mmap_offset); 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()
1655 dev->ifname, ctx->msg.size, fd); in vhost_user_set_inflight_fd()
1670 dev->ifname, mmap_size); in vhost_user_set_inflight_fd()
1672 dev->ifname, mmap_offset); 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()
1677 dev->ifname, pervq_inflight_size); in vhost_user_set_inflight_fd()
1691 dev->ifname); 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()
1756 dev->ifname, file.index, file.fd); in vhost_user_set_vring_call()
1786 VHOST_LOG_CONFIG(INFO, "(%s) not implemented\n", dev->ifname); in vhost_user_set_vring_err()
1854 dev->ifname); in vhost_check_queue_inflights_split()
1864 dev->ifname); in vhost_check_queue_inflights_split()
1952 dev->ifname); in vhost_check_queue_inflights_packed()
1962 dev->ifname); in vhost_check_queue_inflights_packed()
2010 dev->ifname, file.index, file.fd); in vhost_user_set_vring_kick()
2046 dev->ifname, file.index); in vhost_user_set_vring_kick()
2052 dev->ifname, file.index); in vhost_user_set_vring_kick()
2092 dev->ifname, ctx->msg.payload.state.index, in vhost_user_get_vring_base()
2149 dev->ifname, enable, index); in vhost_user_set_vring_enable()
2155 dev->ifname); in vhost_user_set_vring_enable()
2173 rte_vhost_driver_get_features(dev->ifname, &features); in vhost_user_get_protocol_features()
2174 rte_vhost_driver_get_protocol_features(dev->ifname, &protocol_features); in vhost_user_get_protocol_features()
2192 rte_vhost_driver_get_protocol_features(dev->ifname, in vhost_user_set_protocol_features()
2195 VHOST_LOG_CONFIG(ERR, "(%s) received invalid protocol features.\n", dev->ifname); in vhost_user_set_protocol_features()
2201 dev->ifname, dev->protocol_features); 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()
2227 dev->ifname, ctx->msg.size, (int)sizeof(VhostUserLog)); in vhost_user_set_log_base()
2238 dev->ifname, off, size); in vhost_user_set_log_base()
2243 dev->ifname, size, off); 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()
2282 dev->ifname); in vhost_user_set_log_base()
2309 VHOST_LOG_CONFIG(INFO, "(%s) not implemented.\n", dev->ifname); in vhost_user_set_log_fd()
2332 dev->ifname, mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); in vhost_user_send_rarp()
2360 dev->ifname, ctx->msg.payload.u64); in vhost_user_net_set_mtu()
2383 dev->ifname, fd); in vhost_user_set_req_fd()
2522 dev->ifname, imsg->type); in vhost_user_iotlb_msg()
2542 dev->ifname, strerror(errno)); in vhost_user_set_postcopy_advise()
2549 dev->ifname, strerror(errno)); in vhost_user_set_postcopy_advise()
2575 dev->ifname); in vhost_user_set_postcopy_listen()
2627 dev->ifname, ctx->msg.payload.u64); in vhost_user_set_status()
2637 dev->ifname); 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()
2710 ret = read_fd_message(dev->ifname, sockfd, (char *)&ctx->msg, VHOST_USER_HDR_SIZE, in read_vhost_message()
2715 VHOST_LOG_CONFIG(ERR, "(%s) Unexpected header size read\n", dev->ifname); in read_vhost_message()
2723 dev->ifname, ctx->msg.size); in read_vhost_message()
2730 VHOST_LOG_CONFIG(ERR, "(%s) read control message failed\n", dev->ifname); in read_vhost_message()
2744 return send_fd_message(dev->ifname, sockfd, (char *)&ctx->msg, in send_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()
2872 dev->notify_ops = vhost_driver_callback_get(dev->ifname); in vhost_user_msg_handler()
2875 dev->ifname); 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()
2900 dev->ifname, msg_handler->description); in vhost_user_msg_handler()
2903 dev->ifname, msg_handler->description); 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()
2978 dev->ifname, msg_handler->description); in vhost_user_msg_handler()
2983 dev->ifname, msg_handler->description); in vhost_user_msg_handler()
2988 dev->ifname, msg_handler->description); in vhost_user_msg_handler()
3017 dev->ifname, request); in vhost_user_msg_handler()
3033 VHOST_LOG_CONFIG(ERR, "(%s) vhost message handling failed.\n", dev->ifname); in vhost_user_msg_handler()
3071 dev->ifname); in vhost_user_msg_handler()
3093 dev->ifname); in process_slave_message_reply()
3095 VHOST_LOG_CONFIG(INFO, "(%s) vhost peer closed\n", dev->ifname); in process_slave_message_reply()
3103 dev->ifname, msg_reply.msg.request.slave, ctx->msg.request.slave); in process_slave_message_reply()
3135 dev->ifname, ret); in vhost_user_iotlb_miss()
3160 dev->ifname, ret); in vhost_user_slave_config_change()
3208 dev->ifname, ret); in vhost_user_slave_set_vring_host_notifier()