ABSTRACT: In this paper, we thoroughly analyze timing properties of CAN-to-CAN gateway built with Linux
kernel CAN subsystem. The latencies induced by this gateway are evaluated under many combinations
of conditions, such as when traffic filtering is used, when the gateway is configured to modify the routed
frames, when various types of load are imposed on the gateway or when the gateway is run on different
kernels (both rt-preempt and vanilla are included). From the detailed results, we derive the general
characteristics of the gateway. Some of the results apply not only for the special case of CAN-to-CAN
routing, but also for the whole Linux networking subsystem because many mechanisms in the Linux
networking stack are shared by all protocols.
The overall conclusion of our analysis is that the gateway is in pretty good shape and our results were
used to support merging the gateway into Linux mainline.