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;
+
+
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;
> +
> + for (i = 0; i <
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