Home
last modified time | relevance | path

Searched hist:"303 c5fab" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/xfrm/
H A Dxfrm_device.c303c5fab Fri Mar 29 15:16:26 CDT 2019 Florian Westphal <fw@strlen.de> xfrm: remove xmit indirection from xfrm_mode

There are only two versions (tunnel and transport). The ip/ipv6 versions
are only differ in sizeof(iphdr) vs ipv6hdr.

Place this in the core and use x->outer_mode->encap type to call the
correct adjustment helper.

Before:
text data bss dec filename
15730311 6937008 4046908 26714227 vmlinux

After:
15730428 6937008 4046908 26714344 vmlinux

(about 117 byte increase)

v2: use family from x->outer_mode, not inner

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
303c5fab Fri Mar 29 15:16:26 CDT 2019 Florian Westphal <fw@strlen.de> xfrm: remove xmit indirection from xfrm_mode

There are only two versions (tunnel and transport). The ip/ipv6 versions
are only differ in sizeof(iphdr) vs ipv6hdr.

Place this in the core and use x->outer_mode->encap type to call the
correct adjustment helper.

Before:
text data bss dec filename
15730311 6937008 4046908 26714227 vmlinux

After:
15730428 6937008 4046908 26714344 vmlinux

(about 117 byte increase)

v2: use family from x->outer_mode, not inner

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
/openbmc/linux/include/net/
H A Dxfrm.h303c5fab Fri Mar 29 15:16:26 CDT 2019 Florian Westphal <fw@strlen.de> xfrm: remove xmit indirection from xfrm_mode

There are only two versions (tunnel and transport). The ip/ipv6 versions
are only differ in sizeof(iphdr) vs ipv6hdr.

Place this in the core and use x->outer_mode->encap type to call the
correct adjustment helper.

Before:
text data bss dec filename
15730311 6937008 4046908 26714227 vmlinux

After:
15730428 6937008 4046908 26714344 vmlinux

(about 117 byte increase)

v2: use family from x->outer_mode, not inner

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
303c5fab Fri Mar 29 15:16:26 CDT 2019 Florian Westphal <fw@strlen.de> xfrm: remove xmit indirection from xfrm_mode

There are only two versions (tunnel and transport). The ip/ipv6 versions
are only differ in sizeof(iphdr) vs ipv6hdr.

Place this in the core and use x->outer_mode->encap type to call the
correct adjustment helper.

Before:
text data bss dec filename
15730311 6937008 4046908 26714227 vmlinux

After:
15730428 6937008 4046908 26714344 vmlinux

(about 117 byte increase)

v2: use family from x->outer_mode, not inner

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>