Thread (13 messages) flat view 13 messages, 3 authors, 2014-01-09

Re: [PATCH net-next V3 3/3] net: Add GRO support for vxlan traffic

From: Eric Dumazet <hidden>
Date: 2014-01-08 22:09:28

On Wed, 2014-01-08 at 22:34 +0200, Or Gerlitz wrote:
+
+static int vxlan_gro_complete(struct sk_buff *skb, int nhoff)
+{
+	struct ethhdr *eh;
+	struct packet_offload *ptype;
+	__be16 type;
+	/* 22 = 8 bytes for the vlxan header + 14 bytes for the inner eth header */
+	int vxlan_len  = 22;


I am pretty sure this can use existing macros or sizeof(...)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help