summary refs log tree commit diff
path: root/drivers/net/vmxnet3
diff options
context:
space:
mode:
authorAndre Naujoks <nautsch2@gmail.com>2013-09-13 19:37:13 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-20 15:38:27 -0400
commit87397fe10db0e7ee85041eee5a40052cab66aaff (patch)
treeee22a221059741689822a79aece78a3788f63264 /drivers/net/vmxnet3
parentc26d436cbf7a9549ec1073480a2e3f0d3f64e02d (diff)
downloadlinux-87397fe10db0e7ee85041eee5a40052cab66aaff.tar.gz
slcan: rewrite of slc_bump and slc_encaps
The old implementation was heavy on str* functions and sprintf calls.
This version is more manual, but faster.

Profiling just the printing of a 3 char CAN-id resulted in 60 instructions
for the manual method and over 2000 for the sprintf method. Bear in
mind the profiling was done against libc and not the kernel sprintf.

Together with this rewrite an issue with sending and receiving of RTR frames
has been fixed by Oliver for the cases that the DLC is not zero.

Signed-off-by: Andre Naujoks <nautsch2@gmail.com>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vmxnet3')
0 files changed, 0 insertions, 0 deletions