[dpdk-dev] [PATCH] bnx2x: check sc->state to prevent double init

2015-12-09 Thread Thomas Monjalon
2015-12-08 09:48, Chas Williams: > If the link is up, then the driver cannot be stopped and started > successfully. Instead of checking the link status, use the driver's > state. > > Signed-off-by: Chas Williams <3chas3 at gmail.com> Applied, thanks

[dpdk-dev] [PATCH] bnx2x: check sc->state to prevent double init

2015-12-08 Thread Chas Williams
If the link is up, then the driver cannot be stopped and started successfully. Instead of checking the link status, use the driver's state. Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git