mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
netdev-offload-dpdk: Fix port ID logging on destroy.
Port ID should be obtained from physical device used to
create/destroy flow rules.
Fixes: 507d20e77b
("netdev-offload-dpdk: Support vports flows offload.")
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Eli Britstein <elibr@nvidia.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
b889d5dcc8
commit
909b40f675
@@ -1882,12 +1882,12 @@ netdev_offload_dpdk_flow_destroy(struct ufid_to_rte_flow_data *rte_flow_data)
|
||||
" flow destroy %d ufid " UUID_FMT,
|
||||
netdev_get_name(netdev), netdev_get_name(physdev),
|
||||
(intptr_t) rte_flow,
|
||||
netdev_dpdk_get_port_id(netdev),
|
||||
netdev_dpdk_get_port_id(physdev),
|
||||
UUID_ARGS((struct uuid *) ufid));
|
||||
} else {
|
||||
VLOG_ERR("Failed flow: %s/%s: flow destroy %d ufid " UUID_FMT,
|
||||
netdev_get_name(netdev), netdev_get_name(physdev),
|
||||
netdev_dpdk_get_port_id(netdev),
|
||||
netdev_dpdk_get_port_id(physdev),
|
||||
UUID_ARGS((struct uuid *) ufid));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user