net/mlx4: update link status upon probing with LSC
authorGaetan Rivet <gaetan.rivet@6wind.com>
Fri, 3 Mar 2017 15:39:56 +0000 (16:39 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:42 +0000 (18:59 +0200)
commit3fca2ab597d80dbb3052ec691342ca6a8e1e508b
tree73ba1a65ace8429c1464a793edfb9e3f7cbb9a83
parent0bc8874b3b2c2da74bb955ce2de2da7eb009a8bf
net/mlx4: update link status upon probing with LSC

If LSC interrupts are enabled, the application expects the link_update
ops to be executed by the PMD itself.

No link status change event is received upon probing, therefore the link
status update must be forced.

Fixes: c4da6caa426d ("mlx4: handle link status interrupts")
Cc: stable@dpdk.org
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c