NAK: [SRU][F:linux-bluefield][PATCH v1 0/1] UBUNTU: net: sched: allow flower to match vxlan options

Bartlomiej Zolnierkiewicz bartlomiej.zolnierkiewicz at canonical.com
Wed Apr 5 11:45:05 UTC 2023


v2 has been posted so NAK v1 version for proper tracking of submissions.

--
Best regards,
Bartlomiej

On Fri, Mar 31, 2023 at 7:42 AM Tony Duan <yifeid at nvidia.com> wrote:
>
> Buglink: https://bugs.launchpad.net/bugs/2013422
>
> SRU Justification:
>
> [Impact]
>
> * This patch is to allow matching gbp option in vxlan. Introduce vxlan support to avoid "ovs" compile error.
>
> [Fix]
>
> * cherry-pick d8f9dfae49ce4ffb772dc10dd6578dc815b34c12 d8f9dfae49ce net: sched: allow flower to match vxlan options
>
> [Test Plan]
>
> 1) Compile "ovs" project, build succesfully.
> 2) VXLAN option can be used as match condition in tc. eg:
>       # ip link add name vxlan0 type vxlan dstport 0 external
>       # tc qdisc add dev vxlan0 ingress
>       # tc filter add dev vxlan0 protocol ip parent ffff: \
>           flower \
>             enc_src_ip 10.0.99.192 \
>             enc_dst_ip 10.0.99.193 \
>             enc_key_id 11 \
>             vxlan_opts 01020304/ffffffff \
>             ip_proto udp \
>             action mirred egress redirect dev eth0
>         Check the action is correcttly filtered
>
> [Where problems could occur]
>
> * Compile "ovs" without this fix, the compiling fails.
>
> [Other Info]
>
> * nothing
>
> Xin Long (1):
>   UBUNTU: net: sched: allow flower to match vxlan options
>
>  include/uapi/linux/pkt_cls.h |  13 +++++
>  net/sched/cls_flower.c       | 109 +++++++++++++++++++++++++++++++++++
>  2 files changed, 122 insertions(+)
>



More information about the kernel-team mailing list