~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/networking/tc-queue-filters.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 .. SPDX-License-Identifier: GPL-2.0
  2 
  3 =========================
  4 TC queue based filtering
  5 =========================
  6 
  7 TC can be used for directing traffic to either a set of queues or
  8 to a single queue on both the transmit and receive side.
  9 
 10 On the transmit side:
 11 
 12 1) TC filter directing traffic to a set of queues is achieved
 13    using the action skbedit priority for Tx priority selection,
 14    the priority maps to a traffic class (set of queues) when
 15    the queue-sets are configured using mqprio.
 16 
 17 2) TC filter directs traffic to a transmit queue with the action
 18    skbedit queue_mapping $tx_qid. The action skbedit queue_mapping
 19    for transmit queue is executed in software only and cannot be
 20    offloaded.
 21 
 22 Likewise, on the receive side, the two filters for selecting set of
 23 queues and/or a single queue are supported as below:
 24 
 25 1) TC flower filter directs incoming traffic to a set of queues using
 26    the 'hw_tc' option.
 27    hw_tc $TCID - Specify a hardware traffic class to pass matching
 28    packets on to. TCID is in the range 0 through 15.
 29 
 30 2) TC filter with action skbedit queue_mapping $rx_qid selects a
 31    receive queue. The action skbedit queue_mapping for receive queue
 32    is supported only in hardware. Multiple filters may compete in
 33    the hardware for queue selection. In such case, the hardware
 34    pipeline resolves conflicts based on priority. On Intel E810
 35    devices, TC filter directing traffic to a queue have higher
 36    priority over flow director filter assigning a queue. The hash
 37    filter has lowest priority.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php