examples/ipsec-secgw: fix access to freed packet
[dpdk.git] / lib / librte_vhost / vhost_user.h
index 73b1fe2..2a650fe 100644 (file)
@@ -22,7 +22,8 @@
                                         (1ULL << VHOST_USER_PROTOCOL_F_SLAVE_REQ) | \
                                         (1ULL << VHOST_USER_PROTOCOL_F_CRYPTO_SESSION) | \
                                         (1ULL << VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD) | \
-                                        (1ULL << VHOST_USER_PROTOCOL_F_HOST_NOTIFIER))
+                                        (1ULL << VHOST_USER_PROTOCOL_F_HOST_NOTIFIER) | \
+                                        (1ULL << VHOST_USER_PROTOCOL_F_PAGEFAULT))
 
 typedef enum VhostUserRequest {
        VHOST_USER_NONE = 0,
@@ -147,7 +148,6 @@ typedef struct VhostUserMsg {
 /* vhost_user.c */
 int vhost_user_msg_handler(int vid, int fd);
 int vhost_user_iotlb_miss(struct virtio_net *dev, uint64_t iova, uint8_t perm);
-int vhost_user_host_notifier_ctrl(int vid, bool enable);
 
 /* socket.c */
 int read_fd_message(int sockfd, char *buf, int buflen, int *fds, int max_fds,