[dpdk-dev] [PATCH v2 07/12] mbuf: new flag for LRO

Maxime Coquelin maxime.coquelin at redhat.com
Tue Oct 11 15:48:53 CEST 2016



On 10/03/2016 11:00 AM, Olivier Matz wrote:
> When receiving coalesced packets in virtio, the original size of the
> segments is provided. This is a useful information because it allows to
> resegment with the same size.
>
> Add a RX new flag in mbuf, that can be set when packets are coalesced by
> a hardware or virtual driver when the m->tso_segsz field is valid and is
> set to the segment size of original packets.
>
> This flag is used in next commits in the virtio pmd.
>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> ---
>  doc/guides/rel_notes/release_16_11.rst | 5 +++++
>  lib/librte_mbuf/rte_mbuf.c             | 2 ++
>  lib/librte_mbuf/rte_mbuf.h             | 7 +++++++
>  3 files changed, 14 insertions(+)

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime


More information about the dev mailing list