]> git.droids-corp.org - dpdk.git/commit
ethdev: add mbuf dynfield for incomplete IP reassembly
authorAkhil Goyal <gakhil@marvell.com>
Tue, 8 Feb 2022 22:20:26 +0000 (03:50 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 10 Feb 2022 10:23:17 +0000 (11:23 +0100)
commit3c059b2c56841e502bb42a20cbcccb28875efde9
treed86f1dac72749f520bbc954a47eaab40a7b54f75
parenta75ab6e519431fcd00ba435fdb7de8dac516e081
ethdev: add mbuf dynfield for incomplete IP reassembly

Hardware IP reassembly may be incomplete for multiple reasons like
reassembly timeout reached, duplicate fragments, etc.
To save application cycles to process these packets again, a new
mbuf dynflag is added to show that the mbuf received is not
reassembled properly.

Now if this dynflag is set, application can retrieve corresponding
chain of mbufs using mbuf dynfield set by the PMD. Now, it will be
up to application to either drop those fragments or wait for more time.

Signed-off-by: Akhil Goyal <gakhil@marvell.com>
lib/ethdev/ethdev_driver.h
lib/ethdev/rte_ethdev.c
lib/ethdev/rte_ethdev.h
lib/ethdev/version.map
lib/mbuf/rte_mbuf_dyn.h