mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Arvid Brodin](/assets/img/avatar_default.png)
This patch removes the separate paths for frames coming from the outside, and frames sent from the HSR device, and instead makes all frames go through hsr_forward_skb() in hsr_forward.c. This greatly improves code readability and also opens up the possibility for future support of the HSR Interlink device that is the basis for HSR RedBoxes and HSR QuadBoxes, as well as VLAN compatibility. Other improvements: * A reduction in the number of times an skb is copied on machines without HAVE_EFFICIENT_UNALIGNED_ACCESS, which improves throughput somewhat. * Headers are now created using the standard eth_header(), and using the standard hard_header_len. * Each HSR slave now gets its own private skb, so slave-specific fields can be correctly set. Signed-off-by: Arvid Brodin <arvid.brodin@alten.se> Signed-off-by: David S. Miller <davem@davemloft.net>
8 lines
150 B
Makefile
8 lines
150 B
Makefile
#
|
|
# Makefile for HSR
|
|
#
|
|
|
|
obj-$(CONFIG_HSR) += hsr.o
|
|
|
|
hsr-y := hsr_main.o hsr_framereg.o hsr_device.o \
|
|
hsr_netlink.o hsr_slave.o hsr_forward.o
|