CONFIG_NET_TC_RX_COUNT

How many Rx traffic classes to have for each network device

Type: int

Help

Define how many Rx traffic classes (queues) the system should have when receiving a network packet. The network packet priority can then be mapped to this traffic class so that higher prioritized packets can be processed before lower prioritized ones. Each queue is handled by a separate thread which will need RAM for stack space. Only increase the value from 1 if you really need this feature. The default value is 1 which means that all the network traffic is handled equally. In this implementation, the higher traffic class value corresponds to lower thread priority.

Direct dependencies

!NET_RAW_MODE && NETWORKING

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/net/ip/Kconfig:58

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:22subsys/net/Kconfig:91

Menu path: (top menu) → Networking → IP stack

config NET_TC_RX_COUNT
    int
    prompt "How many Rx traffic classes to have for each network device" if !NET_RAW_MODE && NETWORKING
    range 1 8 if !NET_RAW_MODE && NETWORKING
    default 1 if !NET_RAW_MODE && NETWORKING
    depends on !NET_RAW_MODE && NETWORKING
    help
      Define how many Rx traffic classes (queues) the system should have
      when receiving a network packet. The network packet priority can then
      be mapped to this traffic class so that higher prioritized packets
      can be processed before lower prioritized ones. Each queue is handled
      by a separate thread which will need RAM for stack space.
      Only increase the value from 1 if you really need this feature.
      The default value is 1 which means that all the network traffic is
      handled equally. In this implementation, the higher traffic class
      value corresponds to lower thread priority.

(Definitions include propagated dependencies, including from if’s and menus.)