• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1NAME = "Pktgen test"
2AUTHOR = "Martin Bligh <mbligh@google.com>"
3TIME = "MEDIUM"
4TEST_CATEGORY = "FUNCTIONAL"
5TEST_CLASS = "HARDWARE"
6TEST_TYPE = "CLIENT"
7DOC = """
8pktgen is a high-performance testing tool included in the Linux kernel. Being
9part of the kernel is currently best way to test the TX process of device driver
10and NIC. pktgen can also be used to generate ordinary packets to test other
11network devices. Especially of interest is the use of pktgen to test routers or
12bridges which use the Linux network stack. Because pktgen is "in-kernel", it can
13generate very high packet rates and with few systems saturate network devices as
14routers or bridges.
15"""
16
17job.run_test('pktgen', eth='eth0', count=50000, clone_skb=0, tag='clone_skb_off')
18job.run_test('pktgen', eth='eth0', count=50000, clone_skb=1, tag='clone_skb_on')
19
20