-
Notifications
You must be signed in to change notification settings - Fork 8
CCIEth
How-To use the generic Ethernet support
See README.ctp.eth for basic information.
The CCIEth driver is located under contrib/driver/ccieth/linux and has its own build system.
It's written for recent kernels (3.x) but it works (well, compiles, at least) from 2.6.32 to recent git snapshots (nightly builds at Inria verify this).
For easier debugging, the loopback interface can be used by using no config file and setting CCI_CTP_ETH_ALLOW_LOOPBACK=1 in the environment.
To enable statistics, look under /sys/kernel/debug/ccieth (where debugs is mounted) after building the kernel driver with
make STATS=1
To enable debug messages in the driver (flood warning!)
make DEBUG=1
To enable fault injection (some packet dropped before being sent) at 5% rate
make FAULT=5
If debugging with valgrind, pass --enable-valgrind at configure and pass --sim-hints=lax-ioctls to valgrind.