diff mbox series

[ovs-dev] netdev-offload-dpdk: Set transfer attribute to zero for mark/rss offload

Message ID 20200629180107.34370-1-sriharsha.basavapatna@broadcom.com
State New
Headers show
Series [ovs-dev] netdev-offload-dpdk: Set transfer attribute to zero for mark/rss offload | expand

Commit Message

Sriharsha Basavapatna June 29, 2020, 6:01 p.m. UTC
The offload layer doesn't initialize the 'transfer' attribute
for mark/rss offload (partial offload). It should be set to 0.

Fixes: 60e778c7533a ("netdev-offload-dpdk: Framework for actions offload.")
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
---
 lib/netdev-offload-dpdk.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/netdev-offload-dpdk.c b/lib/netdev-offload-dpdk.c
index 26a75f0f2..4c652fd82 100644
--- a/lib/netdev-offload-dpdk.c
+++ b/lib/netdev-offload-dpdk.c
@@ -818,7 +818,8 @@  netdev_offload_dpdk_mark_rss(struct flow_patterns *patterns,
         .group = 0,
         .priority = 0,
         .ingress = 1,
-        .egress = 0
+        .egress = 0,
+        .transfer = 0
     };
     struct rte_flow_error error;
     struct rte_flow *flow;