pg: set frame level sw/hw interface indicies correctly 81/43881/3
authorDave Barach <[email protected]>
Sat, 11 Oct 2025 12:26:28 +0000 (08:26 -0400)
committerDave Barach <[email protected]>
Sat, 11 Oct 2025 15:09:32 +0000 (11:09 -0400)
commit5fe2bbeea795bd4ea7c36ec78fba385aad9fc8be
treef356f30d24a2ced01973d86c128302e8006b749a
parent1fce82eeec72565423489963e9d56decc07e2e23
pg: set frame level sw/hw interface indicies correctly

"packet-generator new stream-name { ... interface loop0 ... }" wasn't
setting the ethernet frame sw/hw_if_index fields from the
stream. Packets always appeared to originate in one of the pg-XXX
interfaces, yielding dst MAC address drops.

Type: fix

Change-Id: I26e3021bb8c068e74dfa8b314b7b9a3a8b0dc65a
Signed-off-by: Dave Barach <[email protected]>
src/vnet/pg/input.c