Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-tc-offloads: Properly get the block id on flow del/get
Currnetly, when a tc flow is installed on a bond port using shared blocks, we get these failures from the validator threads: 2019-03-17T10:02:58.919Z|13369|dpif(revalidator93)|WARN|system@ovs-system: failed to flow_del \ (No such file or directory) ufid:ebe2888b-9886-4835-a42e-c2911f6af6e8 skb_priority(0),skb_mark(0),in_port(2), \ packet_type(ns=0,id=0),eth(src=e4:11:22:33:44:71,dst=24:8a:07:88:28:12),eth_type(0x0806), [..] The block id must be retrieved from the device we got by ufid lookup and not from the input to the related function, fix that for flow del and get. While here, add the block id to existing debug print. Fixes: 88dcf2a ('netdev-provider: add class op to get block_id') Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Paul Blakey <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Simon Horman <[email protected]>