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, monarch_lts has been updated via b06b87af01c29544a46b7e25b20d099d4850148c (commit) from 0e9e5654cf04c6f92a3539fec06f6cf51a86168d (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 b06b87af01c29544a46b7e25b20d099d4850148c Author: Juha-Matti Tilli juha-matti.tilli@iki.fi Date: Thu Sep 13 20:13:47 2018 +0300
linux-gen: netmap: remove minimum frame len check
Checking the minimum frame length is unnecessary as netmap drops truncated frames internally.
Signed-off-by: Matias Elo matias.elo@nokia.com Signed-off-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Juha-Matti Tilli juha-matti.tilli@iki.fi 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 3017e403..45b193d1 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -606,11 +606,6 @@ static inline int netmap_pkt_to_odp(pktio_entry_t *pktio_entry, return -1; }
- if (odp_unlikely(len < _ODP_ETH_LEN_MIN)) { - ODP_ERR("RX: Frame truncated: %" PRIu16 "\n", len); - return -1; - } - if (pktio_cls_enabled(pktio_entry)) { if (cls_classify_packet(pktio_entry, (const uint8_t *)buf, len, len, &pool, &parsed_hdr))
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/pktio/netmap.c | 5 ----- 1 file changed, 5 deletions(-)
hooks/post-receive