net/bnx2x: fix poll link status
authorRasesh Mody <rasesh.mody@cavium.com>
Fri, 3 Aug 2018 04:42:45 +0000 (21:42 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 3 Aug 2018 13:43:12 +0000 (15:43 +0200)
commit6041aa619f9adc35edf0ea8f4dca5d09d320459a
tree8e24fb8657f9198dbd3ec7b4dda53f3f6d1e3f49
parent4a4607bb9cadcc49a062a46588dbdcc873dfe27a
net/bnx2x: fix poll link status

The PMD has been modified to invoke the polling function in the link
management code which detects the peer speed/mode, configure the link
and update the status accordingly. This patch is the fix for the link
down issue seen when we do dev_stop() and dev_start() from an
application.

Fixes: 540a211084a7 ("bnx2x: driver core")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/bnx2x/bnx2x.c
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_ethdev.c
drivers/net/bnx2x/bnx2x_ethdev.h