net-tc: convert tc_verd to integer bitfields
authorWillem de Bruijn <willemb@google.com>
Sat, 7 Jan 2017 22:06:36 +0000 (17:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 01:58:52 +0000 (20:58 -0500)
commita5135bcfba7345031df45e02cd150a45add47cf8
tree11e201bd54742af84404e74007a9408f14b5aa0f
parente7246e122aaa99ebbb8ad7da80f35a20577bd8af
net-tc: convert tc_verd to integer bitfields

Extract the remaining two fields from tc_verd and remove the __u16
completely. TC_AT and TC_FROM are converted to equivalent two-bit
integer fields tc_at and tc_from. Where possible, use existing
helper skb_at_tc_ingress when reading tc_at. Introduce helper
skb_reset_tc to clear fields.

Not documenting tc_from and tc_at, because they will be replaced
with single bit fields in follow-on patches.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c
drivers/staging/octeon/ethernet-tx.c
include/linux/skbuff.h
include/net/sch_generic.h
include/uapi/linux/pkt_cls.h
net/core/dev.c
net/core/pktgen.c
net/core/skbuff.c
net/sched/act_ife.c
net/sched/act_mirred.c
net/sched/sch_netem.c