On 8/12/2022 11:22 AM, Chaoyong He wrote:
The NFP Card can load different firmware applications. Currently only the CoreNIC application is supported. This commit makes needed infrastructure changes in order to support other firmware applications too.
App (or firmware application) is a little confusing, why not just call it FW?
Same for code variable/struct names, and other patches.
Clearer separation is made between the PF device and any application specific concepts. The PF struct is now generic regardless of the application loaded. A new struct is also made for the CoreNIC application. Future additions to support other applications should also add an applications specific struct. Signed-off-by: Chaoyong He<chaoyong...@corigine.com> Signed-off-by: Heinrich Kuhn<heinrich.k...@corigine.com> Reviewed-by: Niklas Söderlund<niklas.soderl...@corigine.com>