> On 9/20/2023 12:34 PM, Chaoyong He wrote: > > This patch series aims to improve the modularization of NFP PMD through: > > * Make the header files self-containing by adding the correct include > > statement. > > * Try to keep the interface of modules as small as possible. > > * Remove the unneeded include statements to make sure a clean dependent > > relations among modules. > > > > Chaoyong He (13): > > net/nfp: make sure header file is self-containing > > net/nfp: improve modularazation of rxtx module > > net/nfp: improve modularazation of nfd3 module > > net/nfp: improve modularazation of nfdk module > > net/nfp: improve modularazation of common module > > net/nfp: improve modularazation of flower module > > net/nfp: improve modularazation of flower representor module > > net/nfp: improve modularazation of flower ctrl module > > net/nfp: improve modularazation of flower cmsg module > > net/nfp: improve modularazation of flow module > > net/nfp: improve modularazation of meter module > > net/nfp: improve modularazation of CPP bridge module > > net/nfp: cleanup the include statement of PMD > > > > Series applied to dpdk-next-net/main, thanks. > > > Are these cleanups preparation for a planned work?
Yes, we try to add a common 'drivers/common/nfp' library and a 'dirvers/vdpa/nfp' PMD in this or next release cycle. For now, our cards are 1PF <--> n physical mode, and we will add support for 1PF <--> 1 physical mode and maybe m PF <--> n physical mode in the future. The modularization and refactor will make these works easier and the commits more natural to understand.