net/mlx5: Skip waiting for vf pages in internal error
authorMohamad Haj Yahia <mohamad@mellanox.com>
Fri, 9 Sep 2016 14:35:17 +0000 (17:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 04:21:48 +0000 (21:21 -0700)
commitd62292e85028e553943a285cb6006de0f17dea1e
tree5bc9c99d51d5d7baa68b38913c9fdd72285f303a
parent48b4e51fa7ede17830a2655ed6edde2c738c4461
net/mlx5: Skip waiting for vf pages in internal error

In case of device in internal error state there is no need to wait for
vf pages since they will be reclaimed manually later in the unload flow.

Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c