> Also, I > am considering putting this in odp-dpdk instead of odp-linux since it > does not require API changes and odp-linux is not relevant for > performance runs. >
This is a good idea. The changes can be ported to back linux-generic after the necessary API changes are merged. odp-dpdk probably requires couple patches before you start working on the parser code. At least the API change 'api: pktio: add parser configuration' and the implementation 'linux-gen: packet: remove lazy parsing' should to be ported. > It seams, with your changes you are favoring "non HW csum" case - this > should be the corner case. ODP is meant for performance and one would > select a board with HW capabilities and would expect maximum > performance for this case. My objective is to minimise the overhead for the raw throughput case when no checksumming etc. is enabled as this is almost always the baseline when doing performance benchmarking. -Matias