netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] hsr: Send correct HSRv0 supervision frames
@ 2025-11-11 16:29 Felix Maurer
  2025-11-11 16:29 ` [PATCH net 1/2] hsr: Fix supervision frame sending on HSRv0 Felix Maurer
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Felix Maurer @ 2025-11-11 16:29 UTC (permalink / raw)
  To: netdev, davem, edumazet, kuba, pabeni, horms
  Cc: liuhangbin, m-karicheri2, arvid.brodin, bigeasy

Hangbin recently reported that the hsr selftests were failing and noted
that the entries in the node table were not merged, i.e., had
00:00:00:00:00:00 as MacAddressB forever [1].

This failure only occured with HSRv0 because it was not sending
supervision frames anymore. While debugging this I found that we were
not really following the HSRv0 standard for the supervision frames we
sent, so I additionally made a few changes to get closer to the standard
and restore a more correct behavior we had a while ago.

The selftests can still fail because they take a while and run into the
timeout. I did not include a change of the timeout because I have more
improvements to the selftests mostly ready that change the test duration
but are net-next material.

[1]: https://lore.kernel.org/netdev/aMONxDXkzBZZRfE5@fedora/

Felix Maurer (2):
  hsr: Fix supervision frame sending on HSRv0
  hsr: Follow standard for HSRv0 supervision frames

 net/hsr/hsr_device.c  |  5 ++++-
 net/hsr/hsr_forward.c | 22 +++++++++++++++-------
 2 files changed, 19 insertions(+), 8 deletions(-)

--
2.51.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-11-13 15:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-11 16:29 [PATCH net 0/2] hsr: Send correct HSRv0 supervision frames Felix Maurer
2025-11-11 16:29 ` [PATCH net 1/2] hsr: Fix supervision frame sending on HSRv0 Felix Maurer
2025-11-12 10:03   ` Sebastian Andrzej Siewior
2025-11-11 16:29 ` [PATCH net 2/2] hsr: Follow standard for HSRv0 supervision frames Felix Maurer
2025-11-12 10:24   ` Sebastian Andrzej Siewior
2025-11-12 11:01     ` Felix Maurer
2025-11-12 11:59       ` Sebastian Andrzej Siewior
2025-11-12  9:41 ` [PATCH net 0/2] hsr: Send correct " Hangbin Liu
2025-11-12 10:03 ` Sebastian Andrzej Siewior
2025-11-12 10:38   ` Felix Maurer
2025-11-13 15:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).