:orphan: .. title:: ETH_NATIVE_POSIX_INTERFACE_COUNT .. option:: CONFIG_ETH_NATIVE_POSIX_INTERFACE_COUNT *Number of network interfaces created* Type: ``int`` Help ==== By default only one network interface is created. It is possible to create multiple interfaces in certain use cases. For example if multiple ports are defined in gPTP, then multiple network interfaces must be created here. Direct dependencies =================== \ :option:`ETH_NATIVE_POSIX ` && \ :option:`NET_L2_ETHERNET ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - \ :option:`NET_GPTP_NUM_PORTS ` if \ :option:`NET_GPTP ` - 1 Kconfig definition ================== .. highlight:: kconfig At ``drivers/ethernet/Kconfig.native_posix:68`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:20`` → ``drivers/ethernet/Kconfig:54`` Menu path: (Top) → Device Drivers → Ethernet Drivers → Native Posix Ethernet driver .. parsed-literal:: config ETH_NATIVE_POSIX_INTERFACE_COUNT int "Number of network interfaces created" range 1 32 default \ :option:`NET_GPTP_NUM_PORTS ` if \ :option:`NET_GPTP ` default 1 depends on \ :option:`ETH_NATIVE_POSIX ` && \ :option:`NET_L2_ETHERNET ` help By default only one network interface is created. It is possible to create multiple interfaces in certain use cases. For example if multiple ports are defined in gPTP, then multiple network interfaces must be created here. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*