summaryrefslogtreecommitdiffstats
path: root/net/ax25
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-08-24 22:35:44 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:48:26 -0700
commit23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e (patch)
tree4d095b4f0034af776172bcdbe3e283abd4dd5518 /net/ax25
parentfd21150a0fe10c504160db359a4eb425576f6e7d (diff)
downloadop-kernel-dev-23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e.zip
op-kernel-dev-23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e.tar.gz
[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/ax25')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud