]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pktgen: add full reset functionality
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 11 Nov 2008 00:48:03 +0000 (16:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2008 00:48:03 +0000 (16:48 -0800)
commiteb37b41cc2274cdecfc19d371717c321fe2ab426
treec155954313416230e6b762d2385dc19858613b2b
parent9b1582d4513a2102c68fe12ac1106595f3c09120
pktgen: add full reset functionality

While testing pktgen, I found that sometimes my configurations from
previous runs would be left over, particularly when going from a test
with 8 threads down to a test with 4 threads.

This adds new functionality to pktgen where you can call
pgset "reset"

and it will be just like you just insmod'ed pktgen again.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c