2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +00:00

netdev-offload-dpdk: Fix transfer flows.

Following DPDK commit bd2a4d4b2e3a ("ethdev: forbid direction attribute
in transfer flow rules"), the ingress attribute presence is rejected for
transfer flows.

Fixes: a77c7796f2 ("dpdk: Update to use v22.11.1.")
Acked-by: Eli Britstein <elibr@nvidia.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
David Marchand
2023-01-11 09:53:26 +01:00
committed by Ilya Maximets
parent bd14aa31e3
commit c7da49bc64

View File

@@ -2242,7 +2242,7 @@ netdev_offload_dpdk_actions(struct netdev *netdev,
struct nlattr *nl_actions,
size_t actions_len)
{
const struct rte_flow_attr flow_attr = { .ingress = 1, .transfer = 1 };
const struct rte_flow_attr flow_attr = { .transfer = 1, };
struct flow_actions actions = {
.actions = NULL,
.cnt = 0,