diff mbox

[API-NEXT,PATCHv2,3/7] linux-generic: packet: implement odp_packet_prefetch()

Message ID 1461615258-17929-4-git-send-email-bill.fischofer@linaro.org
State Superseded
Headers show

Commit Message

Bill Fischofer April 25, 2016, 8:14 p.m. UTC
Note that this function is a no-op on linux-generic

Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Bala Manoharan <bala.manoharan@linaro.org>
---
 platform/linux-generic/odp_packet.c | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox

Patch

diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c
index bae5038..e4f9620 100644
--- a/platform/linux-generic/odp_packet.c
+++ b/platform/linux-generic/odp_packet.c
@@ -384,6 +384,13 @@  void *odp_packet_offset(odp_packet_t pkt, uint32_t offset, uint32_t *len,
 	return addr;
 }
 
+/* This function is a no-op in linux-generic */
+void odp_packet_prefetch(odp_packet_t pkt ODP_UNUSED,
+			 uint32_t offset ODP_UNUSED,
+			 uint32_t len ODP_UNUSED)
+{
+}
+
 /*
  *
  * Meta-data