mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
dpif-netdev: Fix xps revalidation.
Revalidation should work in case of 'dynamic_txqs == true'.
Fixes: 324c837485 ("dpif-netdev: XPS (Transmit Packet Steering) implementation.")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
This commit is contained in:
committed by
Daniele Di Proietto
parent
9fd39370c1
commit
9f7a3035d2
@@ -4193,7 +4193,7 @@ dpif_netdev_xps_revalidate_pmd(const struct dp_netdev_pmd_thread *pmd,
|
|||||||
long long interval;
|
long long interval;
|
||||||
|
|
||||||
HMAP_FOR_EACH (tx, node, &pmd->port_cache) {
|
HMAP_FOR_EACH (tx, node, &pmd->port_cache) {
|
||||||
if (tx->port->dynamic_txqs) {
|
if (!tx->port->dynamic_txqs) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
interval = now - tx->last_used;
|
interval = now - tx->last_used;
|
||||||
|
|||||||
Reference in New Issue
Block a user