Skip to content

p4_pdpi: avoid copies on the PacketIn/PacketOut translation hot path. - #117

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/991222289
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/991222289

Conversation

@copybara-service

Copy link
Copy Markdown

p4_pdpi: avoid copies on the PacketIn/PacketOut translation hot path.

PiPacketIoToIr / IrPacketIoToPd no longer copy the metadata definition maps or
the metadata definitions, only format error strings on the error path, and move
the payload into the PD message instead of copying it.

PiPacketIoToIr / IrPacketIoToPd no longer copy the metadata definition maps or
the metadata definitions, only format error strings on the error path, and move
the payload into the PD message instead of copying it.

PiperOrigin-RevId: 991222289
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants