diff options
author | 2021-03-19 01:22:04 +0800 | |
---|---|---|
committer | 2021-03-18 14:17:51 -0700 | |
commit | 0e039f5cf86ce2fcb62077a163e7ff3d7b7b7cf3 (patch) | |
tree | 118cf583a33ab2cdc0a727ab27a99780a2cdca70 /drivers/net/dsa | |
parent | net: stmmac: restructure tc implementation for RX VLAN Priority steering (diff) | |
download | linux-dev-0e039f5cf86ce2fcb62077a163e7ff3d7b7b7cf3.tar.xz linux-dev-0e039f5cf86ce2fcb62077a163e7ff3d7b7b7cf3.zip |
net: stmmac: add RX frame steering based on VLAN priority in tc flower
We extend tc flower to support configuration of VLAN priority-based RX
frame steering hardware offloading.
To map VLAN <PCP> to Traffic Class <TC>:
$ tc filter add dev <IFNAME> parent ffff: protocol 802.1Q flower \
vlan_prio <PCP> hw_tc <TC>
Note: <TC> < N whereby "tc qdisc ... num_tc N ..."
To delete all tc flower configurations:
$ tc qdisc delete dev <IFNAME> ingress
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions