@@ -9,7 +9,6 @@ AM_CFLAGS += -I$(top_srcdir)/include
AM_CFLAGS += -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@
AM_CFLAGS += -I$(top_builddir)/include
AM_CFLAGS += -Iinclude
-AM_CFLAGS += -D_ODP_PKTIO_IPC
AM_CPPFLAGS += $(OPENSSL_CPPFLAGS)
AM_CPPFLAGS += $(DPDK_CPPFLAGS)
@@ -86,8 +86,7 @@ struct odp_buffer_hdr_t {
/* Burst table */
struct odp_buffer_hdr_t *burst[BUFFER_BURST_SIZE];
- /* Used only if _ODP_PKTIO_IPC is set.
- * ipc mapped process can not walk over pointers,
+ /* ipc mapped process can not walk over pointers,
* offset has to be used */
uint64_t ipc_data_offset;
@@ -536,10 +536,8 @@ odp_pool_t odp_pool_create(const char *name, odp_pool_param_t *params)
if (check_params(params))
return ODP_POOL_INVALID;
-#ifdef _ODP_PKTIO_IPC
if (params && (params->type == ODP_POOL_PACKET))
shm_flags = ODP_SHM_PROC;
-#endif
return pool_create(name, params, shm_flags);
}
@@ -23,9 +23,7 @@ const pktio_if_ops_t * const pktio_if_ops[] = {
#ifdef HAVE_PCAP
&pcap_pktio_ops,
#endif
-#ifdef _ODP_PKTIO_IPC
&ipc_pktio_ops,
-#endif
&tap_pktio_ops,
&sock_mmap_pktio_ops,
&sock_mmsg_pktio_ops,