15 Jul, 2017

1 commit

  • Each text file under Documentation follows a different
    format. Some doesn't even have titles!

    Change its representation to follow the adopted standard,
    using ReST markups for it to be parseable by Sphinx:
    - promote document title one level;
    - use markups for authorship and put it at the beginning;
    - mark literal blocks;
    - adjust identation.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

28 Dec, 2016

1 commit


07 Dec, 2013

1 commit

  • Add a new check for CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS to reduce
    the number of or's used in the ether_addr_equal comparison to very
    slightly improve function performance.

    Simplify the ether_addr_equal_64bits implementation.
    Integrate and remove the zap_last_2bytes helper as it's now
    used only once.

    Remove the now unused compare_ether_addr function.

    Update the unaligned-memory-access documentation to remove the
    compare_ether_addr description and show how unaligned accesses
    could occur with ether_addr_equal.

    Signed-off-by: Joe Perches
    Signed-off-by: David S. Miller

    Joe Perches
     

26 Jul, 2008

1 commit

  • In many cases, especially in networking, it can be beneficial to know at
    compile time whether the architecture can do unaligned accesses efficiently.
    This patch introduces a new Kconfig symbol

    HAVE_EFFICIENT_UNALIGNED_ACCESS

    for that purpose and adds it to the powerpc and x86 architectures. Also add
    some documentation about alignment and networking, and especially one intended
    use of this symbol.

    Signed-off-by: Johannes Berg
    Acked-by: Sam Ravnborg
    Acked-by: Ingo Molnar [x86 architecture part]
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Berg
     

03 Apr, 2008

1 commit


07 Feb, 2008

1 commit

  • Here's a document I wrote after figuring out what unaligned memory access
    is all about. I've tried to cover the information I was looking for when
    trying to learn about this, without producing a hopelessly detailed/complex
    spew. I hope it is useful to others.

    Signed-off-by: Daniel Drake
    Cc: Rob Landley
    Cc: "Randy.Dunlap"
    Cc: Alan Cox
    Cc: Jan Engelhardt
    Cc: Johannes Berg
    Cc: Kyle McMartin
    Cc: Kyle Moffett
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Drake