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

2017-03-13 Thread David Miller
From: Thierry Du Tre Date: Fri, 10 Mar 2017 15:41:35 +0100 > --- a/include/uapi/linux/if_vlan.h > +++ b/include/uapi/linux/if_vlan.h > @@ -20,6 +20,8 @@ > enum vlan_ioctl_cmds { > ADD_VLAN_CMD, > DEL_VLAN_CMD, > + FLUSH_VLAN_INGRESS_PRIORITY_CMD, > +

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

2017-03-10 Thread Thierry Du Tre
When sending packets via a vlan device we can manipulate the priority bits in the vlan header (PCP) via a mapping based on tc class value. Similarly, when packets are received via a vlan device, the PCP value can be mapped onto a tc class value, which is available for iptables rules and tc