Use link speed from device capability instead of negotiated speeda 51/66151/5
authorXavier Simonart <xavier.simonart@intel.com>
Wed, 19 Dec 2018 14:30:38 +0000 (15:30 +0100)
committerXavier Simonart <xavier.simonart@intel.com>
Wed, 20 Feb 2019 15:32:05 +0000 (16:32 +0100)
commitdeae87b73684b3a7a96c64c918c0342a52262744
tree25c569b8a231132ed4f34a564901d9140b77c5fd
parent06d71cb8ceab4d531a29b09c589eeda7bd4e6311
Use link speed from device capability instead of negotiated speeda

JIRA: SAMPLEVNF-151

link speed is used in gen and lat latency extrapolations.
Using a link_speed value lower than the actual link speed
might result in errors (e.g. negative latencies).
Negotiated link speed might be reported slowly (as reported through irq)
Hence it is better to use the device capability link speed.
In addition, this remove the check for link speed changes in fastpath.

Change-Id: I0f475fe5e139b046012de6cd0b710e4390735078
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/handle_gen.c
VNFs/DPPD-PROX/handle_lat.c
VNFs/DPPD-PROX/prox_port_cfg.c
VNFs/DPPD-PROX/run.c