Re: [PATCH iproute2/net-next] tc: flower: Add support for QinQ

2018-07-15 Thread David Ahern
On 6/30/18 4:01 AM, Jianbo Liu wrote: > To support matching on both outer and inner vlan headers, > we add new cvlan_id/cvlan_prio/cvlan_ethtype for inner vlan header. > > Example: > # tc filter add dev eth0 protocol 802.1ad parent : \ > flower vlan_id 1000 vlan_ethtype 802.1q \ >

[PATCH iproute2/net-next] tc: flower: Add support for QinQ

2018-06-30 Thread Jianbo Liu
To support matching on both outer and inner vlan headers, we add new cvlan_id/cvlan_prio/cvlan_ethtype for inner vlan header. Example: # tc filter add dev eth0 protocol 802.1ad parent : \ flower vlan_id 1000 vlan_ethtype 802.1q \ cvlan_id 100 cvlan_ethtype ipv4 \ action vlan po