[dpdk-dev] [PATCH] ethdev: add a missing sanity check for nb_tx_desc during txq setup
Ananyev, Konstantin
konstantin.ananyev at intel.com
Fri Nov 20 11:38:21 CET 2015
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rahul Lakkireddy
> Sent: Friday, November 20, 2015 10:27 AM
> To: dev at dpdk.org
> Cc: Felix Marti; Kumar Sanghvi; Nirranjan Kirubaharan
> Subject: [dpdk-dev] [PATCH] ethdev: add a missing sanity check for nb_tx_desc during txq 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 at chelsio.com>
> Signed-off-by: Kumar Sanghvi <kumaras at chelsio.com>
> ---
Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
Thanks for catching it.
More information about the dev
mailing list