1# ETH_XMC4XXX Ethernet driver configuration options 2 3# Copyright (c) 2023 SLB 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig ETH_XMC4XXX 7 bool "XMC4XXX Ethernet driver" 8 default y 9 depends on DT_HAS_INFINEON_XMC4XXX_ETHERNET_ENABLED 10 select PINCTRL 11 help 12 Enable XMC4XXX Ethernet driver. 13 14if ETH_XMC4XXX 15 16config ETH_XMC4XXX_TX_FRAME_POOL_SIZE 17 int "Number of TX frames in the pool size" 18 default 4 19 help 20 Number of TX frames which can be buffered in the driver. 21 22config ETH_XMC4XXX_NUM_TX_DMA_DESCRIPTORS 23 int "Number of TX DMA descriptors" 24 default 32 25 help 26 Number of TX DMA descriptors. Each descriptor stores the memory address of a 27 data fragment and its size. 28 29config ETH_XMC4XXX_NUM_RX_DMA_DESCRIPTORS 30 int "Number of RX DMA descriptors" 31 default 12 32 help 33 Number of RX DMA descriptors. Each descriptor stores the memory address of a 34 data fragment and its size. The data fragments are pre-allocated from the rx 35 network buffers (CONFIG_NET_BUF_RX_COUNT). When a frame is received, it is 36 forwarded to the network stack without copying the data. The buffers 37 in the descriptors are replaced by new pre-allocated buffers. 38 39config ETH_XMC4XXX_VLAN_HW_FILTER 40 bool "Hardware filter VLAN frames" 41 default y if NET_VLAN_COUNT=1 42 depends on NET_VLAN 43 help 44 Hardware filter VLAN frames in hardware. Only ethernet frames with 45 a tag configured using vlan_setup() call will be received. 46 The filtering can only be done on one vlan tag. If vlan_setup() is 47 called multiple times, the filtering will be done on the latest 48 tag. 49 50config PTP_CLOCK_XMC4XXX 51 bool "XMC4XXX PTP clock driver support" 52 default y 53 depends on PTP_CLOCK 54 help 55 Enable XMC4XXX PTP Clock support. 56 57endif # ETH_XMC4XXX 58