[EXT] Re: [PATCH v4 2/3] ethdev: add mbuf dynfield for incomplete IP reassembly
    Akhil Goyal 
    gakhil at marvell.com
       
    Mon Feb  7 18:29:14 CET 2022
    
    
  
> On Sat, 5 Feb 2022 03:43:33 +0530
> Akhil Goyal <gakhil at marvell.com> wrote:
> 
> > +/**
> > + * @internal
> > + * Register mbuf dynamic field and flag for IP reassembly incomplete case.
> > + */
> > +__rte_internal
> > +int
> > +rte_eth_ip_reass_dynfield_register(int *field_offset, int *flag);
> 
> Maybe use RTE_INIT() constructor for this?
The same application can be used for non-reassembly case as well.
RTE_INIT would mean, dynfield would be registered always even if it is
enabled or not.
The current implementation would register it only when the 
Reassembly option is enabled.
    
    
More information about the dev
mailing list