cls_flower: add support for matching MPLS fields (v2)
authorBenjamin LaHaise <benjamin.lahaise@netronome.com>
Sat, 22 Apr 2017 20:52:47 +0000 (16:52 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 18:30:46 +0000 (14:30 -0400)
commita577d8f793ff2fd514915686079e3c09bcf0df11
tree61d9ed1595b06f4897e17bddb1bf4ee1df95d6c3
parent029c1ecbb2429cf08c7bd2de81e929f81feea914
cls_flower: add support for matching MPLS fields (v2)

Add support to the tc flower classifier to match based on fields in MPLS
labels (TTL, Bottom of Stack, TC field, Label).

Signed-off-by: Benjamin LaHaise <benjamin.lahaise@netronome.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Simon Horman <simon.horman@netronome.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Hadar Hen Zion <hadarh@mellanox.com>
Cc: Gao Feng <fgao@ikuai8.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_cls.h
net/sched/cls_flower.c