intel / zephyr.js

JavaScript* Runtime for Zephyr* OS
Other
180 stars 64 forks source link

[ocf] Fix OCF resources not discoverable on FRDM-K64F #1886

Open jimmy-huang opened 6 years ago

jimmy-huang commented 6 years ago

This patch fixes the issue that multicast discovery messages cannot be routed to the server after Zephyr update 1.11 with IPV6, but turning on promiscuous mode resolves this issue.

Fixes #1885

Signed-off-by: Jimmy Huang jimmy.huang@intel.com

grgustaf commented 6 years ago

See if the solution from #1881 would work for this too... (see discussion in #1842 where @pfalcon showed the right way to solve it).

jimmy-huang commented 6 years ago

@grgustaf Yeah, that solution didn't work, in fact, ocf already sets CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4, and I tried increasing it with no success either, until I turned on promiscuous mode, then it worked, that's why I am hoping @pfalcon might know the real answer here.

pfalcon commented 6 years ago

@pfalcon might know the real answer here.

I don't know the exact answer.

CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4, and I tried increasing it with no success either

To what value did you increase it? How many multicast addresses does OCF require?

jimmy-huang commented 6 years ago

@pfalcon I've tried ranges from 4 up to 8, I believe ocf only requires 1 multicast addr for the discovery.