netdev-dpdk: Count and delete every dropped packet
authorDaniele Di Proietto <ddiproietto@vmware.com>
Tue, 24 Jun 2014 23:04:20 +0000 (16:04 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 25 Jun 2014 17:54:00 +0000 (10:54 -0700)
commit1ebfe1ac52a3356a65f8c5ba7fd0f4f56e18716b
tree784a884c95691eabc722559768fddca8364df993
parente381def9712019bfb667605c1f3dba5ce2266c44
netdev-dpdk: Count and delete every dropped packet

Commit f4fd623c4c25 introduced a bug in netdev_dpdk_send(): if multiple
consecutive packets exceed MTU, only the first one is deleted and
counted.

This should fix the bug

Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-dpdk.c