Re: [PATCH] pipeline: rework optimization pattern for header generation

2022-06-20 Thread Thomas Monjalon
16/06/2022 16:16, Cristian Dumitrescu: > The P4 language requires marking a header as valid before any of the > header fields are written as opposed to after the writes are done. > Hence, the optimization of replacing the sequence of instructions to > generate a header by reading it from the table

[PATCH] pipeline: rework optimization pattern for header generation

2022-06-16 Thread Cristian Dumitrescu
The P4 language requires marking a header as valid before any of the header fields are written as opposed to after the writes are done. Hence, the optimization of replacing the sequence of instructions to generate a header by reading it from the table action data with a single DMA internal instruct