]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
net: Introduce ife encapsulation module
authorYotam Gigi <yotamg@mellanox.com>
Wed, 1 Feb 2017 13:30:02 +0000 (15:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 20:16:45 +0000 (15:16 -0500)
commit1ce8460496c05379c66edc178c3c55ca4e953044
treeb20cd3585da85f00946feb48549d5cdc7c87e2b5
parent1d5e7c859e81a66674d194c346119d154d31e9dc
net: Introduce ife encapsulation module

This module is responsible for the ife encapsulation protocol
encode/decode logics. That module can:
 - ife_encode: encode skb and reserve space for the ife meta header
 - ife_decode: decode skb and extract the meta header size
 - ife_tlv_meta_encode - encodes one tlv entry into the reserved ife
   header space.
 - ife_tlv_meta_decode - decodes one tlv entry from the packet
 - ife_tlv_meta_next - advance to the next tlv

Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
include/net/ife.h [new file with mode: 0644]
include/uapi/linux/Kbuild
include/uapi/linux/ife.h [new file with mode: 0644]
net/Kconfig
net/Makefile
net/ife/Kconfig [new file with mode: 0644]
net/ife/Makefile [new file with mode: 0644]
net/ife/ife.c [new file with mode: 0644]