On 4/5/20 10:56 AM, [email protected] wrote: > From: Nithin Dabilpuram <[email protected]> > > Add ctrl api to setup ethdev_rx and ethdev_tx node. > This ctrl api clones 'N' number of ethdev_rx and ethdev_tx > nodes with specific (port, queue) pairs updated in their context. > All the ethdev ports and queues are setup before this api > is called. > > Signed-off-by: Nithin Dabilpuram <[email protected]> > Signed-off-by: Pavan Nikhilesh <[email protected]> > Signed-off-by: Kiran Kumar K <[email protected]> > --- [...] > +struct rte_node_mbuf_priv1 { > + union { > + /* IP4 rewrite */ > + struct { > + uint16_t nh; > + uint16_t ttl; > + uint32_t cksum; > + }; > + > + uint64_t u; > + }; > +}; > + > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice > + * > + * Node mbuf private data to store crypto operation. > + */ > +struct rte_node_mbuf_priv2 { > + union { > + /* Sym crypto */ > + struct { > + struct rte_crypto_op op; > + }; > + }; > +} __rte_cache_aligned;
Why such definition? With regards Andrzej Ostruszka

