Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1891958

Summary: vxlan decap tc rule with skip_sw policy addition fails
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Amit Supugade <asupugad>
Component: openvswitchAssignee: Marcelo Ricardo Leitner <mleitner>
openvswitch sub component: ovs-hw-offload QA Contact: Amit Supugade <asupugad>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: atragler, ctrautma, qding
Version: FDP 20.H   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1928251 (view as bug list) Environment:
Last Closed: 2021-02-12 17:59:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1928251    

Description Amit Supugade 2020-10-27 18:29:19 UTC
Description of problem:
Getting an error while adding vxlan decap tc rule with skip_sw policy

Version-Release number of selected component (if applicable):
openvswitch2.13-2.13.0-60.el8fdp.x86_64
4.18.0-240.el8.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Add two VFs to PF (mlx_enable_vf_vxlan_one_pf)
2. Configure OVS (add_ports_tc)
3. Enable Offload
4. Add tc encap decap rules with skip_sw policy (add_vxlan_tc_rules)

Functions: https://privatebin-it-iso.int.open.paas.redhat.com/?0852ae4608a27675#CWyP6ZXQhuUEQkKbzUUtuQhFdv3RJFLmB5MoTwtQh5tY

Actual results:
[root@netqe27 ~]# tc filter add dev vxlan_sys_4789 protocol 0x800 parent ffff: prio 1 \
>         flower skip_sw enc_src_ip $remote_ip enc_dst_ip $local_ip \
>         enc_dst_port 4789 enc_key_id 100 \
>         action tunnel_key unset action mirred egress redirect dev $vfr0
RTNETLINK answers: Operation not supported
We have an error talking to the kernel


Expected results:
vxlan decap tc rule with skip_sw policy should be added successfully.

Additional info:

Comment 3 Marcelo Ricardo Leitner 2021-02-12 17:59:13 UTC

*** This bug has been marked as a duplicate of bug 1928251 ***