[ovs-git] [openvswitch/ovs] b59cc1: netdev-dpdk: Use instant sending instead of queuei...

GitHub noreply at github.com
Wed Jul 6 22:47:14 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b59cc14e032da370021794bfd1bdd3d67e88a9a3
      https://github.com/openvswitch/ovs/commit/b59cc14e032da370021794bfd1bdd3d67e88a9a3
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Use instant sending instead of queueing of packets.

Current implementarion of TX packet's queueing is broken in several ways:

	* TX queue flushing implemented on receive assumes that all
	  core_id-s are sequential and starts from zero. This may lead
	  to situation when packets will stuck in queue forever and,
	  also, this influences on latency.

	* For a long time flushing logic depends on uninitialized
	  'txq_needs_locking', because it usually calculated after
	  'netdev_dpdk_alloc_txq' but used inside of this function
	  for initialization of 'flush_tx'.

Testing shows no performance difference with and without queueing.
Lets remove queueing at all because it doesn't work properly now and
also does not increase performance.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>




More information about the git mailing list