Loopback tx: support multiple tx intfcs per frame 97/13597/1
authorDave Barach <[email protected]>
Sat, 21 Jul 2018 13:25:00 +0000 (09:25 -0400)
committerJohn Lo <[email protected]>
Sun, 22 Jul 2018 00:53:04 +0000 (00:53 +0000)
commitca23c3ea16f133968d9a6c48089656a963af5590
treef1ec17775c2f56dabefc3cb40d2e0524387bab7b
parent2ed681f5b0df35eaa2684244026919af83004792
Loopback tx: support multiple tx intfcs per frame

Can happen if code bypasses the per-interface output node, and
dispatches packets directly to the tx node.

Switch to vlib_get_buffers(...) ... vlib_buffer_enqueue_to_next (...),
quad/single loop coding pattern.

Change-Id: Ic0e5d3b9748230f4e545a54186e6e64e7a782bb1
Signed-off-by: Dave Barach <[email protected]>
(cherry picked from commit 78451a6a660cd26a67d2284219f48878a2dfe2c3)
src/vnet/ethernet/interface.c