]> git.proxmox.com Git - ovs.git/commit
dpif-netdev: Add percentage of pmd/core used by each rxq.
authorKevin Traynor <ktraynor@redhat.com>
Tue, 16 Jan 2018 15:04:41 +0000 (15:04 +0000)
committerIan Stokes <ian.stokes@intel.com>
Wed, 17 Jan 2018 18:11:28 +0000 (18:11 +0000)
commit2a2c67b43599e90f0dda17a62bcc2b5e7334e934
tree1485d338ebcaaf4943eeb6df2f9e6f3e24045a7a
parent4f5d13e241ba3e7c7591e57561837b4d61f828d0
dpif-netdev: Add percentage of pmd/core used by each rxq.

It is based on the length of history that is stored about an
rxq (currently 1 min).

$ ovs-appctl dpif-netdev/pmd-rxq-show
pmd thread numa_id 0 core_id 4:
        isolated : false
        port: dpdkphy1         queue-id:  0    pmd usage: 70 %
        port: dpdkvhost0       queue-id:  0    pmd usage:  0 %
pmd thread numa_id 0 core_id 6:
        isolated : false
        port: dpdkphy0         queue-id:  0    pmd usage: 64 %
        port: dpdkvhost1       queue-id:  0    pmd usage:  0 %

These values are what would be used as part of rxq to pmd
assignment due to a reconfiguration event e.g. adding pmds,
adding rxqs or with the command:

ovs-appctl dpif-netdev/pmd-rxq-rebalance

Signed-off-by: Jan Scheurich <jan.scheurich@ericsson.com>
Co-authored-by: Jan Scheurich <jan.scheurich@ericsson.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Documentation/howto/dpdk.rst
NEWS
lib/dpif-netdev.c
tests/pmd.at