flow_dissector: Add support for HSRv0
Subsystems (2)
PATCH 1/1 flow_dissector: Add support for HSRv0
Commit bf08824a0f47 ("flow_dissector: Add support for HSR") added support for HSR within the flow dissector. However, it only works for HSR in version
1. Version 0 uses a different Ether Type. Add support for it.
--- net/core/flow_dissector.c | 1 + 1 file changed, 1 insertion(+)
net/core/flow_dissector.c +1 -0
@@ -1283,6 +1283,7 @@ bool __skb_flow_dissect(const struct net *net,break ; } +case htons (ETH_P_PRP ):case htons (ETH_P_HSR ): {struct hsr_tag *hdr, _hdr;
Signature · 1 line
2.30.2
Quoted 6 lines · Kurt Kanzenbach
Commit
bf08824a0f47("flow_dissector: Add support for HSR") added support for HSR within the flow dissector. However, it only works for HSR in version
1. Version 0 uses a different Ether Type. Add support for it.Reported-by Anthony Harivel <[email protected]>Signed-off-by Kurt Kanzenbach <[email protected]>
This observation came up as a result of the fact that HSRv0 is still in actual use, or just for correctness' sake?
Quoted 19 lines
--- net/core/flow_dissector.c | 1 + 1 file changed, 1 insertion(+)net/core/flow_dissector.c +1
-0@@ -1283,6 +1283,7 @@ bool __skb_flow_dissect(const struct net *net,break ; } +case htons (ETH_P_PRP ):case htons (ETH_P_HSR ): {struct hsr_tag *hdr, _hdr;Signature · 1 line
2.30.2
Quoted 10 lines · Vladimir Oltean
Quoted 6 lines · Kurt Kanzenbach
Commit
bf08824a0f47("flow_dissector: Add support for HSR") added support for HSR within the flow dissector. However, it only works for HSR in version
1. Version 0 uses a different Ether Type. Add support for it.Reported-by Anthony Harivel <[email protected]>Signed-off-by Kurt Kanzenbach <[email protected]>This observation came up as a result of the fact that HSRv0 is still in actual use, or just for correctness' sake?
It came up while testing the Linux HSR implementation.
Thanks,
Kurt
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Quoted 8 lines · On Thu, 10 Mar 2022 08:35:05 +0100 you wrote:
Commit
bf08824a0f47("flow_dissector: Add support for HSR") added support for HSR within the flow dissector. However, it only works for HSR in version
1. Version 0 uses a different Ether Type. Add support for it.Reported-by Anthony Harivel <[email protected]>Signed-off-by Kurt Kanzenbach <[email protected]>[...]
Here is the summary with links:
- [net-next] flow_dissector: Add support for HSRv0
https://git.kernel.org/netdev/net-next/c/f65e58440d4f
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html