summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/common.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-08-20 12:38:08 +0200
committerDamjan Marion <dmarion@me.com>2019-08-21 14:32:29 +0000
commitb6103105f99e0c7f210a9596f205a1efd21b626f (patch)
tree219616982d763d5e6cb732ce27a62ed350611379 /src/plugins/dpdk/device/common.c
parent017002ae357a05ca1ae1b7d8fbc7bbc8063c9e34 (diff)
dpdk: bump DPDK version to 19.08
Type: feature Change-Id: I16b8cdf0b6af6715a5f01ad84365a8c8a1b76237 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/common.c')
-rw-r--r--src/plugins/dpdk/device/common.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/dpdk/device/common.c b/src/plugins/dpdk/device/common.c
index 11b0538fc46..f91e3bf836f 100644
--- a/src/plugins/dpdk/device/common.c
+++ b/src/plugins/dpdk/device/common.c
@@ -174,10 +174,8 @@ dpdk_device_start (dpdk_device_t * xd)
}
if (xd->default_mac_address)
- rv =
- rte_eth_dev_default_mac_addr_set (xd->port_id,
- (struct ether_addr *)
- xd->default_mac_address);
+ rv = rte_eth_dev_default_mac_addr_set (xd->port_id,
+ (void *) xd->default_mac_address);
if (rv)
dpdk_device_error (xd, "rte_eth_dev_default_mac_addr_set", rv);