Matias Elo(matiaselo) replied on github web page:

platform/linux-generic/pktio/socket.c
@@ -696,19 +696,23 @@ static int sock_mmsg_recv(pktio_entry_t *pktio_entry, int 
index ODP_UNUSED,
 static uint32_t _tx_pkt_to_iovec(odp_packet_t pkt,
                                 struct iovec iovecs[MAX_SEGS])
 {
-       uint32_t pkt_len = odp_packet_len(pkt);
-       uint32_t offset = odp_packet_l2_offset(pkt);


Comment:
Very true, thanks. Will send V2.

https://github.com/Linaro/odp/pull/158#discussion_r136753943
updated_at 2017-09-04 07:26:11

Reply via email to