CONFIG_ETH_SAM_GMAC_NBUF_DATA_COUNT:

Number of network data buffers that will be permanently allocated by the Ethernet driver. These data buffers are used in receive path. They are pre-alocated by the driver and made available to the GMAC module to be filled in with incoming data. Their number has to be large enough to fit at least one complete Ethernet frame. SAM ETH driver will always allocate that amount of buffers for itself thus reducing the NET_NBUF_DATA_COUNT which is a total amount of data buffers used by the whole networking stack. One has to ensure that NET_NBUF_DATA_COUNT is large enough to fit at least two ethernet frames: one being received by the GMAC module and the other being processed by the higer layer networking stack.

Symbol:

ETH_SAM_GMAC_NBUF_DATA_COUNT

Type:

int

Value:

“”

User value:

(no user value)

Visibility:

“n”

Is choice item:

false

Is defined:

true

Is from env.:

false

Is special:

false

Prompts:
  • “Network data buffers pre-allocated by the SAM ETH driver”
Default values:
  • 12 (value: “n”)
  • Condition: (none)
Selects:

(no selects)

Reverse (select-related) dependencies:
 

(no reverse dependencies)

Additional dependencies from enclosing menus and ifs:
 

ETH_SAM_GMAC (value: “n”)

Locations:
  • ../drivers/ethernet/Kconfig.sam_gmac:23