[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1389112433.26646.28.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Tue, 07 Jan 2014 08:33:53 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Or Gerlitz <ogerlitz@...lanox.com>
Cc: hkchu@...gle.com, edumazet@...gle.com, herbert@...dor.apana.org.au,
netdev@...r.kernel.org, davem@...emloft.net, yanb@...lanox.com,
shlomop@...lanox.com
Subject: Re: [PATCH net-next V2 1/3] net: Add GRO support for UDP
encapsulating protocols
On Tue, 2014-01-07 at 17:29 +0200, Or Gerlitz wrote:
>
> +
> +#define MAX_UDP_PORT (1 << 16)
> +extern const struct net_offload __rcu *udp_offloads[MAX_UDP_PORT];
Thats 512 KB of memory.
This will greatly impact forwarding performance of UDP packets with
random ports, and will increase kernel memory size for embedded devices.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists