:orphan: .. title:: CONFIG_ETH_NATIVE_POSIX_INTERFACE_COUNT .. kconfig:: CONFIG_ETH_NATIVE_POSIX_INTERFACE_COUNT CONFIG_ETH_NATIVE_POSIX_INTERFACE_COUNT ####################################### *Number of network interfaces created* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`ETH_NATIVE_POSIX ` && \ :kconfig:`NET_L2_ETHERNET ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - \ :kconfig:`NET_GPTP_NUM_PORTS ` if \ :kconfig:`NET_GPTP ` - 1 Kconfig definition ================== At ``/ethernet/Kconfig.native_posix:68`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:20`` → ``/ethernet/Kconfig:54`` Menu path: (Top) → Device Drivers → Ethernet Drivers → Native Posix Ethernet driver .. code-block:: kconfig config ETH_NATIVE_POSIX_INTERFACE_COUNT int "Number of network interfaces created" range 1 32 default NET_GPTP_NUM_PORTS if NET_GPTP default 1 depends on ETH_NATIVE_POSIX && 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.)*