Skip to content

RFC : VLAN netlink support

Patrick McHardy netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8: Move device lookup to ioctl handlernet/8021q/vlan.c net/8021q/vlan.h net/8021q/vlan_dev.c+109 -1950 replies
2/8: Remove unregister_vlan_dev wrappernet/8021q/vlan.c+48 -920 replies
3/8: Add device init callbacknet/8021q/vlan.c+52 -510 replies
4/8: Move vlan_group allocation to seperate functionnet/8021q/vlan.c+41 -370 replies
5/8: Split up device creationnet/8021q/vlan.c net/8021q/vlan.h+100 -1000 replies
6/8: Use 32 bit value for skb->priority mappinginclude/linux/if_vlan.h net/8021q/vlanproc.c+4 -40 replies
7/8: Keep track of number of QoS mappingsinclude/linux/if_vlan.h net/8021q/vlan_dev.c+25 -60 replies
8/8: Use rtnl_link APIinclude/linux/if_link.h include/linux/rtnetlink.h net/8021q/Makefile +3 more+248 -140 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/08]: VLAN netlink support

These patches convert VLAN to the rtnl_link API as a more complex example. The patches need some more work, not all VLAN features are supported yet.

 include/linux/if_link.h   |   25 +
 include/linux/if_vlan.h   |    8 
 include/linux/rtnetlink.h |    3 
 net/8021q/Makefile        |    2 
 net/8021q/vlan.c          |  698 +++++++++++++++++++++-------------------------
 net/8021q/vlan.h          |   22 +
 net/8021q/vlan_dev.c      |  170 +++--------
 net/8021q/vlan_netlink.c  |  194 ++++++++++++
 net/8021q/vlanproc.c      |    4 
 9 files changed, 627 insertions(+), 499 deletions(-)

Patrick McHardy (8):
[VLAN]: Move device lookup to ioctl handler [VLAN]: Remove unregister_vlan_dev wrapper [VLAN]: Add device init callback
[VLAN]: Move vlan_group allocation to seperate function [VLAN]: Split up device creation
[VLAN]: Use 32 bit value for skb->priority mapping [VLAN]: Keep track of number of QoS mappings [VLAN]: Use rtnl_link API