]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9859d71c88ce8b1432bcb4038063d5036a644162
treeafc4e3e5b7572586a0176097f82106370ba7895b
parent086092f73a47d3102840762b12a48b2a7a5a3ef2
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