The Linux Kernel
4.18.0
  • Linux kernel licensing rules
  • The Linux kernel user’s and administrator’s guide
  • The Linux kernel user-space API guide
  • Working with the kernel development community
  • Development tools for the kernel
  • How to write kernel documentation
  • Kernel Hacking Guides
  • Linux Tracing Technologies
  • Kernel Maintainer Handbook
  • The Linux driver implementer’s API guide
  • Core API Documentation
  • InfiniBand
  • Linux Media Subsystem Documentation
  • Linux Networking Documentation
  • The Linux Input Documentation
  • Linux GPU Driver Developer’s Guide
  • Security Documentation
  • Linux Sound Subsystem Documentation
  • Linux Kernel Crypto API
  • Linux Filesystems API
  • Linux Memory Management Documentation
  • BPF Documentation
  • Linux PCI Bus Subsystem
  • Assembler Annotations
  • SuperH Interfaces Guide
  • x86 architecture specifics
  • Korean translations
  • Chinese translations
  • Japanese translations
The Linux Kernel
  • Docs »
  • sja1105 devlink support
  • View page source

sja1105 devlink support¶

This document describes the devlink features implemented by the sja1105 device driver.

Parameters¶

Driver-specific parameters implemented¶
Name Type Mode Description
best_effort_vlan_filtering Boolean runtime

Allow plain ETH_P_8021Q headers to be used as DSA tags.

Benefits:

  • Can terminate untagged traffic over switch net devices even when enslaved to a bridge with vlan_filtering=1.
  • Can terminate VLAN-tagged traffic over switch net devices even when enslaved to a bridge with vlan_filtering=1, with some constraints (no more than 7 non-pvid VLANs per user port).
  • Can do QoS based on VLAN PCP and VLAN membership admission control for autonomously forwarded frames (regardless of whether they can be terminated on the CPU or not).

Drawbacks:

  • User cannot use VLANs in range 1024-3071. If the switch receives frames with such VIDs, it will misinterpret them as DSA tags.
  • Switch uses Shared VLAN Learning (FDB lookup uses only DMAC as key).
  • When VLANs span cross-chip topologies, the total number of permitted VLANs may be less than 7 per port, due to a maximum number of 32 VLAN retagging rules per switch.

© Copyright The kernel development community.

Built with Sphinx using a theme provided by Read the Docs.