[PATCH] pipeline: rework optimization pattern for header generation

Thomas Monjalon thomas at monjalon.net
Mon Jun 20 16:10:15 CEST 2022


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 action data with a
> single DMA internal instruction are reworked from "mov all + validate
> -> dma" to "validate + mov all -> dma".
> 
> Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied, thanks.





More information about the dev mailing list