Re: [PATCH v2] VLAN, support ingress/egress priority map flushing

2017-03-13 Thread Thierry Du Tre
On 13-03-17 16:28, Eric Dumazet wrote: On Mon, 2017-03-13 at 15:36 +0100, Thierry Du Tre wrote: +void vlan_dev_flush_egress_priority(const struct net_device *dev) +{ + struct vlan_dev_priv *vlan = vlan_dev_priv(dev); + struct vlan_priority_tci_mapping *mp; + int i

[PATCH v2] VLAN, support ingress/egress priority map flushing

2017-03-13 Thread Thierry Du Tre
sed by vconfig or other applications. Signed-off-by: Thierry Du Tre <thie...@dtsystems.be> --- Changes in v2: - Move new vlan cmd values to end of enum list. include/uapi/linux/if_vlan.h | 4 +++- net/8021q/vlan.c | 16 net/8021q/vlan.h | 2 ++

[PATCH] vlan: support ingress/egress priority map flushing

2017-03-10 Thread Thierry Du Tre
sed by vconfig or other applications. Signed-off-by: Thierry Du Tre <thie...@dtsystems.be> --- include/uapi/linux/if_vlan.h | 2 ++ net/8021q/vlan.c | 16 net/8021q/vlan.h | 2 ++ net/8021q/vlan_dev.c | 23 +++ 4 files ch