]> git.proxmox.com Git - mirror_ovs.git/commit
netdev-offload-dpdk: Fix Ethernet matching for type only.
authorEli Britstein <elibr@mellanox.com>
Wed, 8 Jul 2020 06:38:23 +0000 (06:38 +0000)
committerIlya Maximets <i.maximets@ovn.org>
Wed, 8 Jul 2020 15:50:36 +0000 (17:50 +0200)
commit864852a0624a25953ab015cc82b784595b03f33f
tree9d160cc744840c8a4da17767bac6f21adbd3218e
parent77057965cb36dffd38829efccd2ff2eac8d444d2
netdev-offload-dpdk: Fix Ethernet matching for type only.

For OVS rule of the form "eth type is 0x1234 / end", rule is offloaded
in the form of "eth / end", which is incorrect. Fix it.

Fixes: e8a2b5bf92bb ("netdev-dpdk: implement flow offload with rte flow")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roni Bar Yanai <roniba@mellanox.com>
Acked-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
lib/netdev-offload-dpdk.c