Loopback tx: support multiple tx intfcs per frame 96/13596/2
authorDave Barach <dave@barachs.net>
Sat, 21 Jul 2018 13:25:00 +0000 (09:25 -0400)
committerDave Barach <dave@barachs.net>
Sat, 21 Jul 2018 20:11:51 +0000 (16:11 -0400)
commit78451a6a660cd26a67d2284219f48878a2dfe2c3
treed67e7f769b9bf21eeca44ccef85915e7c9386eb9
parente3750671423e70283dd1e60c53ddffdfe651ecbb
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 <dave@barachs.net>
src/vnet/ethernet/interface.c