From: Liuchang <[email protected]>
Code Source From: Self Code
Description:
add vxlan decap debug info
Jira: #[Optional]
市场项目编号(名称):[Optional]
---
lib/netdev-offload-dpdk.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/netdev-offload-dpdk.c b/lib/netdev-offload-dpdk.c
index 338a272..3e268bf 100644
--- a/lib/netdev-offload-dpdk.c
+++ b/lib/netdev-offload-dpdk.c
@@ -637,6 +637,7 @@ parse_vxlan_match(struct flow_patterns *patterns,
if (is_all_zeros(&match->wc.masks.tunnel, sizeof match->wc.masks.tunnel)) {
return 0;
}
+ VLOG_DBG("TIMO:in parse_vxlan_match");
/* no need to tranmit layer2/layer3/layer4 as
* for outer key fpga only support vni */
@@ -1423,10 +1424,12 @@ netdev_offload_dpdk_validate_flow(const struct match
*match)
/* Create a wc-zeroed version of flow. */
match_init(&match_zero_wc, &match->flow, &match->wc);
+ /* support tunnel now so mark this checker
if (!is_all_zeros(&match_zero_wc.flow.tunnel,
sizeof match_zero_wc.flow.tunnel)) {
goto err;
}
+ */
if (masks->metadata || masks->skb_priority ||
masks->pkt_mark || masks->dp_hash) {
@@ -1467,9 +1470,11 @@ netdev_offload_dpdk_validate_flow(const struct match
*match)
}
/* If fragmented, then don't HW accelerate - for now. */
+ /* move this checker to parse_flow_match
if (match_zero_wc.flow.nw_frag) {
goto err;
}
+ */
/* Unsupported L4. */
if (masks->igmp_group_ip4 || masks->ct_tp_src || masks->ct_tp_dst) {
--
1.8.3.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev