diff options
author | 2017-11-16 13:26:40 +0000 | |
---|---|---|
committer | 2017-11-16 13:27:33 +0000 | |
commit | 1f8d7bdaca90ffce7a23570d64a73332536ac0a3 (patch) | |
tree | 7a9d90751d0b148272d9ce355b35696c0e60d630 /lib/librte_pdump | |
parent | 073e12d0c6f521c9f2753ec06132e74c69270269 (diff) | |
parent | 169a9de21e263aa6599cdc2d87a45ae158d9f509 (diff) |
Merge branch 'upstream' into 17.11.x
Change-Id: I7c5a806f100bfa4324e17c91490e952762a30ee4
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'lib/librte_pdump')
-rw-r--r-- | lib/librte_pdump/rte_pdump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librte_pdump/rte_pdump.c b/lib/librte_pdump/rte_pdump.c index 29a6c99b..bc18f814 100644 --- a/lib/librte_pdump/rte_pdump.c +++ b/lib/librte_pdump/rte_pdump.c @@ -139,7 +139,7 @@ pdump_pktmbuf_copy(struct rte_mbuf *m, struct rte_mempool *mp) { struct rte_mbuf *m_dup, *seg, **prev; uint32_t pktlen; - uint8_t nseg; + uint16_t nseg; m_dup = rte_pktmbuf_alloc(mp); if (unlikely(m_dup == NULL)) @@ -353,7 +353,7 @@ set_pdump_rxtx_cbs(struct pdump_request *p) &port); if (ret < 0) { RTE_LOG(ERR, PDUMP, - "failed to get potid for device id=%s\n", + "failed to get port id for device id=%s\n", p->data.en_v1.device); return -EINVAL; } @@ -365,7 +365,7 @@ set_pdump_rxtx_cbs(struct pdump_request *p) &port); if (ret < 0) { RTE_LOG(ERR, PDUMP, - "failed to get potid for device id=%s\n", + "failed to get port id for device id=%s\n", p->data.dis_v1.device); return -EINVAL; } |