Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: net: sockets: echo_service: Use ZVFS default settings #83340

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mlasch
Copy link
Contributor

@mlasch mlasch commented Dec 23, 2024

Summary: Remove custom ZVFS Kconfig settings in favor of defaults.

This sample works without increasing ZVFS_OPEN_MAX and ZVFS_POLL_MAX to some arbitrary number. This also removes a duplicate entry for ZVFS_OPEN_MAX.

ZVFS_OPEN_MAX already defaults to a reasonably large value of 16 if POSIX_API is enabled, which is the case for the echo_service sample.

This was tested with a native_sim/native/64 and qemu_x86/atom build and the telnet command from the readme and logging enabled. With the defaults settings for ZVFS_OPEN_MAX and ZVFS_POLL_MAX no errors are logged. Errors only occur when ZVFS_POLL_MAX is set to 2.

This sample works without increasing ZVFS_OPEN_MAX and ZVFS_POLL_MAX to
some arbitrary number. This also removes a duplicate entry for
ZVFS_OPEN_MAX.

ZVFS_OPEN_MAX already defaults to a reasonably large value of 16 if
POSIX_API is enabled, which is the case for the echo_service sample.

Signed-off-by: Marc Lasch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants