numam-dpdk/drivers/net/cxgbe
Rahul Lakkireddy bd372fe9c0 cxgbe: fix Rx queue setup error management
When refilling freelists for the first time and if it fails, the rxq
is freed and returns ENOMEM. There is a check while freeing hardware rxq
to pass freelist context id if the freelist exists or 0xffff otherwise.
The error path is only reached if freelist exists. So, fix is to remove
the useless check for freelist existence.

Coverity issue: 107108
Fixes: 92c8a63223 ("cxgbe: add device configuration and Rx support")

Reported-by: John McNamara <john.mcnamara@intel.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
2015-12-12 22:34:43 +01:00
..
base cxgbe: use trylock in Tx callback instead of spinning for a lock 2015-11-24 14:56:27 +01:00
cxgbe_compat.h cxgbe: enable build on FreeBSD 2015-07-22 15:04:16 +02:00
cxgbe_ethdev.c cxgbe: use explicit PCI driver structure 2015-12-07 00:55:51 +01:00
cxgbe_main.c cxgbe: enable jumbo frames 2015-10-20 18:49:18 +02:00
cxgbe.h cxgbe: fix minimum descriptors requirement 2015-11-24 14:56:08 +01:00
Makefile cxgbe: fix build with icc 2015-07-01 23:09:54 +02:00
rte_pmd_cxgbe_version.map cxgbe: add pmd skeleton 2015-06-30 22:46:42 +02:00
sge.c cxgbe: fix Rx queue setup error management 2015-12-12 22:34:43 +01:00