[dpdk-dev] [PATCH] ethdev: add a missing sanity check for nb_tx_desc during txq setup

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Nov 23 23:38:28 CET 2015


> > 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.

Applied, thanks


More information about the dev mailing list