John Daley b6d5fd2e96 net/enic: improve out of resources error handling
If configuration fails due to lack of resources, be more specific
about which resources are lacking - work queues, read queues or
completion queues. Return -EINVAL instead of -1 if more queeues
are requested than are available.

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: John Daley <johndale@cisco.com>
2016-06-20 17:21:49 +02:00
..
2016-06-15 17:13:56 +02:00
2015-09-30 01:19:19 +02:00
2015-09-30 01:19:19 +02:00
2016-06-15 17:13:56 +02:00
2015-05-22 16:05:52 +02:00