summaryrefslogtreecommitdiffstats
path: root/samples/pktgen/pktgen.conf-1-2
Commit message (Collapse)AuthorAgeFilesLines
* samples/pktgen: Show the results rather than just commenting where they areBen Hutchings2015-02-231-2/+1
| | | | | Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
* samples/pktgen: Trap SIGINTBen Hutchings2015-02-231-0/+1
| | | | | | | Otherwise ^C stops the script, not just pktgen. Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
* samples/pktgen: Use bash as interpreterBen Hutchings2015-02-231-1/+1
| | | | | | | | | These scripts use the non-POSIX 'function' and 'local' keywords so they won't work with every /bin/sh. We could drop 'function' as it is a no-op, but 'local' makes for cleaner scripts. Require use of bash. Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
* samples/pktgen: Remove setting of obsolete max_before_softirq parameterBen Hutchings2015-02-231-2/+0
| | | | | Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
* samples/pktgen: Correct comments about the thread configBen Hutchings2015-02-231-1/+1
| | | | | | | | | | | | They all claimed to be two CPU examples using eth1, eth2 but that is only true in one case! Rob Jones pointed out spelling and grammar errors here, which I've also corrected. Cc: Rob Jones <rob.jones@codethink.co.uk> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
* samples/pktgen: Delete unused function pg()Ben Hutchings2015-02-231-5/+0
| | | | | | | | This function is not used and wouldn't do anything useful as pktgen does not have an 'inject' command. Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
* samples/pktgen: Add sample scripts for pktgen facilityBen Hutchings2015-02-231-0/+76
These are Robert Olsson's samples which used to be available from <ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/examples/> but currently are not. Change the documentation to refer to these consistently as 'sample scripts', matching the directory name used here. Cc: Robert Olsson <robert@herjulf.se> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud