net: pktgen: support injecting packets for qdisc testing
authorJohn Fastabend <john.fastabend@gmail.com>
Sat, 2 Jul 2016 21:12:54 +0000 (14:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 23:07:34 +0000 (16:07 -0700)
commit0967f2445963b63269d7dd2f5b6f234ea57dd10e
treeaa18225468533de8f2a4d32cb3de17d6245dc7f8
parent4386f5662e639553552408c33014ca3e8d612b14
net: pktgen: support injecting packets for qdisc testing

Add another xmit_mode to pktgen to allow testing xmit functionality
of qdiscs. The new mode "queue_xmit" injects packets at
__dev_queue_xmit() so that qdisc is called.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c