Rahul Lakkireddy 386c993e95 ethdev: add a missing sanity check for Tx queue setup
Add a sanity check for number of tx descriptors requested during tx
queue setup.  Return -EINVAL if the number requested does not meet
the tx descriptor requirements of the device.

Fixes: 80a1deb4c77a ("ethdev: add API to retrieve queue information")

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-11-23 23:51:14 +01:00
..
2015-08-09 19:45:25 +02:00
2015-02-24 22:12:35 +01:00
2015-06-19 12:11:53 +02:00
2015-08-03 12:43:01 +02:00
2015-11-12 12:39:08 +01:00
2015-09-03 19:22:48 +02:00