Open lh-amd opened 1 year ago
FYI, in case you did not already know, the PSA implementation for BMv2 that you linked to is incomplete. It might be complete in its implementation of the InternetChecksum extern -- I do not know off hand whether that part is complete or not.
The DPDK back end implementation of the PSA architecture is significantly more complete. I do not know whether looking at the back end code for that will help answer your question. I am not an expert on the C++ implementation details here.
Looking at the PSA Extern InternetChecksum, object: (https://github.com/p4lang/p4c/blob/main/backends/bmv2/psa_switch/psaSwitch.cpp)
How would one get the paramter fieldlist size? Want to add limits on the parameter to add ?