Re: [dpdk-dev] [PATCH] net/memif: fix chained mbuf determination

2021-09-27 Thread Ferruh Yigit
On 9/22/2021 7:19 AM, Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) wrote: >>> Previously, TX functions call rte_pktmbuf_is_contiguous to determine >>> whether an mbuf is chained. However, rte_pktmbuf_is_contiguous is >>> designed to work on the first mbuf of a packet only. In case a pa

Re: [dpdk-dev] [PATCH] net/memif: fix chained mbuf determination

2021-09-21 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> > Previously, TX functions call rte_pktmbuf_is_contiguous to determine > > whether an mbuf is chained. However, rte_pktmbuf_is_contiguous is > > designed to work on the first mbuf of a packet only. In case a packet > > contains three or more segment mbufs in a chain, it may cause > > truncated pa

Re: [dpdk-dev] [PATCH] net/memif: fix chained mbuf determination

2021-09-20 Thread Ferruh Yigit
On 9/9/2021 3:42 PM, Junxiao Shi wrote: > Previously, TX functions call rte_pktmbuf_is_contiguous to determine > whether an mbuf is chained. However, rte_pktmbuf_is_contiguous is > designed to work on the first mbuf of a packet only. In case a packet > contains three or more segment mbufs in a chai

[dpdk-dev] [PATCH] net/memif: fix chained mbuf determination

2021-09-09 Thread Junxiao Shi
Previously, TX functions call rte_pktmbuf_is_contiguous to determine whether an mbuf is chained. However, rte_pktmbuf_is_contiguous is designed to work on the first mbuf of a packet only. In case a packet contains three or more segment mbufs in a chain, it may cause truncated packets or rte_mbuf_sa