diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-08-25 07:35:44 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:48:26 +0200 |
commit | 23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e (patch) | |
tree | 4d095b4f0034af776172bcdbe3e283abd4dd5518 /net/atm/raw.c | |
parent | [XFRM] netlink: Inline attach_encap_tmpl(), attach_sec_ctx(), and attach_one_... (diff) | |
download | linux-23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e.tar.xz linux-23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e.zip |
[NET] ethernet: optimize memcpy and memset
The ethernet header management only needs to handle a fixed
size address (6 bytes). If the memcpy/memset are changed to
be passed a constant length, then compiler can optimize for
this case (and if it is smart eliminate string instructions).
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/raw.c')
0 files changed, 0 insertions, 0 deletions