aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_packet_dpdk.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp_packet_dpdk.h')
-rw-r--r--platform/linux-generic/include/odp_packet_dpdk.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/platform/linux-generic/include/odp_packet_dpdk.h b/platform/linux-generic/include/odp_packet_dpdk.h
index 3add83f19..b326000e6 100644
--- a/platform/linux-generic/include/odp_packet_dpdk.h
+++ b/platform/linux-generic/include/odp_packet_dpdk.h
@@ -46,18 +46,4 @@ int _odp_dpdk_packet_parse_common(packet_parser_t *pkt_hdr,
uint32_t supported_ptypes,
odp_pktin_config_opt_t pktin_cfg);
-static inline int _odp_dpdk_packet_parse_layer(odp_packet_hdr_t *pkt_hdr,
- struct rte_mbuf *mbuf,
- odp_proto_layer_t layer,
- uint32_t supported_ptypes,
- odp_pktin_config_opt_t pktin_cfg)
-{
- uint32_t seg_len = pkt_hdr->seg_len;
- void *base = pkt_hdr->seg_data;
-
- return _odp_dpdk_packet_parse_common(&pkt_hdr->p, base,
- pkt_hdr->frame_len, seg_len, mbuf,
- layer, supported_ptypes,
- pktin_cfg);
-}
#endif