git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples: skip build when missing dependencies
[dpdk.git]
/
lib
/
vhost
/
socket.c
diff --git
a/lib/vhost/socket.c
b/lib/vhost/socket.c
index
d6f9414
..
82963c1
100644
(file)
--- a/
lib/vhost/socket.c
+++ b/
lib/vhost/socket.c
@@
-58,7
+58,7
@@
struct vhost_user_socket {
struct rte_vdpa_device *vdpa_dev;
struct rte_vdpa_device *vdpa_dev;
- struct vhost_device_ops const *notify_ops;
+ struct
rte_
vhost_device_ops const *notify_ops;
};
struct vhost_user_connection {
};
struct vhost_user_connection {
@@
-243,7
+243,7
@@
vhost_user_add_connection(int fd, struct vhost_user_socket *vsocket)
dev->async_copy = 1;
}
dev->async_copy = 1;
}
- VHOST_LOG_CONFIG(INFO, "new device, handle is %d
\n", vid
);
+ VHOST_LOG_CONFIG(INFO, "new device, handle is %d
, path is %s\n", vid, vsocket->path
);
if (vsocket->notify_ops->new_connection) {
ret = vsocket->notify_ops->new_connection(vid);
if (vsocket->notify_ops->new_connection) {
ret = vsocket->notify_ops->new_connection(vid);
@@
-1093,7
+1093,7
@@
again:
*/
int
rte_vhost_driver_callback_register(const char *path,
*/
int
rte_vhost_driver_callback_register(const char *path,
- struct vhost_device_ops const * const ops)
+ struct
rte_
vhost_device_ops const * const ops)
{
struct vhost_user_socket *vsocket;
{
struct vhost_user_socket *vsocket;
@@
-1106,7
+1106,7
@@
rte_vhost_driver_callback_register(const char *path,
return vsocket ? 0 : -1;
}
return vsocket ? 0 : -1;
}
-struct vhost_device_ops const *
+struct
rte_
vhost_device_ops const *
vhost_driver_callback_get(const char *path)
{
struct vhost_user_socket *vsocket;
vhost_driver_callback_get(const char *path)
{
struct vhost_user_socket *vsocket;