Bug 1891958 - vxlan decap tc rule with skip_sw policy addition fails
Summary: vxlan decap tc rule with skip_sw policy addition fails
Keywords:
Status: CLOSED DUPLICATE of bug 1928251
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch
Version: FDP 20.H
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Marcelo Ricardo Leitner
QA Contact: Amit Supugade
URL:
Whiteboard:
Depends On:
Blocks: 1928251
TreeView+ depends on / blocked
 
Reported: 2020-10-27 18:29 UTC by Amit Supugade
Modified: 2021-02-12 17:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1928251 (view as bug list)
Environment:
Last Closed: 2021-02-12 17:59:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.