numam-dpdk/drivers
Charles (Chas) Williams 31ec57cb6b bnx2x: fix resource allocattion error handling
bnx2x_loop_obtain_resources() returns a struct containing the status and
the error message.  If bnx2x_do_req4pf() fails, it shouldn't return both
of these fields set to 0 indicating failure and no error.

Further, bnx2x_do_req4pf() needs to be able fail and return NO_RESOURCES
so that bnx2x_loop_obtain_resources() can negotiate reduced resource
requirments.  This requires additional checking around bnx2x_do_req4pf().

Fixes: 540a211084 ("bnx2x: driver core")

Signed-off-by: Chas Williams <3chas3@gmail.com>
Acked-by: Rasesh Mody <rasesh.mody@qlogic.com>
2016-03-16 16:50:23 +01:00
..
crypto aesni_mb: remove parameters from config file 2016-03-11 10:47:33 +01:00
net bnx2x: fix resource allocattion error handling 2016-03-16 16:50:23 +01:00
Makefile mk: fix build without crypto 2016-03-11 10:43:09 +01:00