Public bug reported:
* Explain the bug(s)
In upstream, TCA_POLICE_PKTRATE64 was introduced after
TCA_FLOWER_KEY_ENC_OPTS_ERSPAN. linux-bluefiled only has
TCA_POLICE_PKTRATE64 related support and does not have ERSPAN support
which might cause "ovs" project compile error because of lacking of
ERSPAN related support if ovs supports ERSPAN.
* Brief explanation of fixes
Cherry-pick. No adaptation. Add ERSPAN support for flower to allow flower to
match ERSPAN options
79b1011cb33d net: sched: allow flower to match erspan options
* How to test
The options can be described in the form:
VER:INDEX:DIR:HWID/VER:INDEX_MASK:DIR_MASK:HWID_MASK. When ver is set to 1,
index will be applied while dir and hwid will be ignored, and when ver is set
to 2, dir and hwid will be used while index will be ignored.
Different from geneve, only one option can be set. And also, geneve options,
vxlan options or erspan options can't be set at the same time.
Here's an example:
# ip link add name erspan1 type erspan external
# tc qdisc add dev erspan1 ingress
# tc filter add dev erspan1 protocol ip parent ffff: \
flower \
enc_src_ip 10.0.99.192 \
enc_dst_ip 10.0.99.193 \
enc_key_id 11 \
erspan_opts 1:12:0:0/1:ffff:0:0 \
ip_proto udp \
action mirred egress redirect dev eth0
* What it could break.
Nothing.
** Affects: linux-bluefield (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/2015515
Title:
net: sched: allow flower to match erspan options
Status in linux-bluefield package in Ubuntu:
New
Bug description:
* Explain the bug(s)
In upstream, TCA_POLICE_PKTRATE64 was introduced after
TCA_FLOWER_KEY_ENC_OPTS_ERSPAN. linux-bluefiled only has
TCA_POLICE_PKTRATE64 related support and does not have ERSPAN support
which might cause "ovs" project compile error because of lacking of
ERSPAN related support if ovs supports ERSPAN.
* Brief explanation of fixes
Cherry-pick. No adaptation. Add ERSPAN support for flower to allow flower to
match ERSPAN options
79b1011cb33d net: sched: allow flower to match erspan options
* How to test
The options can be described in the form:
VER:INDEX:DIR:HWID/VER:INDEX_MASK:DIR_MASK:HWID_MASK. When ver is set to 1,
index will be applied while dir and hwid will be ignored, and when ver is set
to 2, dir and hwid will be used while index will be ignored.
Different from geneve, only one option can be set. And also, geneve options,
vxlan options or erspan options can't be set at the same time.
Here's an example:
# ip link add name erspan1 type erspan external
# tc qdisc add dev erspan1 ingress
# tc filter add dev erspan1 protocol ip parent ffff: \
flower \
enc_src_ip 10.0.99.192 \
enc_dst_ip 10.0.99.193 \
enc_key_id 11 \
erspan_opts 1:12:0:0/1:ffff:0:0 \
ip_proto udp \
action mirred egress redirect dev eth0
* What it could break.
Nothing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2015515/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp