netdev-dpdk: Set current timestamp when flushing TX queue.
authorRyan Wilson <wryan@nicira.com>
Fri, 27 Jun 2014 00:41:46 +0000 (17:41 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 30 Jun 2014 17:53:58 +0000 (10:53 -0700)
commit844f2d749ab02b59218e869483e78725869c199f
tree1d68036654630ddb3f69cbfe151b8a84ab7bbe3a
parentb170db2aaa65a6a77f18667685ce94c70a24941d
netdev-dpdk: Set current timestamp when flushing TX queue.

The current timestamp should be set every time the queue is flushed.
Thus, if DRAIN_TSC timer cycles have passed since the last timestamp,
the send queue should be flushed again.

Signed-off-by: Ryan Wilson <wryan@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-dpdk.c