net/mlx5_core: Fix notification of page supplement error
authorEli Cohen <eli@mellanox.com>
Fri, 25 Sep 2015 07:49:13 +0000 (10:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:19:49 +0000 (22:19 -0700)
commita8ffe63e60dde2f2f05fa92dad48f6106d62f9a3
tree93e0a3225c0df5436aa32ecb7542cff90f7279dc
parentbe87544de8df2b1eb34bcb5e32691287d96f9ec4
net/mlx5_core: Fix notification of page supplement error

Some errors did not result with notifying firmware that the page request
could not be fulfilled. Fix this and put the notification logic into a
separate function.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c