> On 1/30/2022 5:59 PM, Akhil Goyal wrote: > > 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 <gak...@marvell.com> > > <...> > > > index e3532591f4..e3e6368a1d 100644 > > --- a/lib/ethdev/rte_ethdev.h > > +++ b/lib/ethdev/rte_ethdev.h > > @@ -5264,6 +5264,27 @@ __rte_experimental > > int rte_eth_ip_reassembly_conf_set(uint16_t port_id, > > struct rte_eth_ip_reass_params *conf); > > > > +#define RTE_ETH_IP_REASS_DYNFIELD_NAME "rte_eth_ip_reass_dynfield" > > +#define RTE_ETH_IP_REASS_INCOMPLETE_DYNFLAG_NAME > "rte_eth_ip_reass_incomplete_dynflag" > > For other dynfield/dynflag these defines resides in mbuf library, not sure > if these also should go there. cc'ed Olivier for comment.
Ok I will move these in rte_mbuf_dyn.h