aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include
diff options
context:
space:
mode:
authorTuomas Taipale <tuomas.taipale@nokia.com>2022-05-05 06:10:41 +0000
committerPetri Savolainen <petri.savolainen@nokia.com>2022-05-05 16:15:45 +0300
commit663a190b5cf52d43f89a6b83606afec21a46a080 (patch)
tree2e13d0e4e33e3dd6a7657c6d66e2f43585c5e029 /platform/linux-generic/include
parentef8529210737b4fe76f5316e0094b8891e2c37fb (diff)
linux-gen: packet: remove unused defines
`PKT_EXTRA_LEN` and `PKT_EXTRA_TYPE_DPDK` seems to have become unused when DPDK zero copy implementation was improved a while ago. Remove them. Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/include')
-rw-r--r--platform/linux-generic/include/odp_packet_internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h
index 9a6bc3254..e54d88f6a 100644
--- a/platform/linux-generic/include/odp_packet_internal.h
+++ b/platform/linux-generic/include/odp_packet_internal.h
@@ -46,12 +46,6 @@ ODP_STATIC_ASSERT(sizeof(_odp_packet_input_flags_t) == sizeof(uint64_t),
ODP_STATIC_ASSERT(sizeof(_odp_packet_flags_t) == sizeof(uint32_t),
"PACKET_FLAGS_SIZE_ERROR");
-/* Packet extra data length */
-#define PKT_EXTRA_LEN 128
-
-/* Packet extra data types */
-#define PKT_EXTRA_TYPE_DPDK 1
-
/* Maximum number of segments per packet */
#define PKT_MAX_SEGS 255