]> git.proxmox.com Git - ovs.git/commit
dpif-netdev: Change pmd selection order.
authorKevin Traynor <ktraynor@redhat.com>
Fri, 25 Aug 2017 07:51:18 +0000 (00:51 -0700)
committerDarrell Ball <dlu998@gmail.com>
Fri, 25 Aug 2017 07:51:18 +0000 (00:51 -0700)
commit79da1e411ba5f7ed0f667b470d075ad83e7fc593
treeccabab6d2910fa9d262bb852e7971ff53226ea8a
parent655856ef39b98dd854a2a764b1b2e88a020e3099
dpif-netdev: Change pmd selection order.

Up to his point rxqs are sorted by processing cycles they
consumed and assigned to pmds in a round robin manner.

Ian pointed out that on wrap around the most loaded pmd will be
the next one to be assigned an additional rxq and that it would be
better to reverse the pmd order when wraparound occurs.

In other words, change from assigning by rr to assigning in a forward
and reverse cycle through pmds.

Also, now that the algorithm has finalized, document an example.

Suggested-by: Ian Stokes <ian.stokes@intel.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Darrell Ball <dlu998@gmail.com>
Documentation/howto/dpdk.rst
lib/dpif-netdev.c
tests/pmd.at