[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111129.132310.605559828840149508.davem@davemloft.net>
Date: Tue, 29 Nov 2011 13:23:10 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] flow_dissector: use a 64bit load/store
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 29 Nov 2011 07:30:35 +0100
> [PATCH net-next] flow_dissector: use a 64bit load/store
>
> gcc compiler is smart enough to use a single load/store if we
> memcpy(dptr, sptr, 8) on x86_64, regardless of
> CONFIG_CC_OPTIMIZE_FOR_SIZE
>
> In IP header, daddr immediately follows saddr, this wont change in the
> future. We only need to make sure our flow_keys (src,dst) fields wont
> break the rule.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
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