summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/run.c
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2019-03-13 04:26:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-03-13 04:26:49 +0000
commit2a7b2ff862fb75e8e3b34b58eb09dd4de8a6a28d (patch)
tree9926423d5b50b101744fbb3773916f919d67a608 /VNFs/DPPD-PROX/run.c
parent1adf5eb8c7cd3a4d65b17fddd569651fa3cbb853 (diff)
parent22d1e458389ae6c6eb98d9c14c4f1cd8e2009f3d (diff)
Merge "PROX generator: performance optimization (2/4)"
Diffstat (limited to 'VNFs/DPPD-PROX/run.c')
-rw-r--r--VNFs/DPPD-PROX/run.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/VNFs/DPPD-PROX/run.c b/VNFs/DPPD-PROX/run.c
index 2ad8aca..bed0c75 100644
--- a/VNFs/DPPD-PROX/run.c
+++ b/VNFs/DPPD-PROX/run.c
@@ -78,10 +78,7 @@ static void update_link_states(void)
port_cfg = &prox_port_cfg[portid];
rte_eth_link_get_nowait(portid, &link);
-#if RTE_VERSION < RTE_VERSION_NUM(16,4,0,0)
- // On more recent DPDK, we use the speed_capa of the port, and not the negotiated speed
port_cfg->link_speed = link.link_speed;
-#endif
if (port_cfg->link_up != link.link_status) {
port_cfg->link_up = link.link_status;
plog_info("port %d: Link speed now %d Mbps\n", portid, link.link_speed);