On Fri, 2017-01-27 at 09:53 -0500, David Miller wrote: > From: Eric Dumazet <eric.duma...@gmail.com> > Date: Fri, 27 Jan 2017 06:46:38 -0800 > > > On Fri, 2017-01-27 at 08:19 +0100, Steffen Klassert wrote: > >> This patch adds a dummy network device so that we can > >> use gro_cells for IPsec GRO. With this, we handle IPsec > >> GRO with no impact on the generic networking code. > >> > >> Signed-off-by: Steffen Klassert <steffen.klass...@secunet.com> > >> --- > >> net/xfrm/xfrm_input.c | 12 +++++++++++- > >> 1 file changed, 11 insertions(+), 1 deletion(-) > > > > That is nice ;) > > I like it too. >
If XFRM makes use of gro_cells, it is time to move it in net/core, instead of inlining it. I can submit this trivial patch, of course. > I suspect we can do something similar for USB networking drivers. With some changes then, because gro_cells is per cpu at the moment, probably overkill for one USB networking driver.