numam-dpdk/drivers/net/enic
John Daley ceeb00b95f net/enic: fix crash on MTU update or Rx queue reconfigure
The incorrect completion queue corresponding to an RQ would be
freed if multiple Rx queues are in use and the MTU is changed,
or an Rx queue is released. This could lead to a segmentation fault
when the device is disabled or even in the Rx or Tx paths.

The index of the completion queue corresponding to a RQ needed
to be adjusted after Rx scatter was introduced.

Fixes: 856d7ba7ed ("net/enic: support scattered Rx")

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Nelson Escobar <neescoba@cisco.com>
2016-10-26 19:38:18 +02:00
..
base net/enic: fix Rx queue index when not using Rx scatter 2016-10-26 19:38:18 +02:00
enic_clsf.c net/enic: extend flow director support for 1300 series 2016-10-13 15:30:59 +02:00
enic_compat.h enic: remove #ident lines 2015-09-30 01:19:19 +02:00
enic_ethdev.c drivers: rename register macro prefix 2016-10-14 01:49:32 +02:00
enic_main.c net/enic: fix crash on MTU update or Rx queue reconfigure 2016-10-26 19:38:18 +02:00
enic_res.c net/enic: extend flow director support for 1300 series 2016-10-13 15:30:59 +02:00
enic_res.h net/enic: determine max egress packet size and max MTU 2016-06-29 11:54:46 +02:00
enic_rxtx.c net/enic: add ethernet VLAN packet type 2016-10-13 15:30:59 +02:00
enic.h net/enic: fix crash on MTU update or Rx queue reconfigure 2016-10-26 19:38:18 +02:00
LICENSE enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00
Makefile net/enic: put Tx and Rx functions into same file 2016-06-15 17:13:56 +02:00
rte_pmd_enic_version.map enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00