vlandev: support setting ingress/egress QoS mappings
authorPau Espin Pedrol <pespin.shar@gmail.com>
Sun, 17 May 2020 18:39:44 +0000 (20:39 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 21 May 2020 18:08:48 +0000 (20:08 +0200)
commit74e0222eeb9e62f4d5073a5b3d9208678782a198
tree7198184cf4410dd5d1a3f41a32782dafa4ea3037
parentcfccdc22ca6d8f28d70a2546a495c9ead4bbb765
vlandev: support setting ingress/egress QoS mappings

It allows setting mappings for instance this way:
"""
config device
  option name 'vlan41'
  option type '8021q'
  option vid '41'
  option ifname 'eth1'
  list   ingress_qos_mapping '1:2'
  list   ingress_qos_mapping '2:5'
  list   egress_qos_mapping '0:3'
"""

Signed-off-by: Pau Espin Pedrol <pespin.shar@gmail.com>
Tested-by: Pedro <pedrowrt@cas.cat>
system-linux.c
system.h
vlandev.c