John Daley 04f976899f net/enic: fix Rx queue init after restarting a device
If you stop, then start a port that had already received some packets,
the NIC could fetch discriptors from the wrong location. This could
effectivly reduce the size of the Rx queue by a random amount and
cause packet drop or reduced performance.

Reset the NIC fetch index to 0 when allocating and posting mbuf
addresses to the NIC.

Fixes: 947d860c821f ("enic: improve Rx performance")

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Nelson Escobar <neescoba@cisco.com>
2016-07-05 15:39:08 +02:00
..
2016-07-10 14:51:09 +02:00
2016-07-10 14:55:42 +02:00
2016-07-10 14:55:42 +02:00
2016-07-10 14:51:09 +02:00
2016-07-10 14:51:09 +02:00
2016-06-20 17:21:54 +02:00