[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1509152401.11887.40.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Fri, 27 Oct 2017 18:00:01 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Tom Herbert <tom@...ntonium.net>
Cc: davem@...emloft.net, pablo@...filter.org, laforge@...monks.org,
aschultz@...p.net, netdev@...r.kernel.org, rohit@...ntonium.net
Subject: Re: [PATCH v7 net-next 06/13] gtp: Change to use gro_cells
On Fri, 2017-10-27 at 17:09 -0700, Tom Herbert wrote:
> Call gro_cells_receive instead of netif_rx.
>
...
>
> static void gtp_link_setup(struct net_device *dev)
> {
> + struct gtp_dev *gtp = netdev_priv(dev);
> +
> dev->netdev_ops = >p_netdev_ops;
> dev->needs_free_netdev = true;
>
> @@ -630,6 +643,8 @@ static void gtp_link_setup(struct net_device *dev)
> sizeof(struct iphdr) +
> sizeof(struct udphdr) +
> sizeof(struct gtp0_header);
> +
> + gro_cells_init(>p->gro_cells, dev);
> }
You forgot to remove this part.
Powered by blists - more mailing lists