We want to distinguish between NFD3 and NFDk, and maybe it is not necessary, I will update it, thanks
-----Original Message----- From: Ferruh Yigit <ferruh.yi...@xilinx.com> Sent: Friday, June 3, 2022 06:54 To: Kevin Liu <jin....@corigine.com>; dev@dpdk.org Cc: Niklas Soderlund <niklas.soderl...@corigine.com>; Diana Wang <na.w...@corigine.com>; Nole Zhang <peng.zh...@corigine.com>; Chaoyong He <chaoyong...@corigine.com> Subject: Re: [PATCH 08/14] net/nfp: structure adjustment On 6/2/2022 2:52 AM, Jin Liu wrote: > Add and modify the nfp PMD struct and macro that will be used by NFDK > firmware. > > Signed-off-by: Jin Liu <jin....@corigine.com> > Signed-off-by: Diana Wang <na.w...@corigine.com> > Signed-off-by: Peng Zhang <peng.zh...@corigine.com> > Signed-off-by: Chaoyong He <chaoyong...@corigine.com> > Signed-off-by: Niklas Söderlund <niklas.soderl...@corigine.com> <...> > @@ -114,9 +166,14 @@ struct nfp_net_txq { > * For each descriptor keep a reference to the mbuf and > * DMA address used until completion is signalled. > */ > - struct { > - struct rte_mbuf *mbuf; > - } *txbufs; > + union { > + struct { > + struct rte_mbuf *mbuf; > + } *txbufs; > + struct { > + struct rte_mbuf *mbuf; > + } *ktxbufs; What is the point of this union? Both structs are same.