06 Aug, 2009

1 commit


05 Aug, 2009

2 commits


03 Aug, 2009

8 commits

  • Current neigh_periodic_timer() function is fired by timer IRQ, and
    scans one hash bucket each round (very litle work in fact)

    As we are supposed to scan whole hash table in 15 seconds, this means
    neigh_periodic_timer() can be fired very often. (depending on the number
    of concurrent hash entries we stored in this table)

    Converting this to a workqueue permits scanning whole table, minimizing
    icache pollution, and firing this work every 15 seconds, independantly
    of hash table size.

    This 15 seconds delay is not a hard number, as work is a deferrable one.

    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • Since pr_err and friends are used instead of printk there is no point
    in keeping IP_VS_ERR and friends. Furthermore make use of '__func__'
    instead of hard coded function names.

    Signed-off-by: Hannes Eder
    Acked-by: Simon Horman
    Signed-off-by: David S. Miller

    Hannes Eder
     
  • The eeprom read & write commands currently check the E2P_CMD_LOADED_ bit is
    set before allowing any operations. This prevents any reading or writing
    unless a correctly programmed EEPROM is installed.

    This patch removes the check, so it is possible to program blank EEPROMS
    via ethtool.

    Signed-off-by: Steve Glendinning
    Signed-off-by: David S. Miller

    Steve Glendinning
     
  • This renames away a variable clash:
    * ipv6_table[] is declared as a static global table;
    * ipv6_sysctl_net_init() uses ipv6_table to refer/destroy dynamic memory;
    * ipv6_sysctl_net_exit() also uses ipv6_table for the same purpose;
    * both the two last functions call kfree() on ipv6_table.

    Signed-off-by: Gerrit Renker
    Signed-off-by: David S. Miller

    Gerrit Renker
     
  • The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
    but is perhaps more readable.

    The semantic patch that makes this change is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @haskernel@
    @@

    #include

    @depends on haskernel@
    expression x,__divisor;
    @@

    - (((x) + ((__divisor) / 2)) / (__divisor))
    + DIV_ROUND_CLOSEST(x,__divisor)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: David S. Miller

    Julia Lawall
     
  • The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
    but is perhaps more readable.

    The semantic patch that makes this change is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @haskernel@
    @@

    #include

    @depends on haskernel@
    expression x,__divisor;
    @@

    - (((x) + ((__divisor) / 2)) / (__divisor))
    + DIV_ROUND_CLOSEST(x,__divisor)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: David S. Miller

    Julia Lawall
     
  • Modify control register settings to accommodate the bridge's max read
    requset size.

    Signed-off-by: Divy Le Ray
    Signed-off-by: David S. Miller

    Divy Le Ray
     
  • Fix a cut'n paste error in the AEL2020 twinax EDC file name

    Signed-off-by: Divy Le Ray
    Signed-off-by: David S. Miller

    Divy Le Ray
     

02 Aug, 2009

14 commits


31 Jul, 2009

15 commits