Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dpif-netdev: Fix PMD auto load balance with pmd-rxq-isolate.
There are currently some checks for cross-numa polling cases to ensure that they won't effect the accuracy of the PMD ALB. If an rxq is pinned to a PMD thread core by the user it will not be reassigned by OVS, so even if it is non-local numa polled it will not impact PMD ALB accuracy. To establish this, a check was made on whether the PMD thread core was isolated or not. However, since other_config:pmd-rxq-isolate was introduced, rxqs may be pinned but the PMD thread core not isolated. It means that by setting pmd-rxq-isolate=false and doing non-local numa pinning, PMD ALB may not run where it should. If the PMD thread core is isolated we can skip individual rxq checks but if not, we should check the individual rxqs for pinning before we disallow PMD ALB. Also, update function comments to make it's operation clearer. Fixes: 6193e03 ("dpif-netdev: Allow pin rxq and non-isolate PMD.") Signed-off-by: Kevin Traynor <[email protected]> Acked-by: Mike Pattrick <[email protected]> Acked-by: David Marchand <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information