commit | 23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@linux-foundation.org> | Fri Aug 24 22:35:44 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:48:26 2007 -0700 |
tree | 4d095b4f0034af776172bcdbe3e283abd4dd5518 | |
parent | fd21150a0fe10c504160db359a4eb425576f6e7d [diff] |
[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>