[dpdk-dev] [PATCH] enic: prevent segfaults when allocating too many TX or RX queues

2016-03-22 Thread Bruce Richardson
On Tue, Mar 22, 2016 at 04:46:30PM +, Bruce Richardson wrote: > On Thu, Mar 17, 2016 at 03:49:58PM -0700, John Daley wrote: > > From: Nelson Escobar > > > > Add checks to make sure we don't try to allocate more tx or rx queues > > than we support. > > > > Signed-off-by: Nelson Escobar > > R

[dpdk-dev] [PATCH] enic: prevent segfaults when allocating too many TX or RX queues

2016-03-22 Thread Bruce Richardson
On Thu, Mar 17, 2016 at 03:49:58PM -0700, John Daley wrote: > From: Nelson Escobar > > Add checks to make sure we don't try to allocate more tx or rx queues > than we support. > > Signed-off-by: Nelson Escobar > Reviewed-by: John Daley Better to use the word fix in the title to indicate this

[dpdk-dev] [PATCH] enic: prevent segfaults when allocating too many TX or RX queues

2016-03-17 Thread John Daley
From: Nelson Escobar Add checks to make sure we don't try to allocate more tx or rx queues than we support. Signed-off-by: Nelson Escobar Reviewed-by: John Daley --- drivers/net/enic/enic_ethdev.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/enic/enic_ethdev