flow_dissector: add support for ingress ifindex dissection
authorJiri Pirko <jiri@mellanox.com>
Wed, 19 Jun 2019 06:41:02 +0000 (09:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 14:09:21 +0000 (10:09 -0400)
commit82828b88f081a0084cd65f90a4a1d3652f5adb66
treeafc4e3e5b7572586a0176097f82106370ba7895b
parent39f5886032380e49119786b23274b38e9b3aa99c
flow_dissector: add support for ingress ifindex dissection

Add new key meta that contains ingress ifindex value and add a function
to dissect this from skb. The key and function is prepared to cover
other potential skb metadata values dissection.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
include/net/flow_dissector.h
net/core/flow_dissector.c