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
net/ice: enable flow redirect on switch
[dpdk.git]
/
drivers
/
net
/
virtio
/
virtio_user
/
vhost.h
diff --git
a/drivers/net/virtio/virtio_user/vhost.h
b/drivers/net/virtio/virtio_user/vhost.h
index
83a85cc
..
1e784e5
100644
(file)
--- a/
drivers/net/virtio/virtio_user/vhost.h
+++ b/
drivers/net/virtio/virtio_user/vhost.h
@@
-2,8
+2,8
@@
* Copyright(c) 2010-2016 Intel Corporation
*/
* Copyright(c) 2010-2016 Intel Corporation
*/
-#ifndef _V
HOST_NET_USER
_H
-#define _V
HOST_NET_USER
_H
+#ifndef _V
IRTIO_USER_VHOST
_H
+#define _V
IRTIO_USER_VHOST
_H
#include <stdint.h>
#include <linux/types.h>
#include <stdint.h>
#include <linux/types.h>
@@
-67,7
+67,7
@@
enum vhost_user_request {
VHOST_USER_MAX
};
VHOST_USER_MAX
};
-const char * const vhost_msg_strings[VHOST_USER_MAX];
+
extern
const char * const vhost_msg_strings[VHOST_USER_MAX];
struct vhost_memory_region {
uint64_t guest_phys_addr;
struct vhost_memory_region {
uint64_t guest_phys_addr;