dpdk: bump DPDK version to 19.08
Type: feature Change-Id: I16b8cdf0b6af6715a5f01ad84365a8c8a1b76237 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
017002ae35
commit
b6103105f9
5
build/external/packages/dpdk.mk
vendored
5
build/external/packages/dpdk.mk
vendored
@ -21,13 +21,13 @@ DPDK_MLX5_PMD ?= n
|
||||
DPDK_TAP_PMD ?= n
|
||||
DPDK_FAILSAFE_PMD ?= n
|
||||
|
||||
DPDK_VERSION ?= 19.05
|
||||
DPDK_VERSION ?= 19.08
|
||||
DPDK_BASE_URL ?= http://fast.dpdk.org/rel
|
||||
DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.xz
|
||||
DPDK_TAR_URL := $(DPDK_BASE_URL)/$(DPDK_TARBALL)
|
||||
DPDK_18.11_TARBALL_MD5_CKSUM := 04b86f4a77f4f81a7fbd26467dd2ea9f
|
||||
DPDK_19.02_TARBALL_MD5_CKSUM := 23944a2cdee061aa4bd72ebe7d836db0
|
||||
DPDK_19.05_TARBALL_MD5_CKSUM := fe22ad1bab1539945119047b0fdf1105
|
||||
DPDK_19.08_TARBALL_MD5_CKSUM := 8a6f5bd844b7a06b34787063409298ed
|
||||
MACHINE=$(shell uname -m)
|
||||
|
||||
# replace dot with space, and if 3rd word exists we deal with stable dpdk rel
|
||||
@ -182,7 +182,6 @@ $(B)/custom-config: $(B)/.dpdk-patch.ok Makefile
|
||||
$(call set,RTE_MAX_LCORE,256)
|
||||
$(call set,RTE_PKTMBUF_HEADROOM,$(DPDK_PKTMBUF_HEADROOM))
|
||||
$(call set,RTE_CACHE_LINE_SIZE,$(DPDK_CACHE_LINE_SIZE))
|
||||
$(call set,RTE_LIBEAL_USE_HPET,y)
|
||||
$(call set,RTE_BUILD_COMBINE_LIBS,y)
|
||||
$(call set,RTE_PCI_CONFIG,y)
|
||||
$(call set,RTE_PCI_EXTENDED_TAG,"on")
|
||||
|
@ -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);
|
||||
|
@ -50,8 +50,7 @@ dpdk_set_mac_address (vnet_hw_interface_t * hi,
|
||||
dpdk_main_t *dm = &dpdk_main;
|
||||
dpdk_device_t *xd = vec_elt_at_index (dm->devices, hi->dev_instance);
|
||||
|
||||
error = rte_eth_dev_default_mac_addr_set (xd->port_id,
|
||||
(struct ether_addr *) address);
|
||||
error = rte_eth_dev_default_mac_addr_set (xd->port_id, (void *) address);
|
||||
|
||||
if (error)
|
||||
{
|
||||
|
@ -576,7 +576,7 @@ dpdk_lib_init (dpdk_main_t * dm)
|
||||
addr[1] = 0xfe;
|
||||
}
|
||||
else
|
||||
rte_eth_macaddr_get (i, (struct ether_addr *) addr);
|
||||
rte_eth_macaddr_get (i, (void *) addr);
|
||||
|
||||
if (xd->tx_q_used < tm->n_vlib_mains)
|
||||
dpdk_device_lock_init (xd);
|
||||
|
Reference in New Issue
Block a user