diff mbox series

[ovs-dev,11/62] netdev-offload-dpdk: set in_port and recirc_id mask to zero

Message ID 20201228092520.11807-12-taoyunxiang@cmss.chinamobile.com
State Not Applicable
Headers show
Series [ovs-dev] db-ctl-base: add uuid specified method for create cmd | expand

Commit Message

Tao YunXiang Dec. 28, 2020, 9:24 a.m. UTC
From: Liuchang <liuchang@cmss.chinamobile.com>

Code Source From: Self Code
Description:
    Now disable flow match field check for in_port and recirc_id

Jira:  #[Optional]
市场项目编号(名称):[Optional]
---
 lib/netdev-offload-dpdk.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/lib/netdev-offload-dpdk.c b/lib/netdev-offload-dpdk.c
index 7cb2dc0..23527bd 100644
--- a/lib/netdev-offload-dpdk.c
+++ b/lib/netdev-offload-dpdk.c
@@ -574,10 +574,9 @@  parse_flow_match(struct flow_patterns *patterns,
     memcpy(&consumed_match, match, sizeof consumed_match);
 
     consumed_masks = &(consumed_match.wc.masks);
-    /* Not attemp to offload in_port/recirc_id ?
+    /* Not attemp to offload in_port/recirc_id ?  */
     memset(&consumed_masks->in_port, 0, sizeof consumed_masks->in_port);
     consumed_masks->recirc_id = 0;
-    */
     consumed_masks->packet_type = 0;
 
     /* Eth */