diff options
author | 2017-05-16 16:07:16 +0200 | |
---|---|---|
committer | 2017-05-17 15:05:06 +0200 | |
commit | 630620939cb681826851bf13c225b4cb89d6aa07 (patch) | |
tree | b4ee7b3f77e2b247a70edea90c946709f1b05908 | |
parent | f03e7dd69eeca25d78593cae25c08fb7a345e163 (diff) |
refresh debian/patches/* to match new DPDK version
Change-Id: I86f524f656901352a0de9484b10776ddd17ef2d0
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
-rw-r--r-- | debian/patches/fix-power-default-config.patch | 6 | ||||
-rw-r--r-- | debian/patches/fix-vhost-user-socket-permission.patch | 20 |
2 files changed, 13 insertions, 13 deletions
diff --git a/debian/patches/fix-power-default-config.patch b/debian/patches/fix-power-default-config.patch index c6e8e5db..d306fc58 100644 --- a/debian/patches/fix-power-default-config.patch +++ b/debian/patches/fix-power-default-config.patch @@ -11,11 +11,11 @@ Author: Christian Ehrhardt <christian.ehrhardt@canonical.com> Last-Update: 2016-09-02 --- a/config/defconfig_ppc_64-power8-linuxapp-gcc +++ b/config/defconfig_ppc_64-power8-linuxapp-gcc -@@ -52,7 +52,6 @@ - CONFIG_RTE_LIBRTE_I40E_PMD=n +@@ -51,7 +51,6 @@ + CONFIG_RTE_LIBRTE_IXGBE_PMD=n CONFIG_RTE_LIBRTE_VIRTIO_PMD=y CONFIG_RTE_LIBRTE_VMXNET3_PMD=n -CONFIG_RTE_LIBRTE_PMD_BOND=n CONFIG_RTE_LIBRTE_ENIC_PMD=n CONFIG_RTE_LIBRTE_FM10K_PMD=n - + CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n diff --git a/debian/patches/fix-vhost-user-socket-permission.patch b/debian/patches/fix-vhost-user-socket-permission.patch index 1978ac2d..6945b8b5 100644 --- a/debian/patches/fix-vhost-user-socket-permission.patch +++ b/debian/patches/fix-vhost-user-socket-permission.patch @@ -68,7 +68,7 @@ Last-Update: 2016-09-28 {0, 0, NULL, 0 } }; -@@ -166,6 +168,8 @@ +@@ -161,6 +163,8 @@ #endif internal_cfg->vmware_tsc_map = 0; internal_cfg->create_uio_dev = 0; @@ -79,7 +79,7 @@ Last-Update: 2016-09-28 static int --- a/lib/librte_eal/common/eal_internal_cfg.h +++ b/lib/librte_eal/common/eal_internal_cfg.h -@@ -83,6 +83,8 @@ +@@ -82,6 +82,8 @@ volatile enum rte_intr_mode vfio_intr_mode; const char *hugefile_prefix; /**< the base filename of hugetlbfs files */ const char *hugepage_dir; /**< specific hugetlbfs directory to use */ @@ -103,7 +103,7 @@ Last-Update: 2016-09-28 --- a/lib/librte_eal/common/include/rte_eal.h +++ b/lib/librte_eal/common/include/rte_eal.h -@@ -256,6 +256,11 @@ +@@ -286,6 +286,11 @@ #define RTE_INIT(func) \ static void __attribute__((constructor, used)) func(void) @@ -127,7 +127,7 @@ Last-Update: 2016-09-28 #include <rte_common.h> #include <rte_debug.h> -@@ -354,6 +357,8 @@ +@@ -356,6 +359,8 @@ " --"OPT_CREATE_UIO_DEV" Create /dev/uioX (usually done by hotplug)\n" " --"OPT_VFIO_INTR" Interrupt mode for VFIO (legacy|msi|msix)\n" " --"OPT_XEN_DOM0" Support running on Xen dom0 without hugetlbfs\n" @@ -151,7 +151,7 @@ Last-Update: 2016-09-28 default: if (opt < OPT_LONG_MIN_NUM && isprint(opt)) { RTE_LOG(ERR, EAL, "Option %c is not supported " -@@ -943,3 +956,172 @@ +@@ -995,3 +1008,172 @@ /* Module has been found */ return 1; } @@ -326,7 +326,7 @@ Last-Update: 2016-09-28 +} --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map -@@ -139,6 +139,7 @@ +@@ -120,6 +120,7 @@ rte_keepalive_register_core; rte_xen_dom0_supported; rte_xen_mem_phy2mch; @@ -336,7 +336,7 @@ Last-Update: 2016-09-28 --- a/lib/librte_vhost/socket.c +++ b/lib/librte_vhost/socket.c -@@ -78,6 +78,8 @@ +@@ -98,6 +98,8 @@ pthread_mutex_t mutex; }; @@ -345,11 +345,11 @@ Last-Update: 2016-09-28 #define MAX_VIRTIO_BACKLOG 128 static void vhost_user_server_new_connection(int fd, void *data, int *remove); -@@ -519,6 +521,7 @@ +@@ -645,6 +647,7 @@ vsocket->is_server = true; - ret = vhost_user_create_server(vsocket); } -+ rte_eal_set_socket_permissions(path); + ret = create_unix_socket(vsocket); ++ rte_eal_set_socket_permissions(path); if (ret < 0) { free(vsocket->path); free(vsocket); |