Radek Matejka [Thu, 23 Aug 2012 15:51:43 +0000 (17:51 +0200)]
benchmarking and debugging distributions added; benchmark script added
Configuration files for kernel and busybox used to create benchmarking
and debugging distributions were added. The assembly of distributions is
automated by script.
Benchmark script was added. Benchmark script is run on test machine and
the results are send back to workstation using netcat. The netcat receiver
script 'ncrcv', which handles results reception was added.
Radek Matejka [Wed, 15 Aug 2012 14:58:24 +0000 (16:58 +0200)]
netdevice_notifier implemented; test script; cegwbench rxtimeo
netdevice_notifier was implemented to avoid sending can frames to detached
devices or device index mismatch. The test script was written to test basic
functionality of canethgw. cegwbench has now ability to set timeout for
receiving function with its '-t' option.
Radek Matejka [Wed, 8 Aug 2012 16:17:00 +0000 (18:17 +0200)]
new options for cegwbench, first version of cesend
Cegwbench has now options to specify interfaces(can,udp) on which the
benchmark will be performed. The benchmark can be done in either
(can->eth,eth->can) direction. The benchmark modes are being introduced
(oneattime).
Cesend is a fork od cansend from Socket-CAN project. It sends a canframe
over udp.
kernel/canethgw accepts configuration over netlink
The module accepts routing commands from cegw using netlink.
It builds RCU hlist of routing rules and performs routing on
received packets on both CAN and UDP.
The cangw program was modified (renamed to cangwcfg) to
send rtnetlink information to canethgw. Canethgw registers
netlink callback and prints received port and udp settings.