summaryrefslogtreecommitdiffstats
path: root/net/hsr/hsr_slave.c
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2021-02-09 19:02:10 -0600
committerDavid S. Miller <davem@davemloft.net>2021-02-11 13:24:44 -0800
commit78be9217c4014cebac4d549cc2db1f2886d5a8fb (patch)
tree968ff404a23219e4345511bcdf2e9c19a9244a11 /net/hsr/hsr_slave.c
parentf8a7e0145d58f53647c43fd9dd913da190c6c253 (diff)
downloadlinux-stable-78be9217c4014cebac4d549cc2db1f2886d5a8fb.tar.gz
linux-stable-78be9217c4014cebac4d549cc2db1f2886d5a8fb.tar.bz2
linux-stable-78be9217c4014cebac4d549cc2db1f2886d5a8fb.zip
net: hsr: generate supervision frame without HSR/PRP tag
For a switch to offload insertion of HSR/PRP tags, frames must not be sent to the CPU facing switch port with a tag. Generate supervision frames (eth type ETH_P_PRP) without HSR v1 (ETH_P_HSR)/PRP tag and rely on create_tagged_frame which inserts it later. This will allow skipping the tag insertion for all outgoing frames in the future which is required for HSR v1/PRP tag insertions to be offloaded. HSR v0 supervision frames always contain tag information so insertion of the tag can't be offloaded. IEC 62439-3 Ed.2.0 (HSR v1) specifically notes that this was changed since v0 to allow offloading. Signed-off-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Tested-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr/hsr_slave.c')
0 files changed, 0 insertions, 0 deletions