This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via d7c097e4a1168efa7393f8028179a2ff2f96505d (commit) from 6d91fe717d2e62e048fb8837a67cc1118a3113d1 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit d7c097e4a1168efa7393f8028179a2ff2f96505d Author: Matias Elo matias.elo@nokia.com Date: Fri Jul 27 11:01:26 2018 +0300
linux-gen: netmap: fix incorrect debug message
Move debug message to the correct code branch and add more debug info.
Signed-off-by: Matias Elo matias.elo@nokia.com Reported-by: Gyanesh Patra pgyanesh.patra@gmail.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c index 0da2b7af..53d3e58c 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -836,8 +836,10 @@ static inline int netmap_recv_desc(pktio_entry_t *pktio_entry, if (odp_likely(ring->slot[slot_id].len <= mtu)) { slot_tbl[num_rx].buf = buf; slot_tbl[num_rx].len = ring->slot[slot_id].len; - ODP_DBG("dropped oversized packet\n"); num_rx++; + } else { + ODP_DBG("Dropped oversized packet: %" PRIu16 " " + "B\n", ring->slot[slot_id].len); } ring->cur = nm_ring_next(ring, slot_id); }
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/pktio/netmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive