Willem de Bruijn
e7246e122a
net-tc: extract skip classify bit from tc_verd
...
Packets sent by the IFB device skip subsequent tc classification.
A single bit governs this state. Move it out of tc_verd in
anticipation of removing that __u16 completely.
The new bitfield tc_skip_classify temporarily uses one bit of a
hole, until tc_verd is removed completely in a follow-up patch.
Remove the bit hole comment. It could be 2, 3, 4 or 5 bits long.
With that many options, little value in documenting it.
Introduce a helper function to deduplicate the logic in the two
sites that check this bit.
The field tc_skip_classify is set only in IFB on skbs cloned in
act_mirred, so original packet sources do not have to clear the
bit when reusing packets (notably, pktgen and octeon).
Signed-off-by: Willem de Bruijn <willemb@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-01-08 20:58:52 -05:00
..
2016-12-14 20:42:45 -08:00
2016-12-16 11:23:34 -08:00
2016-12-25 11:04:12 +01:00
2016-12-19 08:16:26 -08:00
2016-12-29 14:17:40 -05:00
2017-01-05 11:03:07 -05:00
2016-12-14 10:49:33 -08:00
2016-12-17 20:17:04 -08:00
2017-01-01 21:02:14 -05:00
2017-01-07 21:03:50 -05:00
2016-12-16 10:48:28 -08:00
2016-12-13 11:10:36 -08:00
2016-12-15 12:46:48 -08:00
2016-12-22 22:58:37 -05:00
2016-12-13 10:19:16 -08:00
2016-12-14 10:49:33 -08:00
2016-12-17 13:02:04 -07:00
2016-12-17 11:14:25 -05:00
2016-12-17 21:27:44 -05:00
2016-12-22 09:25:45 -08:00
2016-12-25 11:04:12 +01:00
2016-12-21 10:16:05 -08:00
2016-12-13 11:18:24 -08:00
2016-12-25 10:47:43 +01:00
2016-12-25 10:47:44 +01:00
2016-12-15 11:32:31 +01:00
2016-12-17 16:00:34 -08:00
2016-12-26 20:29:24 -08:00
2016-12-13 11:42:18 -08:00
2016-12-13 11:42:18 -08:00
2016-12-14 16:04:08 -08:00
2016-12-25 11:04:12 +01:00
2016-12-15 08:58:12 -02:00
2017-01-04 16:34:34 -05:00
2016-12-27 12:28:07 -05:00
2016-12-19 08:23:53 -08:00
2016-12-15 13:49:34 -08:00
2016-12-25 17:21:22 +01:00
2016-12-22 11:48:20 -07:00
2016-12-14 16:04:08 -08:00
2016-12-14 10:12:26 +01:00
2016-12-25 17:21:22 +01:00
2016-12-14 16:04:09 -08:00
2016-12-14 16:04:10 -08:00
2016-12-20 09:48:44 -08:00
2016-12-24 11:46:01 -08:00
2016-12-14 16:04:08 -08:00
2016-12-14 20:12:43 -08:00
2016-12-16 09:26:42 -08:00
2016-12-25 17:21:23 +01:00
2016-12-13 15:47:02 -08:00
2017-01-02 16:59:10 -05:00
2016-12-17 20:17:04 -08:00
2016-12-18 11:12:53 -08:00
2016-12-25 11:54:48 -08:00
2016-12-16 00:13:41 +02:00
2016-12-14 16:33:38 +01:00
2016-12-16 16:34:52 -05:00
2017-01-08 17:14:35 -05:00
2017-01-08 17:51:44 -05:00
2016-12-15 20:42:48 -05:00
2016-12-19 17:29:44 -05:00
2016-12-14 16:04:08 -08:00
2016-12-24 11:23:24 -08:00
2016-12-13 10:19:16 -08:00
2016-12-29 11:03:15 -08:00
2016-12-25 11:54:48 -08:00
2016-12-15 12:46:48 -08:00
2016-12-15 12:46:48 -08:00
2016-12-13 11:42:18 -08:00
2016-12-13 11:42:18 -08:00
2016-12-24 11:46:01 -08:00
2016-12-13 16:07:55 -08:00
2016-12-19 08:23:53 -08:00
2016-12-14 16:04:10 -08:00
2016-12-20 09:48:47 -08:00
2016-12-22 09:25:45 -08:00
2016-12-16 00:13:41 +02:00
2016-12-14 16:04:07 -08:00
2017-01-08 20:58:52 -05:00
2017-01-04 13:04:37 -05:00
2017-01-02 12:30:26 -05:00
2016-12-13 10:19:16 -08:00
2016-12-25 17:21:22 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-16 10:24:44 -08:00
2016-12-14 16:04:09 -08:00
2016-12-25 17:21:22 +01:00
2016-12-13 12:59:57 -08:00
2016-12-25 11:54:48 -08:00