Hi Folks,

I have been trying to delete a dpcls rule runtime using ovs-appctl tool and 
seems not being successful.

An example flow is below.

# $OVS_DIR/utilities/ovs-appctl dpctl/dump-flows --names -m
flow-dump from pmd on cpu core: 1
ufid:90f104bc-c4b1-4aa1-a8ba-075ce590fa75, 
skb_priority(0/0),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),recirc_id(0),dp_hash(0/0),in_port(nac0),packet_type(ns=0,id=0),eth(src=10:88:99:aa:bb:cc/00:00:00:00:00:00,dst=10:88:99:aa:bb:dd/00:00:00:00:00:00),eth_type(0x0800),ipv4(src=49.50.51.52/0.0.0.0,dst=49.50.51.53/0.0.0.0,proto=17/0,tos=0/0,ttl=64/0,frag=no),udp(src=4000/0,dst=5000/0),
 packets:10, bytes:600, used:0.987s, dp:ovs, 
actions:push_vlan(vid=128,pcp=0),rep0, dp-extra-info:miniflow_bits(5,1)

I tried to delete as below and saw the error.

# $OVS_DIR/utilities/ovs-appctl dpctl/del-flow netdev@ovs-netdev 
ufid:90f104bc-c4b1-4aa1-a8ba-075ce590fa75
2021-05-25T07:45:00Z|00128|dpif|WARN|netdev@ovs-netdev: failed to flow_del (No 
such file or directory) ufid:90f104bc-c4b1-4aa1-a8ba-075ce590fa75 <empty>
ovs-vswitchd: deleting flow (No such file or directory)
ovs-appctl: ovs-vswitchd: server returned an error

I saw the flow has been deleted from the dpcls table but showing the below 
error, repeatedly. Also, new dpcls flow is not being created again for 
subsequent packets.

# 2021-05-25T07:45:00Z|00001|ofproto_dpif_upcall(pmd-c01/id:8)|WARN|upcall_cb 
failure: ukey installation fails
# 2021-05-25T07:46:00Z|00002|ofproto_dpif_upcall(pmd-c01/id:8)|WARN|Dropped 59 
log messages in last 59 seconds (most recently, 1 seconds ago) due to excessive 
rate
2021-05-25T07:46:00Z|00003|ofproto_dpif_upcall(pmd-c01/id:8)|WARN|upcall_cb 
failure: ukey installation fails

Anyone can provide me an example to delete the flow successfully?

I am using OVS-2.14.0 commit 29c7b4518.

Regards,
Awal.

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to