All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with queuing vlan tagged packets after migration from 3.16.0 to 4.9.0
@ 2018-12-29 12:52 Bartek Kois
  2018-12-30 18:53 ` Cong Wang
  2018-12-31 21:47 ` Jakub Kicinski
  0 siblings, 2 replies; 25+ messages in thread
From: Bartek Kois @ 2018-12-29 12:52 UTC (permalink / raw)
  To: netdev


Hi,
I`ve got problem while queuing with HFSC vlan tagged packets after 
migrating my tc scripts from Debian 8.2 (3.16.0-4-amd64) to Debian 9.5 
(4.9.0-6-amd64). tc filters added to eth1 do not classify correctly src 
and dst ip addresses anymore if they are encapsulated with vlan tag 
which wasn`t a problem previously. It works fine if I run them without 
vlan tagging oraz if the root device is a vlan (eg. tc filter add dev 
eth1.20). Could you please help me find out what has changed in kernel 
between those two versions and what is walkaround for that problem?

Example of my classification filters:

tc filter add dev eth1 parent 1:0 prio 4 protocol ip u32
tc filter add dev eth1 parent 1:0 prio 4 handle ${NETWORK_GROUP_HEX}: 
protocol ip u32 divisor 256
tc filter add dev eth1 protocol ip parent 1:0 prio 4 u32 ht 800:: match 
ip dst ${NETWORK_ADDRESS}/24 hashkey mask 0x000000ff at 16 link 
${NETWORK_GROUP_HEX}:
tc filter add dev eth1 parent 1:0 protocol ip prio 4 u32 ht 
${NETWORK_GROUP_HEX}:0x${ADDR_Q4_HEX} match ip dst $ADDR classid 
1:${MARK_NORMAL}


Best regards
Bartek Kois

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2019-01-18  4:56 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-29 12:52 Problem with queuing vlan tagged packets after migration from 3.16.0 to 4.9.0 Bartek Kois
2018-12-30 18:53 ` Cong Wang
2018-12-30 21:14   ` Bartek Kois
2018-12-31 18:13     ` Bartek Kois
2019-01-01 19:33       ` Cong Wang
2019-01-01 19:46         ` Bartek Kois
2019-01-03  3:30           ` Cong Wang
2019-01-03 15:25             ` Bartek Kois
2019-01-03 20:44               ` Cong Wang
2019-01-04 18:11                 ` Bartek Kois
2019-01-05  5:03                   ` Cong Wang
2019-01-06 14:44                     ` Jamal Hadi Salim
2019-01-10 13:45                       ` Simon Horman
2019-01-12 12:12                         ` Jamal Hadi Salim
2019-01-13 18:22                           ` Cong Wang
2019-01-15 15:09                             ` Jamal Hadi Salim
2019-01-15 18:19                               ` Cong Wang
2019-01-16 14:13                                 ` Jamal Hadi Salim
2019-01-14  8:12                           ` Simon Horman
2019-01-15 15:16                             ` Jamal Hadi Salim
2019-01-18  4:32                       ` Eric W. Biederman
2019-01-03 21:49               ` Anton Danilov
2019-01-04  7:07                 ` Bartek Kois
2018-12-31 21:47 ` Jakub Kicinski
2018-12-31 22:12   ` Bartek Kois

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.