]> git.proxmox.com Git - mirror_ovs.git/commit
netdev-offload-dpdk: Pass L4 proto-id to match in the L3 rte_flow_item.
authorSriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Tue, 20 Oct 2020 18:03:52 +0000 (14:03 -0400)
committerIlya Maximets <i.maximets@ovn.org>
Mon, 16 Nov 2020 16:47:11 +0000 (17:47 +0100)
commit1f66e1a861d4a822842edacf80c3fc8650ceda24
tree3749e0b5a5b917d1ad6e3d49456ee3795ed2b6a8
parent103f0a0dd170fe14ea0e3ecdb969c21ba1b1ffad
netdev-offload-dpdk: Pass L4 proto-id to match in the L3 rte_flow_item.

The offload layer clears the L4 protocol mask in the L3 item, when the
L4 item is passed for matching, as an optimization. This can be confusing
while parsing the headers in the PMD. Also, the datapath flow specifies
this field to be matched. This optimization is best left to the PMD.
This patch restores the code to pass the L4 protocol type in L3 match.

Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Acked-by: Eli Britstein <elibr@mellanox.com>
Tested-by: Emma Finn <emma.finn@intel.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
lib/netdev-offload-dpdk.c