]> git.baikalelectronics.ru Git - kernel.git/commit
switchdev: add port vlan obj
authorScott Feldman <sfeldma@gmail.com>
Sun, 10 May 2015 16:47:53 +0000 (09:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 May 2015 22:43:53 +0000 (18:43 -0400)
commitbc00fc4d07d283126a034677d36d2940c47c006e
treeca3cfe8d396746a8ac897df94ac9fc12c3a2da60
parent8c0c62fc2d82d183148c6a9d78b9a39f38e58ca6
switchdev: add port vlan obj

VLAN obj has flags (PVID and untagged) as well as start and end vid ranges.
The switchdev driver can optimize programing the device using the ranges.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h