07199cc622
- Create DPDK packages for 32 bit x86(bsc#977639). - Add upstream patch for the ixgbe driver * 0007-ixgbe-fix-VLAN-filter-missing-brackets.patch: Fix VLAN filtering logic by adding the missing brackets in the 'if' statement. - DPDK is most common vhost-user backend, Adding upstream patches to help qemu vm live migration with vhost-user (fate#320713). [+ 0004-54f9e32-vhost-handle-dirty-pages-logging-request.patch + 0005-d293dac-vhost-claim-support-of-guest-announce.patch + 0006-d639996-vhost-enable-log_shmfd-protocol-feature.patch] OBS-URL: https://build.opensuse.org/request/show/395036 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=2
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
commit d639996a74fa71a9553bcef7cb2b2e9bb0fd5203
|
|
Author: Yuanhan Liu <yuanhan.liu@linux.intel.com>
|
|
Date: Fri Jan 29 12:58:02 2016 +0800
|
|
|
|
vhost: enable log_shmfd protocol feature
|
|
|
|
To claim that we support vhost-user live migration support:
|
|
SET_LOG_BASE request will be send only when this feature flag
|
|
is set.
|
|
|
|
Besides this flag, we actually need another feature flag set
|
|
to make vhost-user live migration work: VHOST_F_LOG_ALL.
|
|
Which, however, has been enabled long time ago.
|
|
|
|
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
|
|
Tested-by: Pavel Fedin <p.fedin@samsung.com>
|
|
|
|
Index: dpdk-2.2.0/lib/librte_vhost/vhost_user/virtio-net-user.h
|
|
===================================================================
|
|
--- dpdk-2.2.0.orig/lib/librte_vhost/vhost_user/virtio-net-user.h
|
|
+++ dpdk-2.2.0/lib/librte_vhost/vhost_user/virtio-net-user.h
|
|
@@ -38,8 +38,10 @@
|
|
#include "vhost-net-user.h"
|
|
|
|
#define VHOST_USER_PROTOCOL_F_MQ 0
|
|
+#define VHOST_USER_PROTOCOL_F_LOG_SHMFD 1
|
|
|
|
-#define VHOST_USER_PROTOCOL_FEATURES (1ULL << VHOST_USER_PROTOCOL_F_MQ)
|
|
+#define VHOST_USER_PROTOCOL_FEATURES ((1ULL << VHOST_USER_PROTOCOL_F_MQ) | \
|
|
+ (1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD))
|
|
|
|
int user_set_mem_table(struct vhost_device_ctx, struct VhostUserMsg *);
|
|
|