Re: [PATCH ipsec-next 04/11] xfrm: remove output indirection from xfrm_mode

2019-03-28 Thread Sabrina Dubroca
2019-03-28, 12:27:18 +0100, Florian Westphal wrote: > Sabrina Dubroca wrote: > > Hi Florian, > > > > 2019-03-27, 18:31:33 +0100, Florian Westphal wrote: > > > diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c > > > index 9333153bafda..01eb142ba6d0 100644 > > > --- a/net/xfrm/xfrm_outpu

Re: [PATCH ipsec-next 04/11] xfrm: remove output indirection from xfrm_mode

2019-03-28 Thread Florian Westphal
Sabrina Dubroca wrote: > Hi Florian, > > 2019-03-27, 18:31:33 +0100, Florian Westphal wrote: > > diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c > > index 9333153bafda..01eb142ba6d0 100644 > > --- a/net/xfrm/xfrm_output.c > > +++ b/net/xfrm/xfrm_output.c > [snip] > > +static int xfrm

Re: [PATCH ipsec-next 04/11] xfrm: remove output indirection from xfrm_mode

2019-03-28 Thread Sabrina Dubroca
Hi Florian, 2019-03-27, 18:31:33 +0100, Florian Westphal wrote: > diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c > index 9333153bafda..01eb142ba6d0 100644 > --- a/net/xfrm/xfrm_output.c > +++ b/net/xfrm/xfrm_output.c [snip] > +static int xfrm4_prepare_output(struct xfrm_state *x, str

[PATCH ipsec-next 04/11] xfrm: remove output indirection from xfrm_mode

2019-03-27 Thread Florian Westphal
Same is input indirection. Only exception: we need to export xfrm_outer_mode_output for pktgen. Increases size of vmlinux by about 163 byte: Before: textdata bss dec filename 15730208 6936948 4046908 26714064 vmlinux After: 15730311 6937008 4046908 26714227 vmlinux Sig