Thread (23 messages) 23 messages, 5 authors, 2017-11-13

Re: [PATCH v7 net-next 06/13] gtp: Change to use gro_cells

From: Eric Dumazet <hidden>
Date: 2017-10-28 01:00:04

On Fri, 2017-10-27 at 17:09 -0700, Tom Herbert wrote:
Call gro_cells_receive instead of netif_rx.
...
quoted hunk ↗ jump to hunk
 
 static void gtp_link_setup(struct net_device *dev)
 {
+	struct gtp_dev *gtp = netdev_priv(dev);
+
 	dev->netdev_ops		= &gtp_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(&gtp->gro_cells, dev);
 }
You forgot to remove this part.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help