ETH Level 3 and 4 filters
I have a STM32H732 processor connected to a ethernet switch with port based VLAN support.
I use the processor to connect to two different interfaces which are separated in the switch.
I wanted to be able to access the same two TCP ports in the processor from both interfaces.
So I configured ETH_L3_FILTER_0 and ETH_L3_FILTER_1 with the two different IP-addresses used on the two interfaces
And the ETH_L4_FILTER_0 and ETH_L4_FILTER_1 with the two different ports.
But that did not work as I hoped.
It looks like the L3_FILTER_0 and L4_FILTER_0 are used as one filter. and FILTER_1 as another.
And maybe that is as intented but it is not super clear in the documentation.
I may have to add that I have found and read...
Is this correct or is there perhaps a way to use the L3 and L4 as separate filters so that I can get four different filters allowing two IPs and two Ports in any combination of ports and IP?
Best regards
