enic: fix last packet not being sent
authorJohn Daley <johndale@cisco.com>
Tue, 8 Mar 2016 18:49:07 +0000 (10:49 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 15:57:39 +0000 (16:57 +0100)
The last packet of the tx burst function array was not being
emitted until the subsequent call.  The nic descriptor index
was being set to the current tx descriptor instead of one past
the descriptor as required by the nic.

Fixes: d739ba4c6abf ("enic: improve Tx packet rate")

Signed-off-by: John Daley <johndale@cisco.com>

No differences found