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
ETH_NATIVE_POSIX
&& NET_L2_ETHERNET
(Includes any dependencies from ifs and menus.)
Defaults
Kconfig definition
At <Zephyr>/drivers/ethernet/Kconfig.native_posix:68
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:42
→ <Zephyr>/drivers/Kconfig:20
→ <Zephyr>/drivers/ethernet/Kconfig:55
Menu path: (Top) → Device Drivers → Ethernet Drivers → Native Posix Ethernet driver
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.)