forked from pool/openvswitch
Dirk Mueller
93fd217d23
- Add upstream patches to support DPDK 17.11 (fate#322609) * 0001-netdev-dpdk-replace-uint8_t-with-dpdk_port_t.patch * 0002-netdev-dpdk-DPDK-v17.11-upgrade.patch * 0003-netdev-dpdk-vHost-IOMMU-support.patch OBS-URL: https://build.opensuse.org/request/show/563105 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=134
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 9a20eb387a578575400dd266cf64bebc323a5e7a Mon Sep 17 00:00:00 2001
|
|
From: Mark Kavanagh <mark.b.kavanagh@intel.com>
|
|
Date: Fri, 20 Oct 2017 13:37:00 +0100
|
|
Subject: [PATCH 1/3] netdev-dpdk: replace uint8_t with dpdk_port_t
|
|
|
|
netdev_dpdk_detach() declares a 'port_id' variable, of type uint8_t.
|
|
This variable should instead be of type dpdk_port_t.
|
|
|
|
Fixes: bb37956ac ("netdev-dpdk: Use uint8_t for port_id.")
|
|
CC: Ilya Maximets <i.maximets@samsung.com>
|
|
Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
|
|
Acked-by: Ilya Maximets <i.maximets@samsung.com>
|
|
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
|
|
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
---
|
|
lib/netdev-dpdk.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
|
|
index 41acb5b62..dc96d7ce3 100644
|
|
--- a/lib/netdev-dpdk.c
|
|
+++ b/lib/netdev-dpdk.c
|
|
@@ -2521,7 +2521,7 @@ netdev_dpdk_detach(struct unixctl_conn *conn, int argc OVS_UNUSED,
|
|
{
|
|
int ret;
|
|
char *response;
|
|
- uint8_t port_id;
|
|
+ dpdk_port_t port_id;
|
|
char devname[RTE_ETH_NAME_MAX_LEN];
|
|
struct netdev_dpdk *dev;
|
|
|
|
--
|
|
2.15.1
|
|
|