git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/dpaa2: support configuring dpdmux max Rx frame length
[dpdk.git]
/
drivers
/
net
/
softnic
/
rte_eth_softnic_flow.c
diff --git
a/drivers/net/softnic/rte_eth_softnic_flow.c
b/drivers/net/softnic/rte_eth_softnic_flow.c
index
f05ff09
..
7925bad
100644
(file)
--- a/
drivers/net/softnic/rte_eth_softnic_flow.c
+++ b/
drivers/net/softnic/rte_eth_softnic_flow.c
@@
-169,22
+169,22
@@
flow_item_is_proto(enum rte_flow_item_type type,
case RTE_FLOW_ITEM_TYPE_ETH:
*mask = &rte_flow_item_eth_mask;
case RTE_FLOW_ITEM_TYPE_ETH:
*mask = &rte_flow_item_eth_mask;
- *size = sizeof(struct rte_
flow_item_eth
);
+ *size = sizeof(struct rte_
ether_hdr
);
return 1; /* TRUE */
case RTE_FLOW_ITEM_TYPE_VLAN:
*mask = &rte_flow_item_vlan_mask;
return 1; /* TRUE */
case RTE_FLOW_ITEM_TYPE_VLAN:
*mask = &rte_flow_item_vlan_mask;
- *size = sizeof(struct rte_
flow_item_vlan
);
+ *size = sizeof(struct rte_
vlan_hdr
);
return 1;
case RTE_FLOW_ITEM_TYPE_IPV4:
*mask = &rte_flow_item_ipv4_mask;
return 1;
case RTE_FLOW_ITEM_TYPE_IPV4:
*mask = &rte_flow_item_ipv4_mask;
- *size = sizeof(struct rte_
flow_item_ipv4
);
+ *size = sizeof(struct rte_
ipv4_hdr
);
return 1;
case RTE_FLOW_ITEM_TYPE_IPV6:
*mask = &rte_flow_item_ipv6_mask;
return 1;
case RTE_FLOW_ITEM_TYPE_IPV6:
*mask = &rte_flow_item_ipv6_mask;
- *size = sizeof(struct rte_
flow_item_ipv6
);
+ *size = sizeof(struct rte_
ipv6_hdr
);
return 1;
case RTE_FLOW_ITEM_TYPE_ICMP:
return 1;
case RTE_FLOW_ITEM_TYPE_ICMP: