Skip to content

RFC : VLAN netlink support try 2

Patrick McHardy netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10: Fix off-by-ones in VLAN ID checksnet/8021q/vlan.c+5 -52 replies
2/10: Convert name-based configuration functions to struct netdevice *net/8021q/vlan.c net/8021q/vlan.h net/8021q/vlan_dev.c+109 -1990 replies
3/10: Move some device intialization code to dev->init callbacknet/8021q/vlan.c+49 -490 replies
4/10: Move vlan_group allocation to seperate functionnet/8021q/vlan.c+41 -370 replies
5/10: Split up device checksnet/8021q/vlan.c+32 -240 replies
6/10: Move device registation to seperate functionnet/8021q/vlan.c+47 -360 replies
7/10: Return proper error codes in register_vlan_devicenet/8021q/vlan.c+14 -180 replies
8/10: Use 32 bit value for skb->priority mappinginclude/linux/if_vlan.h net/8021q/vlanproc.c+4 -40 replies
9/10: Keep track of number of QoS mappingsinclude/linux/if_vlan.h net/8021q/vlan_dev.c+24 -60 replies
10/10: Use rtnl_link APIinclude/linux/if_link.h net/8021q/Makefile net/8021q/vlan.c +2 more+261 -113 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC VLAN 00/10]: VLAN netlink support try 2

The last VLAN patchset was outdated, sorry about the mixup. These are the correct patches. The iproute patch I posted was correct, so no repost of that one.

 include/linux/if_link.h  |   25 ++
 include/linux/if_vlan.h  |    7 
 net/8021q/Makefile       |    2 
 net/8021q/vlan.c         |  537 +++++++++++++++++++++++------------------------
 net/8021q/vlan.h         |   21 +
 net/8021q/vlan_dev.c     |  170 +++++---------
 net/8021q/vlan_netlink.c |  209 ++++++++++++++++++
 net/8021q/vlanproc.c     |    4 
 8 files changed, 586 insertions(+), 389 deletions(-)

Patrick McHardy (10):
[VLAN]: Fix off-by-ones in VLAN ID checks
[VLAN]: Convert name-based configuration functions to struct netdevice * [VLAN]: Move some device intialization code to dev->init callback [VLAN]: Move vlan_group allocation to seperate function [VLAN]: Split up device checks
[VLAN]: Move device registation to seperate function [VLAN]: Return proper error codes in register_vlan_device [VLAN]: Use 32 bit value for skb->priority mapping
[VLAN]: Keep track of number of QoS mappings
[VLAN]: Use rtnl_link API